Re: [GIT PULL] hwmon updates for v5.20

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

 



On Sun, Aug 07, 2022 at 09:45:08AM -0700, Linus Torvalds wrote:
> Added Kees - this *looks* like it's a compiler bug.
> 
> On Sun, Aug 7, 2022 at 3:07 AM Ingo Molnar <mingo@xxxxxxxxxx> wrote:
> >
> > Just a quick build regression report, i386 allmodconfig fails to build due
> > to a 'string overread' compiler warning in drivers/hwmon/lm90.o:
> 
> I tried to see it here with gcc-12.1, but it's not triggering, so it's
> presumably compiler-dependent.
> 

I don't see it with gcc 11.3. either, but I do indeed see the problem
with gcc 11.2.

The problem is in lm90_detect_nuvoton() which returns ERR_PTR(-ENODEV)
instead of NULL on error. I'll send a patch.

Thanks, and sorry for the problem.

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