lkml.org 
[lkml]   [2022]   [Aug]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [GIT PULL] hwmon updates for v5.20
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@kernel.org> 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

\
 
 \ /
  Last update: 2022-08-08 07:35    [W:0.063 / U:0.264 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site