You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As far as I can see nsec_to_clock_t is only used in driver/main.c, so maybe it would be better to move it there and make it static. Alternatively conjure up a prototype in some common header. As it turns out it's in <linux/jiffies.h> already.
How to reproduce it
Should reproduce with any build using -Wmissing-prototypes.
Expected behaviour
No warnings.
Environment
OS:
Gentoo
Kernel:
Linux 6.11.6-rc
Installation method:
Build from source package (Gentoo ebuild).
Additional context
It seems I missed this in the previous release cycle - sorry!
The text was updated successfully, but these errors were encountered:
Describe the bug
NOT a bug, just a warning I caught which might turn into a build error depending on how the compiler feels on a particular day or config:
As far as I can see
nsec_to_clock_t
is only used in driver/main.c, so maybe it would be better to move it there and make it static.Alternatively conjure up a prototype in some common header.As it turns out it's in<linux/jiffies.h>
already.How to reproduce it
Should reproduce with any build using -Wmissing-prototypes.
Expected behaviour
No warnings.
Environment
Gentoo
Linux 6.11.6-rc
Build from source package (Gentoo ebuild).
Additional context
It seems I missed this in the previous release cycle - sorry!
The text was updated successfully, but these errors were encountered: