]> git.baikalelectronics.ru Git - kernel.git/commit
ravb: use pdev rather than ndev for error messages
authorSimon Horman <horms+renesas@verge.net.au>
Mon, 2 Nov 2015 01:40:17 +0000 (10:40 +0900)
committerDavid S. Miller <davem@davemloft.net>
Mon, 2 Nov 2015 21:32:37 +0000 (16:32 -0500)
commitb4ff1ca4f89ea574fe0a1542aee46cfcf7782216
treec5248d8918e1c5e0db1a72e52b7645bda7a4a894
parentdbd569c1a3ced0160534c9851503386cb481ac03
ravb: use pdev rather than ndev for error messages

This corrects what appear to be typos, making the code consistent with
itself, and allowing meaningful prefixes to be displayed with the errors in
question.

Before:
 (null): failed to initialize MDIO
 (null): Cannot allocate desc base address table (size 176 bytes)

After:
ravb e6800000.ethernet: failed to initialize MDIO
ravb e6800000.ethernet: Cannot allocate desc base address table (size 176 bytes)

Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/renesas/ravb_main.c