aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorLinus Torvalds <[email protected]>2025-03-06 17:30:42 +0000
committerLinus Torvalds <[email protected]>2025-03-06 17:30:42 +0000
commit74d42bdb3a4673b1c10d1f457184e4d3c9cb0196 (patch)
tree471dd914993c371f8c26e45fcfa3f9592230ca5d /net/switchdev/switchdev.c
parentMerge tag 'hid-for-linus-2025030501' of git://git.kernel.org/pub/scm/linux/ke... (diff)
downloadkernel-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