Web2 feb. 2024 · The HWMON_CHANNEL_INFO macro is not available on older kernels. I have pushed new commit 5d68cd7 that should fix it. @akw28888 can you try it? WebStatically allocated array of pointed to hwmon_channel_info can be made const for safety. Signed-off-by: Krzysztof Kozlowski
[PATCH 60/68] hwmon: sy7636a: constify pointers to hwmon_channel_info …
Web6 apr. 2024 · The HWMON_CHANNEL_INFO() macro can and should be used when possible. With this macro, the above example can be simplified to - static const struct … Web6 apr. 2024 · The first patch constifies the hwmon_channel_info pointers in the core, so all the drivers can be updated - all patches here depend on the first one. If the approach is … caremed ridgeland
[PATCH] vdpa: solidrun: constify pointers to hwmon_channel_info
Web10 apr. 2024 · *PATCH] vdpa: solidrun: constify pointers to hwmon_channel_info @ 2024-04-07 15:01 Krzysztof Kozlowski 2024-04-07 15:03 ` Michael S. Tsirkin ` (2 more replies) 0 siblings, 3 replies; 9+ messages in thread From: Krzysztof Kozlowski @ 2024-04-07 15:01 UTC (permalink / raw) To: Alvaro Karsz, Michael S. Tsirkin, Jason Wang, virtualization, … Web7 apr. 2024 · Re: [PATCH] vdpa: solidrun: constify pointers to hwmon_channel_info. * Re: [PATCH] vdpa: solidrun: constify pointers to hwmon_channel_info [not found] < [email protected] > @ 2024-04-07 16:57 ` kernel test robot 2024-04-07 17:18 ` kernel test robot 1 sibling, 0 replies; 3+ messages in thread … Web*PATCH] vdpa: solidrun: constify pointers to hwmon_channel_info @ 2024-04-07 15:01 Krzysztof Kozlowski 2024-04-07 15:03 ` Michael S. Tsirkin ` (2 more replies) 0 siblings, 3 … brookstone laser projection keyboard