]> git.hungrycats.org Git - linux/commit
e1000: fix wrong queue idx calculation
authorHong Zhiguo <zhiguohong@tencent.com>
Tue, 22 Oct 2013 18:32:56 +0000 (18:32 +0000)
committerJiri Slaby <jslaby@suse.cz>
Tue, 26 Aug 2014 12:12:09 +0000 (14:12 +0200)
commit65b452dd55c938193e6b5ac87e02c57b334d4aa6
tree782d390dd651041009b3557fab21d3b0c9a66f1d
parent8584ebae95d4884d1a09bd3f66cababaf677a600
e1000: fix wrong queue idx calculation

commit 49a45a0686cc2b43bcb3834a68416a201475dc77 upstream.

tx_ring and adapter->tx_ring are already of type "struct
e1000_tx_ring *"

Signed-off-by: Hong Zhiguo <zhiguohong@tencent.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
drivers/net/ethernet/intel/e1000/e1000_main.c