[lkml]   [2020]   [Mar]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subjectlinux-next: build warning after merge of the scsi-mkp tree
Hi all,

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

In file included from include/uapi/linux/posix_types.h:5,
from include/uapi/linux/types.h:14,
from include/linux/types.h:6,
from include/linux/list.h:5,
from include/linux/module.h:12,
from drivers/scsi/ibmvscsi/ibmvfc.c:10:
drivers/scsi/ibmvscsi/ibmvfc.c: In function 'ibmvfc_tgt_implicit_logout_and_del':
include/linux/stddef.h:8:14: warning: 'return' with a value, in function returning void [-Wreturn-type]
8 | #define NULL ((void *)0)
| ^
drivers/scsi/ibmvscsi/ibmvfc.c:3644:10: note: in expansion of macro 'NULL'
3644 | return NULL;
| ^~~~
drivers/scsi/ibmvscsi/ibmvfc.c:3638:13: note: declared here
3638 | static void ibmvfc_tgt_implicit_logout_and_del(struct ibmvfc_target *tgt)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Introduced by commit

54b04c99d02e ("scsi: ibmvfc: Avoid loss of all paths during SVC node reboot")

Stephen Rothwell
[unhandled content-type:application/pgp-signature]
 \ /
  Last update: 2020-03-02 03:36    [W:0.097 / U:3.192 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site