]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
staging: axis-fifo: Remove read/write timeout module parameters
authorOvidiu Panait <ovidiu.panait.oss@gmail.com>
Sat, 27 Dec 2025 21:26:32 +0000 (23:26 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 11 Jan 2026 12:54:11 +0000 (13:54 +0100)
commit87d653a894a43adaf74637f175e86df79b399be4
treec7dd782f4a0256c4532ecb3f72e54d2a6e39df19
parentd78870274b497cf0dd4836d8effce8dcf0a0e12d
staging: axis-fifo: Remove read/write timeout module parameters

Module parameters for timeouts are a poor interface choice as they
affect all device instances globally rather than being configurable
per file descriptor.

The current implementation also returns -EAGAIN on timeout, requiring
userspace to implement retry loops around blocking operations.

Remove the read_timeout and write_timeout module parameters. The next
commit adds poll() support, allowing applications to implement timeout
handling using standard poll()/select() interfaces.

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