projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4669597
)
can: mcp251x: fix print formating strings
author
Marc Kleine-Budde
<mkl@pengutronix.de>
Tue, 13 Aug 2019 13:33:01 +0000
(15:33 +0200)
committer
Marc Kleine-Budde
<mkl@pengutronix.de>
Tue, 20 Aug 2019 11:41:26 +0000
(13:41 +0200)
This patch fixes the print format strings in the driver.
Acked-by: Sean Nyekjaer <sean@geanix.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/spi/mcp251x.c
patch
|
blob
|
history
diff --git
a/drivers/net/can/spi/mcp251x.c
b/drivers/net/can/spi/mcp251x.c
index
febb44c
..
e86f087
100644
(file)
--- a/
drivers/net/can/spi/mcp251x.c
+++ b/
drivers/net/can/spi/mcp251x.c
@@
-561,8
+561,7
@@
static int mcp251x_set_normal_mode(struct spi_device *spi)
while (mcp251x_read_reg(spi, CANSTAT) & CANCTRL_REQOP_MASK) {
schedule();
if (time_after(jiffies, timeout)) {
- dev_err(&spi->dev, "MCP251x didn't"
- " enter in normal mode\n");
+ dev_err(&spi->dev, "MCP251x didn't enter in normal mode\n");
return -EBUSY;
}
}