]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
staging: axis-fifo: Remove noisy error messages for user errors
authorOvidiu Panait <ovidiu.panait.oss@gmail.com>
Sat, 27 Dec 2025 21:26:38 +0000 (23:26 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 11 Jan 2026 12:54:12 +0000 (13:54 +0100)
commit04efe3aa5fa0f81fe38a0ff8e03c0d5bdfcbad5f
treefbaff0dc2dbf22f1aeb7cc73adf29c76c8a3d6c1
parentab517a047b4ef6b62e4ddabfdd3549f19e4bc4c9
staging: axis-fifo: Remove noisy error messages for user errors

Remove dev_err() calls for conditions caused by invalid userspace
input. Logging them clutters the kernel log, especially if userspace
repeatedly makes invalid calls.

Also, consolidate the write validation checks into a single condition.

Signed-off-by: Ovidiu Panait <ovidiu.panait.oss@gmail.com>
Link: https://patch.msgid.link/20251227212640.3321310-7-ovidiu.panait.oss@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/axis-fifo/axis-fifo.c