mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 12:42:02 +00:00
514e59c119
The MSI interrupt name can require 11 bytes in addition to the device name, for a total of 23 bytes: drivers/scsi/fnic/fnic_isr.c: In function 'fnic_request_intr': drivers/scsi/fnic/fnic_isr.c:192:4: error: '-fcs-rq' directive writing 7 bytes into a region of size between 5 and 16 [-Werror=format-overflow=] "%.11s-fcs-rq", fnic->name); drivers/scsi/fnic/fnic_isr.c:206:3: note: 'sprintf' output between 12 and 23 bytes into a destination of size 16 sprintf(fnic->msix[FNIC_MSIX_ERR_NOTIFY].devname, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "%.11s-err-notify", fnic->name); This extends the buffer to fit any possible value. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> |
||
---|---|---|
.. | ||
cq_desc.h | ||
cq_enet_desc.h | ||
cq_exch_desc.h | ||
fcpio.h | ||
fnic_attrs.c | ||
fnic_debugfs.c | ||
fnic_fcs.c | ||
fnic_fip.h | ||
fnic_io.h | ||
fnic_isr.c | ||
fnic_main.c | ||
fnic_res.c | ||
fnic_res.h | ||
fnic_scsi.c | ||
fnic_stats.h | ||
fnic_trace.c | ||
fnic_trace.h | ||
fnic.h | ||
Makefile | ||
rq_enet_desc.h | ||
vnic_cq_copy.h | ||
vnic_cq.c | ||
vnic_cq.h | ||
vnic_dev.c | ||
vnic_dev.h | ||
vnic_devcmd.h | ||
vnic_intr.c | ||
vnic_intr.h | ||
vnic_nic.h | ||
vnic_resource.h | ||
vnic_rq.c | ||
vnic_rq.h | ||
vnic_scsi.h | ||
vnic_stats.h | ||
vnic_wq_copy.c | ||
vnic_wq_copy.h | ||
vnic_wq.c | ||
vnic_wq.h | ||
wq_enet_desc.h |