Files
kernel_google_wahoo/include/scsi
Hannes Reinecke 483b26014f scsi: fcoe: Embed fc_rport_priv in fcoe_rport structure
commit 023358b136d490ca91735ac6490db3741af5a8bd 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-25 10:53:04 +02:00
..
2012-02-19 08:08:58 -06:00
2015-08-28 13:14:57 -07:00
2015-06-01 07:32:42 -07:00
2015-11-09 17:11:57 -08:00
2014-07-17 22:07:37 +02:00
2018-01-23 19:50:14 +01:00
2015-05-18 13:35:56 -04:00