amd-xgbe: IRQ names require allocated memory
authorLendacky, Thomas <Thomas.Lendacky@amd.com>
Wed, 3 Dec 2014 00:07:18 +0000 (18:07 -0600)
committerDavid S. Miller <davem@davemloft.net>
Tue, 9 Dec 2014 18:13:39 +0000 (13:13 -0500)
commit54ceb9ec6fe8e64067b164e6b161dd63905c059f
tree0351fc9013b4ce8ac3b79a709fd3ead907428a47
parent9cdfe2c709c4f6076249ced6844b2bea420739c4
amd-xgbe: IRQ names require allocated memory

When requesting an irq, the name passed in must be (part of) allocated
memory. The irq name was a local variable and resulted in random
characters when listing /proc/interrupts. Add a character field to the
xgbe_channel structure to hold the irq name and use that.

Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amd/xgbe/xgbe-drv.c
drivers/net/ethernet/amd/xgbe/xgbe.h