Re: [groeck-staging:hwmon-next 13/34] drivers/hwmon/surface_fan.c:22:9: warning: no previous prototype for 'surface_fan_hwmon_is_visible'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> >> 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.

~Ivor




[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux