address remaining -Wtautological-constant-out-of-range-compare
Status from this message: Applied to the vfs.misc branch of the vfs/vfs.git tree.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied · 3/9
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | dm integrity: fix out-of-range warningdrivers/ | +1 | 2 replies | |
| 2/9 | libceph: avoid clang out-of-range warningfs/ net/ | +3 | 2 replies | |
| 3/9 | rbd: avoid out-of-range warningdrivers/ | +1 | 2 replies | |
| 4/9 | kcov: avoid clang out-of-range warningkernel/ | +2 | 1 reply | Applied |
| 5/9 | ipv4: tcp_output: avoid warning about NET_ADD_STATSnet/ | +1 | 2 replies | |
| 6/9 | nilfs2: fix out-of-range warningfs/ | +1 | 6 replies | Applied |
| 7/9 | infiniband: uverbs: avoid out-of-range warningsdrivers/ | +2 | 3 replies | |
| 8/9 | mlx5: stop warning for 64KB pagesdrivers/ | +4 | 4 replies | Applied |
| 9/9 | kbuild: enable tautological-constant-out-of-range-comparescripts/ | +0 | 0 replies |
Reviews trailers per patch
6 of 9 patches have a Reviewed-by or Acked-by.
| Patch | Maxim Mikityanskiy | Mikulas Patocka | Justin Stitt | Tariq Toukan | Xiubo Li | Ryusuke Konishi |
|---|---|---|---|---|---|---|
| 1/9 | R-b | R-b | ||||
| 2/9 | R-b | R-b | ||||
| 3/9 | ||||||
| 4/9 | R-b | |||||
| 5/9 | ||||||
| 6/9 | R-b | A-b | ||||
| 7/9 | R-b | |||||
| 8/9 | A-b | R-b | R-b | |||
| 9/9 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 6 reviewers.
Cover letter [PATCH 0/9] address remaining -Wtautological-constant-out-of-range-compare
From: Arnd Bergmann <[email protected]>
The warning option was introduced a few years ago but left disabled by default. All of the actual bugs that this has found have been fixed in the meantime, and this series should address the remaining false-positives, as tested on arm/arm64/x86 randconfigs as well as allmodconfig builds for all architectures supported by clang.
Please apply the patches individually to subsystem maintainer trees.
Arnd
Arnd Bergmann (9):
dm integrity: fix out-of-range warning
libceph: avoid clang out-of-range warning
rbd: avoid out-of-range warning
kcov: avoid clang out-of-range warning
ipv4: tcp_output: avoid warning about NET_ADD_STATS
nilfs2: fix out-of-range warning
infiniband: uverbs: avoid out-of-range warnings
mlx5: stop warning for 64KB pages
kbuild: enable tautological-constant-out-of-range-compare
drivers/block/rbd.c | 2 +- drivers/infiniband/core/uverbs_ioctl.c | 4 ++-- drivers/md/dm-integrity.c | 2 +- drivers/net/ethernet/mellanox/mlx5/core/en/xsk/setup.c | 6 ++++-- fs/ceph/snap.c | 2 +- fs/nilfs2/ioctl.c | 2 +- kernel/kcov.c | 3 ++- net/ceph/osdmap.c | 4 ++-- net/ipv4/tcp_output.c | 2 +- scripts/Makefile.extrawarn | 1 - 10 files changed, 15 insertions(+), 13 deletions(-)
Signature · 41 lines
2.39.2 Cc: Ilya Dryomov <[email protected]> Cc: Dongsheng Yang <[email protected]> Cc: Jens Axboe <[email protected]> Cc: Jason Gunthorpe <[email protected]> Cc: Leon Romanovsky <[email protected]> Cc: Alasdair Kergon <[email protected]> Cc: Mike Snitzer <[email protected]> Cc: Mikulas Patocka <[email protected]> Cc: [email protected] Cc: Saeed Mahameed <[email protected]> Cc: "David S. Miller" <[email protected]> Cc: Eric Dumazet <[email protected]> Cc: Jakub Kicinski <[email protected]> Cc: Paolo Abeni <[email protected]> Cc: Xiubo Li <[email protected]> Cc: Jeff Layton <[email protected]> Cc: Ryusuke Konishi <[email protected]> Cc: Dmitry Vyukov <[email protected]> Cc: Andrey Konovalov <[email protected]> Cc: David Ahern <[email protected]> Cc: Masahiro Yamada <[email protected]> Cc: Nathan Chancellor <[email protected]> Cc: Nicolas Schier <[email protected]> Cc: Nick Desaulniers <[email protected]> Cc: Bill Wendling <[email protected]> Cc: Justin Stitt <[email protected]> Cc: Kees Cook <[email protected]> Cc: "Gustavo A. R. Silva" <[email protected]> Cc: Arnd Bergmann <[email protected]> Cc: Tariq Toukan <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected]