]> 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)
commit41b18092ae31106edf1c59c086c0e9bf1d84d77f
treefc3d9973f4887f47adf414df483fa466056352e7
parentb1a93d9da1b522fe04650beee7d4d1e8ad2b6f5f
net: Fix misplaced parenthesis in virtio_net.c

Commit 9974f62d8da0a4eef68f63423120c84dcd81850b 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