[linux-nvme:nvme-5.14 32/32] drivers/nvme/target/zns.c:257:6: warning: no previous prototype for function 'nvmet_bdev_zone_zmgmt_recv_work'
Chaitanya Kulkarni
Chaitanya.Kulkarni at wdc.com
Tue Jun 15 14:41:48 PDT 2021
> On Jun 15, 2021, at 2:40 PM, kernel test robot <lkp at intel.com> wrote:
>
> void nvmet_bdev_zone_zmgmt_recv_work(struct work_struct *w)
> ^
> drivers/nvme/target/zns.c:257:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
> void nvmet_bdev_zone_zmgmt_recv_work(struct work_struct *w)
> ^
> static
> 1 warning generated.
>
>
> vim +/nvmet_bdev_zone_zmgmt_recv_work +257 drivers/nvme/target/zns.c
Yep got it now, will send out the fix soon.
More information about the Linux-nvme
mailing list