staging: pi433: fix wrong debug message on rf69_write_fifo()
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>
This commit is contained in:
Родитель
692f9007ab
Коммит
aef1bf6f2d
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче