aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorHannes Reinecke <[email protected]>2019-07-24 09:00:55 +0000
committerMartin K. Petersen <[email protected]>2019-07-30 01:12:35 +0000
commit023358b136d490ca91735ac6490db3741af5a8bd (patch)
treebe5370ccb0eb4ca07c29875a25de42d56d8e6416 /tools/perf/scripts/python/netdev-times.py
parentscsi: libfc: Whitespace cleanup in libfc.h (diff)
downloadkernel-023358b136d490ca91735ac6490db3741af5a8bd.tar.gz
kernel-023358b136d490ca91735ac6490db3741af5a8bd.zip
scsi: fcoe: Embed fc_rport_priv in fcoe_rport structure
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 <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions