diff mbox series

[trivial] media: dvb_ringbuffer: Fix typo in dvb_ringbuffer_pkt_write() kerneldoc

Message ID 270f5b7f79a24dc1a3e81d94f6f54fc0f08daf56.1639732105.git.geert+renesas@glider.be
State Superseded
Headers show
Series [trivial] media: dvb_ringbuffer: Fix typo in dvb_ringbuffer_pkt_write() kerneldoc | expand

Commit Message

Geert Uytterhoeven Dec. 17, 2021, 9:08 a.m. UTC
There is no such error code EVINAL.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 include/media/dvb_ringbuffer.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/include/media/dvb_ringbuffer.h b/include/media/dvb_ringbuffer.h
index 8ed6bcc3a56e5ffd..029c8b615e490fae 100644
--- a/include/media/dvb_ringbuffer.h
+++ b/include/media/dvb_ringbuffer.h
@@ -214,7 +214,7 @@  extern ssize_t dvb_ringbuffer_write_user(struct dvb_ringbuffer *rbuf,
  * @buf: Buffer to write.
  * @len: Length of buffer (currently limited to 65535 bytes max).
  *
- * Return: Number of bytes written, or -EFAULT, -ENOMEM, -EVINAL.
+ * Return: Number of bytes written, or -EFAULT, -ENOMEM, -EINVAL.
  */
 extern ssize_t dvb_ringbuffer_pkt_write(struct dvb_ringbuffer *rbuf, u8 *buf,
 					size_t len);