diff options
author | Kees Cook <keescook@chromium.org> | 2021-06-02 11:00:00 -0700 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2021-06-07 21:30:09 -0400 |
commit | ebab8e09a07f7f5e253d0b45aae7cbda0e360ebf (patch) | |
tree | d5ffa93f7f34c38b67b213c30df8bd3ad50b96b9 /usr | |
parent | 1b67f3d74e45e02e159afed6946c6e4ba11b7df6 (diff) | |
download | linux-ebab8e09a07f7f5e253d0b45aae7cbda0e360ebf.tar.gz |
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>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions