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]

 



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






[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