mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Charles Chiou <ch1102chiou@gmail.com>
Cc: kbuild-all@01.org, jejb@linux.vnet.ibm.com,
	martin.petersen@oracle.com, linux-scsi@vger.kernel.org,
	linux-kernel@vger.kernel.org, linus.chen@tw.promise.com,
	grace.chang@tw.promise.com, victor.p@promise.com,
	eva.cheng@tw.promise.com, charles.chiou@tw.promise.com,
	julian.calaby@gmail.com, Paul <paul.lyu@tw.promise.com>
Subject: Re: [v2 PATCH 1/2] scsi:stex.c Support Pegasus 3 product
Date: Tue, 14 Jun 2016 14:49:42 +0800	[thread overview]
Message-ID: <201606141431.l4DZ7XWG%fengguang.wu@intel.com> (raw)
In-Reply-To: <1465885263-8553-1-git-send-email-ch1102chiou@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 4742 bytes --]

Hi,

[auto build test WARNING on scsi/for-next]
[also build test WARNING on v4.7-rc3 next-20160609]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Charles-Chiou/scsi-stex-c-Support-Pegasus-3-product/20160614-142621
base:   https://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git for-next
config: sparc64-allmodconfig (attached as .config)
compiler: sparc64-linux-gnu-gcc (Debian 5.3.1-8) 5.3.1 20160205
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=sparc64 

Note: it may well be a FALSE warning. FWIW you are at least aware of it now.
http://gcc.gnu.org/wiki/Better_Uninitialized_Warnings

All warnings (new ones prefixed by >>):

   In file included from arch/sparc/include/asm/string.h:4:0,
                    from include/linux/string.h:18,
                    from include/linux/bitmap.h:8,
                    from include/linux/nodemask.h:94,
                    from include/linux/mmzone.h:16,
                    from include/linux/gfp.h:5,
                    from include/linux/slab.h:14,
                    from drivers/scsi/stex.c:20:
   drivers/scsi/stex.c: In function 'stex_handshake':
>> arch/sparc/include/asm/string_64.h:28:29: warning: 'scratch' may be used uninitialized in this function [-Wmaybe-uninitialized]
    #define memset(s, c, count) __builtin_memset(s, c, count)
                                ^
   drivers/scsi/stex.c:1111:10: note: 'scratch' was declared here
     __le32 *scratch;
             ^

vim +/scratch +28 arch/sparc/include/asm/string_64.h

f5e706ad include/asm-sparc/string_64.h      Sam Ravnborg    2008-07-17  12  /* Really, userland/ksyms should not see any of this stuff. */
f5e706ad include/asm-sparc/string_64.h      Sam Ravnborg    2008-07-17  13  
f5e706ad include/asm-sparc/string_64.h      Sam Ravnborg    2008-07-17  14  #ifdef __KERNEL__
f5e706ad include/asm-sparc/string_64.h      Sam Ravnborg    2008-07-17  15  
f5e706ad include/asm-sparc/string_64.h      Sam Ravnborg    2008-07-17  16  #include <asm/asi.h>
f5e706ad include/asm-sparc/string_64.h      Sam Ravnborg    2008-07-17  17  
f5e706ad include/asm-sparc/string_64.h      Sam Ravnborg    2008-07-17  18  #ifndef EXPORT_SYMTAB_STROPS
f5e706ad include/asm-sparc/string_64.h      Sam Ravnborg    2008-07-17  19  
f5e706ad include/asm-sparc/string_64.h      Sam Ravnborg    2008-07-17  20  /* First the mem*() things. */
f5e706ad include/asm-sparc/string_64.h      Sam Ravnborg    2008-07-17  21  #define __HAVE_ARCH_MEMMOVE
f05a6865 arch/sparc/include/asm/string_64.h Sam Ravnborg    2014-05-16  22  void *memmove(void *, const void *, __kernel_size_t);
f5e706ad include/asm-sparc/string_64.h      Sam Ravnborg    2008-07-17  23  
f5e706ad include/asm-sparc/string_64.h      Sam Ravnborg    2008-07-17  24  #define __HAVE_ARCH_MEMCPY
4d14a459 arch/sparc/include/asm/string_64.h David S. Miller 2009-12-10  25  #define memcpy(t, f, n) __builtin_memcpy(t, f, n)
f5e706ad include/asm-sparc/string_64.h      Sam Ravnborg    2008-07-17  26  
f5e706ad include/asm-sparc/string_64.h      Sam Ravnborg    2008-07-17  27  #define __HAVE_ARCH_MEMSET
4d14a459 arch/sparc/include/asm/string_64.h David S. Miller 2009-12-10 @28  #define memset(s, c, count) __builtin_memset(s, c, count)
f5e706ad include/asm-sparc/string_64.h      Sam Ravnborg    2008-07-17  29  
f5e706ad include/asm-sparc/string_64.h      Sam Ravnborg    2008-07-17  30  #define __HAVE_ARCH_MEMSCAN
f5e706ad include/asm-sparc/string_64.h      Sam Ravnborg    2008-07-17  31  
f5e706ad include/asm-sparc/string_64.h      Sam Ravnborg    2008-07-17  32  #undef memscan
f5e706ad include/asm-sparc/string_64.h      Sam Ravnborg    2008-07-17  33  #define memscan(__arg0, __char, __arg2)					\
f5e706ad include/asm-sparc/string_64.h      Sam Ravnborg    2008-07-17  34  ({									\
f05a6865 arch/sparc/include/asm/string_64.h Sam Ravnborg    2014-05-16  35  	void *__memscan_zero(void *, size_t);				\
f05a6865 arch/sparc/include/asm/string_64.h Sam Ravnborg    2014-05-16  36  	void *__memscan_generic(void *, int, size_t);			\

:::::: The code at line 28 was first introduced by commit
:::::: 4d14a459857bd151ecbd14bcd37b4628da00792b sparc: Stop trying to be so fancy and use __builtin_{memcpy,memset}()

:::::: TO: David S. Miller <davem@davemloft.net>
:::::: CC: David S. Miller <davem@davemloft.net>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 46368 bytes --]

  reply	other threads:[~2016-06-14  6:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-14  6:21 Charles Chiou
2016-06-14  6:49 ` kbuild test robot [this message]
2016-06-14  7:24 ` kbuild test robot
2016-06-14  7:25 ` kbuild test robot

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=201606141431.l4DZ7XWG%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=ch1102chiou@gmail.com \
    --cc=charles.chiou@tw.promise.com \
    --cc=eva.cheng@tw.promise.com \
    --cc=grace.chang@tw.promise.com \
    --cc=jejb@linux.vnet.ibm.com \
    --cc=julian.calaby@gmail.com \
    --cc=kbuild-all@01.org \
    --cc=linus.chen@tw.promise.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=martin.petersen@oracle.com \
    --cc=paul.lyu@tw.promise.com \
    --cc=victor.p@promise.com \
    /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

all inboxes | Powered by JetHome®