Skip to content

Commit

Permalink
media: dvb_ringbuffer: Fix typo in dvb_ringbuffer_pkt_write() kerneldoc
Browse files Browse the repository at this point in the history
There is no such error code EVINAL.

Link: https://lore.kernel.org/linux-media/270f5b7f79a24dc1a3e81d94f6f54fc0f08daf56.1639732105.git.geert+renesas@glider.be
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
  • Loading branch information
Geert Uytterhoeven authored and Mauro Carvalho Chehab committed Nov 25, 2022
1 parent b99d744 commit b5411dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/media/dvb_ringbuffer.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit b5411dd

Please sign in to comment.