Skip to contentSkip to conversation

linux-next: build failure after merge of the scsi-mkp tree

DISCUSSION Stephen Rothwell 3 participants 5 messages Apr 9, 2019 – Apr 10, 2019 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

After merging the scsi-mkp tree, today's linux-next build (powerpc allyesconfig) failed like this:

drivers/scsi/qla2xxx/tcm_qla2xxx.c: In function 'tcm_qla2xxx_init_lport':
drivers/scsi/qla2xxx/tcm_qla2xxx.c:1614:3: error: implicit declaration of function 'vzalloc'; did you mean 'kvzalloc'? [-Werror=implicit-function-declaration]
vzalloc(array_size(65536,
^~~~~~~
kvzalloc
drivers/scsi/qla2xxx/tcm_qla2xxx.c:1613:26: warning: assignment to 'struct tcm_qla2xxx_fc_loopid *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
lport->lport_loopid_map =

                          ^

drivers/scsi/qla2xxx/tcm_qla2xxx.c: In function 'tcm_qla2xxx_make_lport':
drivers/scsi/qla2xxx/tcm_qla2xxx.c:1677:2: error: implicit declaration of function 'vfree'; did you mean 'kvfree'? [-Werror=implicit-function-declaration]
vfree(lport->lport_loopid_map);
^~~~~
kvfree

Caused by commit

523c106ad4b1 ("scsi: tcm_qla2xxx: Minimize #include directives")

I have reverted that commit for today.

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw

Hi all,

Quoted 18 lines · On Tue, 9 Apr 2019 16:27:49 +1000 Stephen Rothwell <[email protected]> wrote:

After merging the scsi-mkp tree, today's linux-next build (powerpc allyesconfig) failed like this:

drivers/scsi/qla2xxx/tcm_qla2xxx.c: In function 'tcm_qla2xxx_init_lport':
drivers/scsi/qla2xxx/tcm_qla2xxx.c:1614:3: error: implicit declaration of function 'vzalloc'; did you mean 'kvzalloc'? [-Werror=implicit-function-declaration]
vzalloc(array_size(65536,
^~~~~~~
kvzalloc
drivers/scsi/qla2xxx/tcm_qla2xxx.c:1613:26: warning: assignment to 'struct tcm_qla2xxx_fc_loopid *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
lport->lport_loopid_map =

                          ^

drivers/scsi/qla2xxx/tcm_qla2xxx.c: In function 'tcm_qla2xxx_make_lport':
drivers/scsi/qla2xxx/tcm_qla2xxx.c:1677:2: error: implicit declaration of function 'vfree'; did you mean 'kvfree'? [-Werror=implicit-function-declaration]
vfree(lport->lport_loopid_map);
^~~~~
kvfree

Quoted 5 lines

Caused by commit

523c106ad4b1 ("scsi: tcm_qla2xxx: Minimize #include directives")

I have reverted that commit for today.

This has now migrated to the scsi tree.

Signature · 2 lines
Cheers,
Stephen Rothwell
#2 lore raw

Stephen,

Quoted 3 lines
Quoted 1 line

I have reverted that commit for today.

This has now migrated to the scsi tree.

I have a fix in my tree but I haven't pushed it yet.

Signature · 1 line
Martin K. Petersen	Oracle Linux Engineering
#3 lore raw
Quoted 7 lines · Martin K. Petersen

Stephen,

Quoted 3 lines
Quoted 1 line

I have reverted that commit for today.

This has now migrated to the scsi tree.

I have a fix in my tree but I haven't pushed it yet.

It's upstream in both trees now.

James

#4 lore raw

Hi all,

Quoted 10 lines · On Wed, 10 Apr 2019 06:04:19 +0200 James Bottomley…
Quoted 6 lines · Martin K. Petersen
Quoted 4 lines
Quoted 2 lines

I have reverted that commit for today.

This has now migrated to the scsi tree.

I have a fix in my tree but I haven't pushed it yet.

It's upstream in both trees now.

Thanks, it'll be in -next tomorrow.

Signature · 2 lines
Cheers,
Stephen Rothwell