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

From: Stephen Rothwell
Date: Thu Oct 24 2019 - 23:07:43 EST


Hi all,

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

drivers/scsi/lpfc/lpfc_debugfs.c: In function 'lpfc_debugfs_ras_log_release':
drivers/scsi/lpfc/lpfc_debugfs.c:2109:2: error: implicit declaration of function 'vfree'; did you mean 'kvfree'? [-Werror=implicit-function-declaration]
2109 | vfree(debug->buffer);
| ^~~~~
| kvfree
drivers/scsi/lpfc/lpfc_debugfs.c: In function 'lpfc_debugfs_ras_log_open':
drivers/scsi/lpfc/lpfc_debugfs.c:2150:18: error: implicit declaration of function 'vmalloc'; did you mean 'kvmalloc'? [-Werror=implicit-function-declaration]
2150 | debug->buffer = vmalloc(size);
| ^~~~~~~
| kvmalloc
drivers/scsi/lpfc/lpfc_debugfs.c:2150:16: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
2150 | debug->buffer = vmalloc(size);
| ^

Caused by commit

95bfc6d8ad86 ("scsi: lpfc: Make FW logging dynamically configurable")

I have used the scsi-mkp tree from next-20191024 for today.

--
Cheers,
Stephen Rothwell

Attachment: pgpaxtFERHKHK.pgp
Description: OpenPGP digital signature