Randy Dunlap <randy.dunlap@xxxxxxxxxx> writes:
From: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
Fixes kernel bugzilla #8242:
Move csum_partial() from lib-y to obj-$(CONFIG_CSUM_PARTIAL)
so that modules can use it.
CONFIG_BLK_DEV_MD (md/raid driver) needs csum_partial(),
even when CONFIG_NET=n and BLK_DEV_MD=m, so build it as an
object to force it being built and available.
REISERFS with XATTR=y also needs csum_partial(), so that
is enforced here.
They are all broken because csum_partial gives different values
on different architectures. You're just extending that to
possibly more subsystems.