projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
692f900
)
staging: pi433: fix wrong debug message on rf69_write_fifo()
author
Sidong Yang
<realwakka@gmail.com>
Sat, 30 Jul 2022 01:27:24 +0000
(
02:27
+0100)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Tue, 16 Aug 2022 13:11:19 +0000
(15:11 +0200)
The debug message should describe error when user calls rf69_write_fifo()
not rf69_write_fifo().
Signed-off-by: Sidong Yang <realwakka@gmail.com>
Link:
https://lore.kernel.org/r/20220730012724.1138-1-realwakka@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/pi433/rf69.c
patch
|
blob
|
history
diff --git
a/drivers/staging/pi433/rf69.c
b/drivers/staging/pi433/rf69.c
index 659c8c1b38fda1ed33661b7797db17741eabf2ec..8c7fab6a46bb291399948ffb129f69933e0c2aa5 100644
(file)
--- a/
drivers/staging/pi433/rf69.c
+++ b/
drivers/staging/pi433/rf69.c
@@
-816,7
+816,7
@@
int rf69_write_fifo(struct spi_device *spi, u8 *buffer, unsigned int size)
if (size > FIFO_SIZE) {
dev_dbg(&spi->dev,
- "
read
fifo: passed in buffer bigger then internal buffer\n");
+ "
write
fifo: passed in buffer bigger then internal buffer\n");
return -EMSGSIZE;
}