Files
i2som-imx-linux/include/scsi
Hannes Reinecke 157a1f2fc4 scsi: fcoe: Embed fc_rport_priv in fcoe_rport structure
commit 023358b136 upstream.

Gcc-9 complains for a memset across pointer boundaries, which happens as
the code tries to allocate a flexible array on the stack.  Turns out we
cannot do this without relying on gcc-isms, so with this patch we'll embed
the fc_rport_priv structure into fcoe_rport, can use the normal
'container_of' outcast, and will only have to do a memset over one
structure.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-08-09 17:53:31 +02:00
..
2012-02-19 08:08:58 -06:00
2016-01-27 20:36:10 +08:00
2016-02-23 21:27:02 -05:00
2018-08-15 18:12:47 +02:00
2015-05-18 13:35:56 -04:00