]> git.baikalelectronics.ru Git - kernel.git/commit
cxgb4: correct formatting of MSI-X interrupt names
authorDimitris Michailidis <dm@chelsio.com>
Tue, 14 Dec 2010 21:36:50 +0000 (21:36 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 16 Dec 2010 21:16:02 +0000 (13:16 -0800)
commitb7853a26313778be7bb06adbe51d27449a452bb1
tree8185a4d973b641db929557ea81998d196e9793d6
parent959caccf279e58a100e475f90a71f6433b75bf62
cxgb4: correct formatting of MSI-X interrupt names

The last byte of the buffer for MSI-X names could not be used due to a
bogus -1.  Also do not explicitly clear the last byte, snprintf will do
the right thing.

Signed-off-by: Dimitris Michailidis <dm@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/cxgb4/cxgb4_main.c