sh_eth: fix garbled TX error message
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Fri, 10 Jan 2014 23:41:49 +0000 (02:41 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Jan 2014 07:28:48 +0000 (23:28 -0800)
commit090d560fc4723f61b561c8fceb810d4645b49b4c
treec7b1d84cf21460ce30fb7a000984d901cb2998ec
parentaef2b45fe459428d1861a74b08f3f57e87411f56
sh_eth: fix garbled TX error message

sh_eth_error() in case of a TX error tries to print a message using 2 dev_err()
calls with the first string not finished by '\n', so that the resulting message
would inevitably come out garbled, with something like "3net eth0: " inserted
in the middle.  Avoid that by merging 2 calls into one.

While at it, insert an empty line after the nearby declaration.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/renesas/sh_eth.c