atl1: fix kernel panic in case of DMA errors
authorTony Zelenoff <antonz@parallels.com>
Wed, 11 Apr 2012 06:15:03 +0000 (06:15 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 13 Apr 2012 17:34:20 +0000 (13:34 -0400)
Problem:
There was two separate work_struct structures which share one
handler. Unfortunately getting atl1_adapter structure from
work_struct in case of DMA error was done from incorrect
offset which cause kernel panics.

Solution:
The useless work_struct for DMA error removed and
handler name changed to more generic one.

Signed-off-by: Tony Zelenoff <antonz@parallels.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found