aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/sfc
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2010-09-13 00:14:49 -0400
committerDavid S. Miller <davem@davemloft.net>2010-09-13 22:55:22 -0400
commitefbc2d7cfa67a9753cd45eb7eee8c9ad10c8b74c (patch)
treee41bae99b78853be4d41f98a12a53fd4f2fd253e /drivers/net/sfc
parent0ea05ce7fd0c1286759933933764aacd12f6ac3a (diff)
sfc: Fix order of channel_name array dimensions
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sfc')
-rw-r--r--drivers/net/sfc/net_driver.h2
1 files changed, 1 insertions, 1 deletions
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 {
729 enum reset_type reset_pending; 729 enum reset_type reset_pending;
730 730
731 struct efx_channel *channel[EFX_MAX_CHANNELS]; 731 struct efx_channel *channel[EFX_MAX_CHANNELS];
732 char channel_name[IFNAMSIZ + 6][EFX_MAX_CHANNELS]; 732 char channel_name[EFX_MAX_CHANNELS][IFNAMSIZ + 6];
733 733
734 unsigned rxq_entries; 734 unsigned rxq_entries;
735 unsigned txq_entries; 735 unsigned txq_entries;