* Re: [PATCH v2 3/3] hpsa: add box and bay information for enclosure devices
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
2015-12-22 4:58 ` Matthew R. Ochs
2 siblings, 0 replies; 8+ messages in thread
From: kbuild test robot @ 2015-12-21 17:47 UTC (permalink / raw)
To: Don Brace
Cc: kbuild-all, Viswas.G, scott.teel, Kevin.Barnett, scott.benesh,
Mahesh.Rajashekhara, hch, Justin.Lindley, elliott,
james.bottomley, linux-scsi
[-- Attachment #1: Type: text/plain, Size: 16112 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: i386-randconfig-x005-201551 (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=i386
All error/warnings (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]);
^
In file included from include/uapi/linux/stddef.h:1:0,
from include/linux/stddef.h:4,
from include/uapi/linux/posix_types.h:4,
from include/uapi/linux/types.h:13,
from include/linux/types.h:5,
from include/linux/list.h:4,
from include/linux/module.h:9,
from drivers/scsi/hpsa.c:19:
>> include/linux/compiler.h:147:2: error: expected declaration specifiers before 'if'
if (__builtin_constant_p((cond)) ? !!(cond) : \
^
include/linux/compiler.h:145:23: note: in expansion of macro '__trace_if'
#define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
^
>> drivers/scsi/hpsa.c:3211:2: note: in expansion of macro 'if'
if (bmic_device_index == 0xFF00)
^
>> include/linux/compiler.h:161:3: error: expected declaration specifiers before ')' token
}))
^
include/linux/compiler.h:145:23: note: in expansion of macro '__trace_if'
#define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
^
>> drivers/scsi/hpsa.c:3211:2: note: in expansion of macro 'if'
if (bmic_device_index == 0xFF00)
^
drivers/scsi/hpsa.c:3214:2: error: expected declaration specifiers before 'bssbp'
bssbp = kzalloc(sizeof(*bssbp), GFP_KERNEL);
^
In file included from include/uapi/linux/stddef.h:1:0,
from include/linux/stddef.h:4,
from include/uapi/linux/posix_types.h:4,
from include/uapi/linux/types.h:13,
from include/linux/types.h:5,
from include/linux/list.h:4,
from include/linux/module.h:9,
from drivers/scsi/hpsa.c:19:
>> include/linux/compiler.h:147:2: error: expected declaration specifiers before 'if'
if (__builtin_constant_p((cond)) ? !!(cond) : \
^
include/linux/compiler.h:145:23: note: in expansion of macro '__trace_if'
#define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
^
drivers/scsi/hpsa.c:3215:2: note: in expansion of macro 'if'
if (!bssbp)
^
>> include/linux/compiler.h:161:3: error: expected declaration specifiers before ')' token
}))
^
include/linux/compiler.h:145:23: note: in expansion of macro '__trace_if'
#define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
^
drivers/scsi/hpsa.c:3215:2: note: in expansion of macro 'if'
if (!bssbp)
^
drivers/scsi/hpsa.c:3218:2: error: expected declaration specifiers before 'id_phys'
id_phys = kzalloc(sizeof(*id_phys), GFP_KERNEL);
^
In file included from include/uapi/linux/stddef.h:1:0,
from include/linux/stddef.h:4,
from include/uapi/linux/posix_types.h:4,
from include/uapi/linux/types.h:13,
from include/linux/types.h:5,
from include/linux/list.h:4,
from include/linux/module.h:9,
from drivers/scsi/hpsa.c:19:
>> include/linux/compiler.h:147:2: error: expected declaration specifiers before 'if'
if (__builtin_constant_p((cond)) ? !!(cond) : \
^
include/linux/compiler.h:145:23: note: in expansion of macro '__trace_if'
#define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
^
drivers/scsi/hpsa.c:3219:2: note: in expansion of macro 'if'
if (!id_phys)
^
>> include/linux/compiler.h:161:3: error: expected declaration specifiers before ')' token
}))
^
include/linux/compiler.h:145:23: note: in expansion of macro '__trace_if'
#define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
^
drivers/scsi/hpsa.c:3219:2: note: in expansion of macro '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,
^
In file included from include/uapi/linux/stddef.h:1:0,
from include/linux/stddef.h:4,
from include/uapi/linux/posix_types.h:4,
from include/uapi/linux/types.h:13,
from include/linux/types.h:5,
from include/linux/list.h:4,
from include/linux/module.h:9,
from drivers/scsi/hpsa.c:19:
>> include/linux/compiler.h:147:2: error: expected declaration specifiers before 'if'
if (__builtin_constant_p((cond)) ? !!(cond) : \
^
include/linux/compiler.h:145:23: note: in expansion of macro '__trace_if'
#define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
^
drivers/scsi/hpsa.c:3224:2: note: in expansion of macro 'if'
if (rc) {
^
>> include/linux/compiler.h:161:3: error: expected declaration specifiers before ')' token
}))
^
include/linux/compiler.h:145:23: note: in expansion of macro '__trace_if'
#define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
^
drivers/scsi/hpsa.c:3224:2: note: in expansion of macro '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,
^
In file included from include/uapi/linux/stddef.h:1:0,
from include/linux/stddef.h:4,
from include/uapi/linux/posix_types.h:4,
from include/uapi/linux/types.h:13,
from include/linux/types.h:5,
from include/linux/list.h:4,
from include/linux/module.h:9,
from drivers/scsi/hpsa.c:19:
>> include/linux/compiler.h:147:2: error: expected declaration specifiers before 'if'
if (__builtin_constant_p((cond)) ? !!(cond) : \
^
include/linux/compiler.h:145:23: note: in expansion of macro '__trace_if'
#define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
^
drivers/scsi/hpsa.c:3235:2: note: in expansion of macro 'if'
if (rc)
^
>> include/linux/compiler.h:161:3: error: expected declaration specifiers before ')' token
}))
^
include/linux/compiler.h:145:23: note: in expansion of macro '__trace_if'
#define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
^
drivers/scsi/hpsa.c:3235:2: note: in expansion of macro 'if'
if (rc)
^
>> include/linux/compiler.h:147:2: error: expected declaration specifiers before 'if'
if (__builtin_constant_p((cond)) ? !!(cond) : \
^
include/linux/compiler.h:145:23: note: in expansion of macro '__trace_if'
#define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
^
drivers/scsi/hpsa.c:3238:2: note: in expansion of macro 'if'
if (id_phys->phys_connector[1] == 'E')
^
>> include/linux/compiler.h:161:3: error: expected declaration specifiers before ')' token
}))
^
include/linux/compiler.h:145:23: note: in expansion of macro '__trace_if'
#define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
^
drivers/scsi/hpsa.c:3238:2: note: in expansion of macro '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,
^
In file included from include/uapi/linux/stddef.h:1:0,
from include/linux/stddef.h:4,
from include/uapi/linux/posix_types.h:4,
from include/uapi/linux/types.h:13,
from include/linux/types.h:5,
from include/linux/list.h:4,
from include/linux/module.h:9,
from drivers/scsi/hpsa.c:19:
>> include/linux/compiler.h:147:2: error: expected declaration specifiers before 'if'
if (__builtin_constant_p((cond)) ? !!(cond) : \
^
include/linux/compiler.h:145:23: note: in expansion of macro '__trace_if'
#define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
^
drivers/scsi/hpsa.c:3245:2: note: in expansion of macro 'if'
if (rc)
^
>> include/linux/compiler.h:161:3: error: expected declaration specifiers before ')' token
}))
^
include/linux/compiler.h:145:23: note: in expansion of macro '__trace_if'
#define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
^
drivers/scsi/hpsa.c:3245:2: note: in expansion of macro 'if'
if (rc)
^
drivers/scsi/hpsa.c:3248:2: error: expected declaration specifiers before 'ei'
ei = c->err_info;
^
In file included from include/uapi/linux/stddef.h:1:0,
from include/linux/stddef.h:4,
from include/uapi/linux/posix_types.h:4,
from include/uapi/linux/types.h:13,
from include/linux/types.h:5,
from include/linux/list.h:4,
from include/linux/module.h:9,
from drivers/scsi/hpsa.c:19:
>> include/linux/compiler.h:147:2: error: expected declaration specifiers before 'if'
if (__builtin_constant_p((cond)) ? !!(cond) : \
^
include/linux/compiler.h:145:23: note: in expansion of macro '__trace_if'
#define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
^
drivers/scsi/hpsa.c:3249:2: note: in expansion of macro 'if'
if (ei->CommandStatus != 0 && ei->CommandStatus != CMD_DATA_UNDERRUN) {
^
>> include/linux/compiler.h:161:3: error: expected declaration specifiers before ')' token
}))
^
include/linux/compiler.h:145:23: note: in expansion of macro '__trace_if'
#define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
^
drivers/scsi/hpsa.c:3249:2: note: in expansion of macro '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 arch/x86/include/asm/string.h:2:0,
from include/linux/string.h:17,
from include/linux/dynamic_debug.h:111,
from include/linux/printk.h:277,
from include/linux/kernel.h:13,
from include/linux/list.h:8,
from include/linux/module.h:9,
from drivers/scsi/hpsa.c:19:
>> arch/x86/include/asm/string_32.h:182:25: error: expected declaration specifiers before '__builtin_memcpy'
#define memcpy(t, f, n) __builtin_memcpy(t, f, n)
^
>> 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);
^
In file included from include/uapi/linux/stddef.h:1:0,
from include/linux/stddef.h:4,
from include/uapi/linux/posix_types.h:4,
from include/uapi/linux/types.h:13,
from include/linux/types.h:5,
from include/linux/list.h:4,
from include/linux/module.h:9,
from drivers/scsi/hpsa.c:19:
vim +/if +3211 drivers/scsi/hpsa.c
3205 struct bmic_identify_physical_device *id_phys = NULL;
3206 struct ext_report_lun_entry *rle = &rlep->LUN[rle_index];
3207 u16 bmic_device_index = 0;
3208
3209 bmic_device_index = GET_BMIC_DRIVE_NUMBER(&rle->lunid[0]);
3210
> 3211 if (bmic_device_index == 0xFF00)
3212 goto out;
3213
3214 bssbp = kzalloc(sizeof(*bssbp), GFP_KERNEL);
3215 if (!bssbp)
3216 goto out;
3217
3218 id_phys = kzalloc(sizeof(*id_phys), GFP_KERNEL);
3219 if (!id_phys)
3220 goto out;
3221
3222 rc = hpsa_bmic_id_physical_device(h, scsi3addr, bmic_device_index,
3223 id_phys, sizeof(*id_phys));
3224 if (rc) {
3225 dev_warn(&h->pdev->dev, "%s: id_phys failed %d bdi[0x%x]\n",
3226 __func__, encl_dev->external, bmic_device_index);
3227 goto out;
3228 }
3229
3230 c = cmd_alloc(h);
3231
3232 rc = fill_cmd(c, BMIC_SENSE_STORAGE_BOX_PARAMS, h, bssbp,
3233 sizeof(*bssbp), 0, RAID_CTLR_LUNID, TYPE_CMD);
3234
3235 if (rc)
3236 goto out;
3237
3238 if (id_phys->phys_connector[1] == 'E')
3239 c->Request.CDB[5] = id_phys->box_index;
3240 else
3241 c->Request.CDB[5] = 0;
3242
3243 rc = hpsa_scsi_do_simple_cmd_with_retry(h, c, PCI_DMA_FROMDEVICE,
3244 NO_TIMEOUT);
3245 if (rc)
3246 goto out;
3247
3248 ei = c->err_info;
3249 if (ei->CommandStatus != 0 && ei->CommandStatus != CMD_DATA_UNDERRUN) {
3250 rc = -1;
3251 goto out;
3252 }
3253
3254 encl_dev->box[id_phys->active_path_number] = bssbp->phys_box_on_port;
> 3255 memcpy(&encl_dev->phys_connector[id_phys->active_path_number],
3256 bssbp->phys_connector, sizeof(bssbp->phys_connector));
3257
3258 rc = IO_OK;
---
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: 25086 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH v2 3/3] hpsa: add box and bay information for enclosure devices
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
2015-12-22 4:58 ` Matthew R. Ochs
2 siblings, 0 replies; 8+ messages in thread
From: kbuild test robot @ 2015-12-21 17:59 UTC (permalink / raw)
To: Don Brace
Cc: kbuild-all, Viswas.G, scott.teel, Kevin.Barnett, scott.benesh,
Mahesh.Rajashekhara, hch, Justin.Lindley, elliott,
james.bottomley, linux-scsi
[-- 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 --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH v2 3/3] hpsa: add box and bay information for enclosure devices
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
@ 2015-12-22 4:58 ` Matthew R. Ochs
2 siblings, 0 replies; 8+ messages in thread
From: Matthew R. Ochs @ 2015-12-22 4:58 UTC (permalink / raw)
To: Don Brace
Cc: Viswas.G, scott.teel, Kevin.Barnett, scott.benesh,
Mahesh.Rajashekhara, Christoph Hellwig, Justin.Lindley, elliott,
James Bottomley, linux-scsi
Reviewed-by: Matthew R. Ochs <mrochs@linux.vnet.ibm.com>
^ permalink raw reply [flat|nested] 8+ messages in thread