On Tue, Jul 11, 2017 at 8:10 PM, Guenter Roeck <[email protected]> wrote:
>
> The hwmon warnings are all about supporting no more than 9,999 sensors
> (applesmc) to 999,999,999 sensors (scpi) of a given type.
Yeah, I think that's enough.
> Easy "fix" would be to replace snprintf() with scnprintf(), presumably
> because gcc doesn't know about scnprintf().
If that's the case, I'd prefer just turning off the format-truncation
(but not overflow) warning with '-Wno-format-trunction".
But maybe we can at least start it on a subsystem-by-subsystem basis
after people have verified their own subsusystem?
Linus