On 2/3/24 04:52, Ivor Wanders wrote:
drivers/hwmon/surface_fan.c:22:9: warning: no previous prototype for 'surface_fan_hwmon_is_visible' [-Wmissing-prototypes]
22 | umode_t surface_fan_hwmon_is_visible(const void *drvdata,
I tried reproducing this, but I think this issue is already fixed in the
most recent hwmon-next?
The function should've been marked `static`. It wasn't in the original v5
patch, but the current commit in the tree (216d66aa89f9fc882) already marks
the function static, resolving the issue.
Yes, I already fixed this up.
Guenter