https://github.com/torvalds/linux
Revision 39ebd6dce62d8cfe3864e16148927a139f11bc9a authored by Matthew Wilcox (Oracle) on 18 December 2023, 13:58:37 UTC, committed by Andrew Morton on 20 December 2023, 21:46:20 UTC
On 32-bit systems, we'll lose the top bits of index because arithmetic
will be performed in unsigned long instead of unsigned long long.  This
affects files over 4GB in size.

Link: https://lkml.kernel.org/r/20231218135837.3310403-4-willy@infradead.org
Fixes: 6100e34b2526 ("mm, memory_failure: Teach memory_failure() about dev_pagemap pages")
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Dan Williams <dan.j.williams@intel.com>
Cc: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
1 parent c79c5a0
Raw File
Tip revision: 39ebd6dce62d8cfe3864e16148927a139f11bc9a authored by Matthew Wilcox (Oracle) on 18 December 2023, 13:58:37 UTC
mm/memory-failure: cast index to loff_t before shifting it
Tip revision: 39ebd6d
.cocciconfig
[spatch]
	options = --timeout 200
	options = --use-gitgrep
back to top