From: kbuild test robot <lkp@intel.com>
To: Don Brace <don.brace@pmcs.com>
Cc: kbuild-all@01.org, Viswas.G@pmcs.com, scott.teel@pmcs.com,
Kevin.Barnett@pmcs.com, scott.benesh@pmcs.com,
Mahesh.Rajashekhara@pmcs.com, hch@infradead.org,
Justin.Lindley@pmcs.com, elliott@hpe.com,
james.bottomley@parallels.com, linux-scsi@vger.kernel.org
Subject: Re: [PATCH v2 3/3] hpsa: add box and bay information for enclosure devices
Date: Tue, 22 Dec 2015 01:59:30 +0800 [thread overview]
Message-ID: <201512220152.nn30FUcS%fengguang.wu@intel.com> (raw)
In-Reply-To: <20151221172146.14423.43517.stgit@brunhilda>
[-- Attachment #1: Type: text/plain, Size: 11929 bytes --]
Hi Don,
[auto build test ERROR on scsi/for-next]
[also build test ERROR on v4.4-rc6 next-20151221]
url: https://github.com/0day-ci/linux/commits/Don-Brace/hpsa-updates/20151222-012604
base: https://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git for-next
config: alpha-allyesconfig (attached as .config)
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=alpha
All errors (new ones prefixed by >>):
drivers/scsi/hpsa.c: In function 'hpsa_get_enclosure_info':
drivers/scsi/hpsa.c:3201:2: error: parameter 'rc' is initialized
int rc = -1;
^
drivers/scsi/hpsa.c:3202:9: error: parameter 'c' is initialized
struct CommandList *c = NULL;
^
drivers/scsi/hpsa.c:3203:9: error: parameter 'ei' is initialized
struct ErrorInfo *ei = NULL;
^
drivers/scsi/hpsa.c:3204:9: error: parameter 'bssbp' is initialized
struct bmic_sense_storage_box_params *bssbp = NULL;
^
drivers/scsi/hpsa.c:3205:9: error: parameter 'id_phys' is initialized
struct bmic_identify_physical_device *id_phys = NULL;
^
drivers/scsi/hpsa.c:3206:9: error: parameter 'rle' is initialized
struct ext_report_lun_entry *rle = &rlep->LUN[rle_index];
^
drivers/scsi/hpsa.c:3206:38: error: 'rlep' undeclared (first use in this function)
struct ext_report_lun_entry *rle = &rlep->LUN[rle_index];
^
drivers/scsi/hpsa.c:3206:38: note: each undeclared identifier is reported only once for each function it appears in
drivers/scsi/hpsa.c:3206:48: error: 'rle_index' undeclared (first use in this function)
struct ext_report_lun_entry *rle = &rlep->LUN[rle_index];
^
drivers/scsi/hpsa.c:3207:2: error: parameter 'bmic_device_index' is initialized
u16 bmic_device_index = 0;
^
drivers/scsi/hpsa.c:3209:2: error: expected declaration specifiers before 'bmic_device_index'
bmic_device_index = GET_BMIC_DRIVE_NUMBER(&rle->lunid[0]);
^
drivers/scsi/hpsa.c:3211:2: error: expected declaration specifiers before 'if'
if (bmic_device_index == 0xFF00)
^
drivers/scsi/hpsa.c:3214:2: error: expected declaration specifiers before 'bssbp'
bssbp = kzalloc(sizeof(*bssbp), GFP_KERNEL);
^
drivers/scsi/hpsa.c:3215:2: error: expected declaration specifiers before 'if'
if (!bssbp)
^
drivers/scsi/hpsa.c:3218:2: error: expected declaration specifiers before 'id_phys'
id_phys = kzalloc(sizeof(*id_phys), GFP_KERNEL);
^
drivers/scsi/hpsa.c:3219:2: error: expected declaration specifiers before 'if'
if (!id_phys)
^
drivers/scsi/hpsa.c:3222:2: error: expected declaration specifiers before 'rc'
rc = hpsa_bmic_id_physical_device(h, scsi3addr, bmic_device_index,
^
drivers/scsi/hpsa.c:3224:2: error: expected declaration specifiers before 'if'
if (rc) {
^
drivers/scsi/hpsa.c:3230:2: error: expected declaration specifiers before 'c'
c = cmd_alloc(h);
^
drivers/scsi/hpsa.c:3232:2: error: expected declaration specifiers before 'rc'
rc = fill_cmd(c, BMIC_SENSE_STORAGE_BOX_PARAMS, h, bssbp,
^
drivers/scsi/hpsa.c:3235:2: error: expected declaration specifiers before 'if'
if (rc)
^
drivers/scsi/hpsa.c:3238:2: error: expected declaration specifiers before 'if'
if (id_phys->phys_connector[1] == 'E')
^
drivers/scsi/hpsa.c:3240:2: error: expected declaration specifiers before 'else'
else
^
drivers/scsi/hpsa.c:3243:2: error: expected declaration specifiers before 'rc'
rc = hpsa_scsi_do_simple_cmd_with_retry(h, c, PCI_DMA_FROMDEVICE,
^
drivers/scsi/hpsa.c:3245:2: error: expected declaration specifiers before 'if'
if (rc)
^
drivers/scsi/hpsa.c:3248:2: error: expected declaration specifiers before 'ei'
ei = c->err_info;
^
drivers/scsi/hpsa.c:3249:2: error: expected declaration specifiers before 'if'
if (ei->CommandStatus != 0 && ei->CommandStatus != CMD_DATA_UNDERRUN) {
^
drivers/scsi/hpsa.c:3254:2: error: expected declaration specifiers before 'encl_dev'
encl_dev->box[id_phys->active_path_number] = bssbp->phys_box_on_port;
^
In file included from include/linux/string.h:17:0,
from include/linux/bitmap.h:8,
from include/linux/nodemask.h:92,
from include/linux/mmzone.h:16,
from include/linux/gfp.h:5,
from include/linux/kmod.h:22,
from include/linux/module.h:13,
from drivers/scsi/hpsa.c:19:
>> arch/alpha/include/asm/string.h:21:16: error: expected declaration specifiers before '__builtin_memcpy'
#define memcpy __builtin_memcpy
^
drivers/scsi/hpsa.c:3255:2: note: in expansion of macro 'memcpy'
memcpy(&encl_dev->phys_connector[id_phys->active_path_number],
^
drivers/scsi/hpsa.c:3258:2: error: expected declaration specifiers before 'rc'
rc = IO_OK;
^
drivers/scsi/hpsa.c:3259:1: error: expected declaration specifiers before 'out'
out:
^
drivers/scsi/hpsa.c:3261:2: error: expected declaration specifiers before 'kfree'
kfree(id_phys);
^
drivers/scsi/hpsa.c:3263:2: error: expected declaration specifiers before 'if'
if (c)
^
drivers/scsi/hpsa.c:3266:2: error: expected declaration specifiers before 'if'
if (rc != IO_OK)
^
drivers/scsi/hpsa.c:3269:1: error: expected declaration specifiers before '}' token
}
^
drivers/scsi/hpsa.c:3273:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
{
^
drivers/scsi/hpsa.c:3303:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
{
^
drivers/scsi/hpsa.c:3334:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
{
^
drivers/scsi/hpsa.c:3377:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
{
^
drivers/scsi/hpsa.c:3417:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
{
^
drivers/scsi/hpsa.c:3438:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
{
^
drivers/scsi/hpsa.c:3482:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
{
^
drivers/scsi/hpsa.c:3489:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
{
^
drivers/scsi/hpsa.c:3495:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
{
^
drivers/scsi/hpsa.c:3504:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
{
^
drivers/scsi/hpsa.c:3548:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
{
^
drivers/scsi/hpsa.c:3624:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
{
^
drivers/scsi/hpsa.c:3661:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
{
^
drivers/scsi/hpsa.c:3675:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
{
^
drivers/scsi/hpsa.c:3756:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
{
^
drivers/scsi/hpsa.c:3787:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
{
^
drivers/scsi/hpsa.c:3823:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
{
^
drivers/scsi/hpsa.c:3843:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
{
^
drivers/scsi/hpsa.c:3871:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
{
^
drivers/scsi/hpsa.c:3909:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
{
^
drivers/scsi/hpsa.c:3937:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
{
^
drivers/scsi/hpsa.c:3962:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
{
^
drivers/scsi/hpsa.c:3989:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
{
^
drivers/scsi/hpsa.c:4012:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
{
^
drivers/scsi/hpsa.c:4247:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
{
^
drivers/scsi/hpsa.c:4264:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
{
vim +/__builtin_memcpy +21 arch/alpha/include/asm/string.h
^1da177e include/asm-alpha/string.h Linus Torvalds 2005-04-16 5
^1da177e include/asm-alpha/string.h Linus Torvalds 2005-04-16 6 /*
^1da177e include/asm-alpha/string.h Linus Torvalds 2005-04-16 7 * GCC of any recent vintage doesn't do stupid things with bcopy.
^1da177e include/asm-alpha/string.h Linus Torvalds 2005-04-16 8 * EGCS 1.1 knows all about expanding memcpy inline, others don't.
^1da177e include/asm-alpha/string.h Linus Torvalds 2005-04-16 9 *
^1da177e include/asm-alpha/string.h Linus Torvalds 2005-04-16 10 * Similarly for a memset with data = 0.
^1da177e include/asm-alpha/string.h Linus Torvalds 2005-04-16 11 */
^1da177e include/asm-alpha/string.h Linus Torvalds 2005-04-16 12
^1da177e include/asm-alpha/string.h Linus Torvalds 2005-04-16 13 #define __HAVE_ARCH_MEMCPY
^1da177e include/asm-alpha/string.h Linus Torvalds 2005-04-16 14 extern void * memcpy(void *, const void *, size_t);
^1da177e include/asm-alpha/string.h Linus Torvalds 2005-04-16 15 #define __HAVE_ARCH_MEMMOVE
^1da177e include/asm-alpha/string.h Linus Torvalds 2005-04-16 16 extern void * memmove(void *, const void *, size_t);
^1da177e include/asm-alpha/string.h Linus Torvalds 2005-04-16 17
^1da177e include/asm-alpha/string.h Linus Torvalds 2005-04-16 18 /* For backward compatibility with modules. Unused otherwise. */
^1da177e include/asm-alpha/string.h Linus Torvalds 2005-04-16 19 extern void * __memcpy(void *, const void *, size_t);
^1da177e include/asm-alpha/string.h Linus Torvalds 2005-04-16 20
^1da177e include/asm-alpha/string.h Linus Torvalds 2005-04-16 @21 #define memcpy __builtin_memcpy
^1da177e include/asm-alpha/string.h Linus Torvalds 2005-04-16 22
^1da177e include/asm-alpha/string.h Linus Torvalds 2005-04-16 23 #define __HAVE_ARCH_MEMSET
^1da177e include/asm-alpha/string.h Linus Torvalds 2005-04-16 24 extern void * __constant_c_memset(void *, unsigned long, size_t);
a47e5bb5 arch/alpha/include/asm/string.h Richard Henderson 2013-07-11 25 extern void * ___memset(void *, int, size_t);
^1da177e include/asm-alpha/string.h Linus Torvalds 2005-04-16 26 extern void * __memset(void *, int, size_t);
^1da177e include/asm-alpha/string.h Linus Torvalds 2005-04-16 27 extern void * memset(void *, int, size_t);
^1da177e include/asm-alpha/string.h Linus Torvalds 2005-04-16 28
a47e5bb5 arch/alpha/include/asm/string.h Richard Henderson 2013-07-11 29 /* For gcc 3.x, we cannot have the inline function named "memset" because
:::::: The code at line 21 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2
:::::: TO: Linus Torvalds <torvalds@ppc970.osdl.org>
:::::: CC: Linus Torvalds <torvalds@ppc970.osdl.org>
---
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: 44394 bytes --]
next prev parent reply other threads:[~2015-12-21 18:00 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-21 17:21 [PATCH v2 0/3] hpsa updates Don Brace
2015-12-21 17:21 ` [PATCH v2 1/3] hpsa: fix path_info_show Don Brace
2015-12-22 4:55 ` Matthew R. Ochs
2015-12-21 17:21 ` [PATCH v2 2/3] hpsa: change SAS transport devices to bus 0 Don Brace
2015-12-21 17:21 ` [PATCH v2 3/3] hpsa: add box and bay information for enclosure devices Don Brace
2015-12-21 17:47 ` kbuild test robot
2015-12-21 17:59 ` kbuild test robot [this message]
2015-12-22 4:58 ` Matthew R. Ochs
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=201512220152.nn30FUcS%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=Justin.Lindley@pmcs.com \
--cc=Kevin.Barnett@pmcs.com \
--cc=Mahesh.Rajashekhara@pmcs.com \
--cc=Viswas.G@pmcs.com \
--cc=don.brace@pmcs.com \
--cc=elliott@hpe.com \
--cc=hch@infradead.org \
--cc=james.bottomley@parallels.com \
--cc=kbuild-all@01.org \
--cc=linux-scsi@vger.kernel.org \
--cc=scott.benesh@pmcs.com \
--cc=scott.teel@pmcs.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