diff options
author | Kirill A. Shutemov <kirill.shutemov@linux.intel.com> | 2023-03-15 12:31:25 +0100 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-04-06 04:42:44 +0200 |
commit | 254ca6d261d4b6ce00591de110f6f96c3556dfbe (patch) | |
tree | 12205de18e95c5c346da3e5def4f56bbb3f68fef /drivers/block/floppy.c | |
parent | sparc/mm: fix MAX_ORDER usage in tsb_grow() (diff) | |
download | linux-254ca6d261d4b6ce00591de110f6f96c3556dfbe.tar.xz linux-254ca6d261d4b6ce00591de110f6f96c3556dfbe.zip |
um: fix MAX_ORDER usage in linux_main()
MAX_ORDER is not inclusive: the maximum allocation order buddy allocator
can deliver is MAX_ORDER-1.
Fix MAX_ORDER usage in linux_main().
Link: https://lkml.kernel.org/r/20230315113133.11326-3-kirill.shutemov@linux.intel.com
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Acked-by: Mike Rapoport (IBM) <rppt@kernel.org>
Cc: Richard Weinberger <richard@nod.at>
Cc: Anton Ivanov <anton.ivanov@cambridgegreys.com>
Cc: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'drivers/block/floppy.c')
0 files changed, 0 insertions, 0 deletions