sfc: Fix order of channel_name array dimensions
authorBen Hutchings <bhutchings@solarflare.com>
Mon, 13 Sep 2010 04:14:49 +0000 (04:14 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Sep 2010 02:55:22 +0000 (19:55 -0700)
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/sfc/net_driver.h

index 4b3f680ba69e8693188a1a94f394da1dd8ffa438..152342dbff298b66c3ee679109fead85cc84cf38 100644 (file)
@@ -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;