diff options
| author | Linus Torvalds <[email protected]> | 2025-03-06 17:30:42 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2025-03-06 17:30:42 +0000 |
| commit | 74d42bdb3a4673b1c10d1f457184e4d3c9cb0196 (patch) | |
| tree | 471dd914993c371f8c26e45fcfa3f9592230ca5d /net/switchdev/switchdev.c | |
| parent | Merge tag 'hid-for-linus-2025030501' of git://git.kernel.org/pub/scm/linux/ke... (diff) | |
| download | kernel-74d42bdb3a4673b1c10d1f457184e4d3c9cb0196.tar.gz kernel-74d42bdb3a4673b1c10d1f457184e4d3c9cb0196.zip | |
fs/pipe: express 'pipe_empty()' in terms of 'pipe_occupancy()'
That's what 'pipe_full()' does, so it's more consistent. But more
importantly it gets the type limits right when the pipe head and tail
are no longer necessarily 'unsigned int'.
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
