public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Ammar Faizi <ammarfaizi2@gnuweeb.org>
To: Linus Torvalds <torvalds@linux-foundation.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: Linux 5.19-rc1
Date: Mon, 6 Jun 2022 18:51:02 +0700	[thread overview]
Message-ID: <ff7406ea-1fc5-515e-2e14-f1ce2587cd69@gnuweeb.org> (raw)
In-Reply-To: <CAHk-=wgZt-YDSKfdyES2p6A_KJoG8DwQ0mb9CeS8jZYp+0Y2Rw@mail.gmail.com>

On 6/6/22 7:42 AM, Linus Torvalds wrote:
> So hey, let's start calming things down and testing this all.

Doesn't compile with clang 15, the fix is there:

https://lore.kernel.org/lkml/20220523150521.2947108-1-nathan@kernel.org/

Error:
```
ammarfaizi2@integral2:~/work/linux.work$ git log -n 1

commit f2906aa863381afb0015a9eb7fefad885d4e5a56 (HEAD -> master, tag: v5.19-rc1, @torvalds/linux/master)
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date:   Sun Jun 5 17:18:54 2022 -0700

     Linux 5.19-rc1
ammarfaizi2@integral2:~/work/linux.work$
ammarfaizi2@integral2:~/work/linux.work$ taskset -c 0-7 make -j8 && taskset -c 0-7 make modules -j8
   DESCEND objtool
   CALL    scripts/atomic/check-atomics.sh
   CALL    scripts/checksyscalls.sh
   CHK     include/generated/compile.h
   CC [M]  drivers/misc/cardreader/rts5261.o
   CC [M]  drivers/misc/altera-stapl/altera-lpt.o
   CC [M]  drivers/misc/altera-stapl/altera-jtag.o
   CC [M]  drivers/misc/altera-stapl/altera-comp.o
drivers/misc/cardreader/rts5261.c:406:13: error: variable 'setting_reg2' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized]
         } else if (efuse_valid == 0) {
                    ^~~~~~~~~~~~~~~~
drivers/misc/cardreader/rts5261.c:412:30: note: uninitialized use occurs here
         pci_read_config_dword(pdev, setting_reg2, &lval2);
                                     ^~~~~~~~~~~~
drivers/misc/cardreader/rts5261.c:406:9: note: remove the 'if' if its condition is always true
         } else if (efuse_valid == 0) {
                ^~~~~~~~~~~~~~~~~~~~~~
drivers/misc/cardreader/rts5261.c:364:32: note: initialize the variable 'setting_reg2' to silence this warning
         u16 setting_reg1, setting_reg2;
                                       ^
                                        = 0
1 error generated.
make[3]: *** [scripts/Makefile.build:249: drivers/misc/cardreader/rts5261.o] Error 1
make[2]: *** [scripts/Makefile.build:466: drivers/misc/cardreader] Error 2
make[2]: *** Waiting for unfinished jobs....

```

-- 
Ammar Faizi

  parent reply	other threads:[~2022-06-06 11:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-06  0:42 Linux 5.19-rc1 Linus Torvalds
2022-06-06  8:22 ` Build regressions/improvements in v5.19-rc1 Geert Uytterhoeven
2022-06-06  9:08   ` Geert Uytterhoeven
2022-06-06  8:36 ` Linux 5.19-rc1 Sudip Mukherjee
2022-06-06 11:51 ` Ammar Faizi [this message]
2022-06-06 15:39 ` Guenter Roeck

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ff7406ea-1fc5-515e-2e14-f1ce2587cd69@gnuweeb.org \
    --to=ammarfaizi2@gnuweeb.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox