]> git.baikalelectronics.ru Git - kernel.git/commit
net: Fix misplaced parenthesis in virtio_net.c
authorTorsten Kaiser <just.for.lkml@googlemail.com>
Mon, 9 Apr 2012 05:14:15 +0000 (05:14 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 13 Apr 2012 15:01:44 +0000 (11:01 -0400)
commit2ba66254ad1a378462a14aeb70e39fc8d6613f3e
treefc3d9973f4887f47adf414df483fa466056352e7
parent089896e0ae7764d6126d10e29ec14a4d5e3ac41f
net: Fix misplaced parenthesis in virtio_net.c

Commit 62b0bf392d3dbb5fe80e02ce5dbe45b376b24c26 misplaced its
parenthesis and now tx_fifo_errors will only be incremented if an
ENOMEM error is not written to the syslog.

Correct the parenthesis and indentation to the original goal of
counting all non ENOMEM errors and ratelimiting only the messages.

Signed-of-by: Torsten Kaiser <just.for.lkml@googlemail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/virtio_net.c