diff options
| author | 2022-06-06 18:42:59 -0400 | |
|---|---|---|
| committer | 2022-06-07 16:18:08 -0400 | |
| commit | 0e3c3b901c00364198d31482fa2552ccf2d5c899 (patch) | |
| tree | 183000d0206ce0fc5c925d1f23819988a853b63e /kernel/debug/ssh:/git@git.zx2c4.com | |
| parent | Linux 5.19-rc1 (diff) | |
| download | linux-dev-0e3c3b901c00364198d31482fa2552ccf2d5c899.tar.xz linux-dev-0e3c3b901c00364198d31482fa2552ccf2d5c899.zip | |
No need of likely/unlikely on calls of check_copy_size()
it's inline and unlikely() inside of it (including the implicit one
in WARN_ON_ONCE()) suffice to convince the compiler that getting
false from check_copy_size() is unlikely.
Spotted-by: Jens Axboe <axboe@kernel.dk>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Christian Brauner (Microsoft) <brauner@kernel.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'kernel/debug/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
