Content-Type: multipart/mixed; boundary="===============3912030517314535066==" MIME-Version: 1.0 From: Niklas Schnelle To: kbuild-all@lists.01.org Subject: Re: [PATCH v5 3/3] asm-generic/io.h: warn in inb() and friends with undefined PCI_IOBASE Date: Mon, 10 May 2021 16:06:07 +0200 Message-ID: In-Reply-To: List-Id: --===============3912030517314535066== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On Mon, 2021-05-10 at 15:43 +0200, Arnd Bergmann wrote: > On Mon, May 10, 2021 at 3:30 PM kernel test robot wrote: > > All warnings (new ones prefixed by >>): > > = > > In file included from include/linux/kernel.h:10, > > from include/linux/list.h:9, > > from include/linux/module.h:12, > > from drivers/net/arcnet/com20020.c:31: > > drivers/net/arcnet/com20020.c: In function 'com20020_reset': > > > > include/linux/compiler.h:70:32: warning: 'inbyte' is used uninitial= ized in this function [-Wuninitialized] > > 70 | (__if_trace.miss_hit[1]++,1) : \ > > | ^ > > drivers/net/arcnet/com20020.c:286:9: note: 'inbyte' was declared here > > 286 | u_char inbyte; > > | ^~~~~~ > = > This looks like a real problem with the patch: the insb()/insw()/insl() h= elpers > should memset(buffer, 0xff, size) to avoid using random stack data. > = > Arnd Yes I agree, will send a v6 shortly. Thanks. --===============3912030517314535066==--