OpenCloudOS-Kernel/drivers/scsi/fcoe
Kees Cook ebab8e09a0 scsi: fcoe: Statically initialize flogi_maddr
In preparation for FORTIFY_SOURCE performing compile-time and run-time
field bounds checking for memcpy() avoid using an inline const buffer
argument and instead just statically initialize the destination array
directly.

Link: https://lore.kernel.org/r/20210602180000.3326448-1-keescook@chromium.org
Reviewed-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2021-06-07 21:30:09 -04:00
..
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
fcoe.c scsi: fcoe: Statically initialize flogi_maddr 2021-06-07 21:30:09 -04:00
fcoe.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 335 2019-06-05 17:37:06 +02:00
fcoe_ctlr.c scsi: fcoe: Fix a couple of incorrectly named functions 2021-03-15 22:14:50 -04:00
fcoe_sysfs.c scsi: fcoe: Remove unneeded semicolon 2020-11-04 22:05:22 -05:00
fcoe_transport.c scsi: fcoe: Suppress a compiler warning 2021-04-15 22:44:40 -04:00
libfcoe.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00