diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2022-05-26 00:17:09 +0200 |
---|---|---|
committer | akpm <akpm@linux-foundation.org> | 2022-05-27 18:33:47 +0200 |
commit | fa020a2b87d24016723fff4a4237deb612478a32 (patch) | |
tree | 9209d063f5946af9072077afa8cda19a2bc54f6f /lib/locking-selftest-spin.h | |
parent | mm: Kconfig: reorganize misplaced mm options (diff) | |
download | linux-fa020a2b87d24016723fff4a4237deb612478a32.tar.xz linux-fa020a2b87d24016723fff4a4237deb612478a32.zip |
mm/shmem.c: suppress shift warning
mm/shmem.c:1948 shmem_getpage_gfp() warn: should '(((1) << 12) / 512) << folio_order(folio)' be a 64 bit type?
On i386, so an unsigned long is 32-bit, but i_blocks is a 64-bit blkcnt_t.
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Jessica Clarke <jrtc27@jrtc27.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'lib/locking-selftest-spin.h')
0 files changed, 0 insertions, 0 deletions