Skip to content
Commit d6ea7565 authored by Lucas Wei's avatar Lucas Wei Committed by Greg Kroah-Hartman
Browse files

fs: sysfs_emit: Remove PAGE_SIZE alignment check



For kernel releases older than 4.20, using the SLUB alloctor will cause
this alignment check to fail as that allocator did NOT align kmalloc
allocations on a PAGE_SIZE boundry.

Remove the check for these older kernels as it is a false-positive and
causes problems on many devices.

Signed-off-by: default avatarLucas Wei <lucaswei@google.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b8fe47f8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment