public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/2] fs: clear a UBSAN shift-out-of-bounds warning
@ 2022-11-25  9:13 Zhen Lei
  2022-11-25  9:13 ` [PATCH v3 1/2] btrfs: replace INT_LIMIT(loff_t) with OFFSET_MAX Zhen Lei
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Zhen Lei @ 2022-11-25  9:13 UTC (permalink / raw)
  To: Alexander Viro, Eric Biggers, linux-fsdevel, Chris Mason,
	Josef Bacik, David Sterba, linux-btrfs, linux-kernel
  Cc: Zhen Lei

v2 --> v3:
Updated the commit message of patch 2/2 based on Alexander Viro's suggestion.

v1 -- > v2:
1. Replace INT_LIMIT(loff_t) with OFFSET_MAX in btrfs.
2. Replace INT_LIMIT() with type_max().

Zhen Lei (2):
  btrfs: replace INT_LIMIT(loff_t) with OFFSET_MAX
  fs: clear a UBSAN shift-out-of-bounds warning

 fs/btrfs/ordered-data.c | 6 +++---
 include/linux/fs.h      | 5 ++---
 2 files changed, 5 insertions(+), 6 deletions(-)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-11-26  1:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-25  9:13 [PATCH v3 0/2] fs: clear a UBSAN shift-out-of-bounds warning Zhen Lei
2022-11-25  9:13 ` [PATCH v3 1/2] btrfs: replace INT_LIMIT(loff_t) with OFFSET_MAX Zhen Lei
2022-11-25  9:13 ` [PATCH v3 2/2] fs: clear a UBSAN shift-out-of-bounds warning Zhen Lei
2022-11-25 21:00 ` [PATCH v3 0/2] " Al Viro
2022-11-26  1:59   ` Leizhen (ThunderTown)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox