On Mon, 22 Mar 2021 17:46:59 +0100, Arnd Bergmann wrote:
> An old cleanup changed the array size from MAX_ADDR_LEN to
> unspecified in the declaration, but now gcc-11 warns about this:
>
> drivers/scsi/fcoe/fcoe_ctlr.c:1972:37: error: argument 1 of type ‘unsigned
> char[32]’ with mismatched boun
From: Arnd Bergmann
An old cleanup changed the array size from MAX_ADDR_LEN to
unspecified in the declaration, but now gcc-11 warns about this:
drivers/scsi/fcoe/fcoe_ctlr.c:1972:37: error: argument 1 of type ‘unsigned
char[32]’ with mismatched bound [-Werror=array-parameter=]
1972 | u64 fcoe_
2 matches
Mail list logo