Re: [PATCH] scsi: fcoe: fix mismatched fcoe_wwn_from_mac declaration

2021-04-05 Thread Martin K. Petersen
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

[PATCH] scsi: fcoe: fix mismatched fcoe_wwn_from_mac declaration

2021-03-22 Thread Arnd Bergmann
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_