From: Ben Hutchings Date: Mon, 13 Sep 2010 04:14:49 +0000 (+0000) Subject: sfc: Fix order of channel_name array dimensions X-Git-Tag: firefly_0821_release~7613^2~3670^2~471 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=efbc2d7cfa67a9753cd45eb7eee8c9ad10c8b74c;p=firefly-linux-kernel-4.4.55.git sfc: Fix order of channel_name array dimensions Signed-off-by: Ben Hutchings Signed-off-by: David S. Miller --- diff --git a/drivers/net/sfc/net_driver.h b/drivers/net/sfc/net_driver.h index 4b3f680ba69e..152342dbff29 100644 --- a/drivers/net/sfc/net_driver.h +++ b/drivers/net/sfc/net_driver.h @@ -729,7 +729,7 @@ struct efx_nic { enum reset_type reset_pending; struct efx_channel *channel[EFX_MAX_CHANNELS]; - char channel_name[IFNAMSIZ + 6][EFX_MAX_CHANNELS]; + char channel_name[EFX_MAX_CHANNELS][IFNAMSIZ + 6]; unsigned rxq_entries; unsigned txq_entries;