aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/firmware/efi/libstub/randomalloc.c
diff options
context:
space:
mode:
authorChao Yu <yuchao0@huawei.com>2021-05-18 09:57:54 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2021-05-26 07:00:36 -0700
commit0dd571785d61528d62cdd8aa49d76bc6085152fe (patch)
tree5a2b26a8679a738141f53efeb4f4bb7d4c13141d /drivers/firmware/efi/libstub/randomalloc.c
parentf2fs: return success if there is no work to do (diff)
downloadlinux-dev-0dd571785d61528d62cdd8aa49d76bc6085152fe.tar.xz
linux-dev-0dd571785d61528d62cdd8aa49d76bc6085152fe.zip
f2fs: add MODULE_SOFTDEP to ensure crc32 is included in the initramfs
As marcosfrm reported in bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=213089 Initramfs generators rely on "pre" softdeps (and "depends") to include additional required modules. F2FS does not declare "pre: crc32" softdep. Then every generator (dracut, mkinitcpio...) has to maintain a hardcoded list for this purpose. Hence let's use MODULE_SOFTDEP("pre: crc32") in f2fs code. Fixes: 43b6573bac95 ("f2fs: use cryptoapi crc32 functions") Reported-by: marcosfrm <marcosfrm@gmail.com> Signed-off-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'drivers/firmware/efi/libstub/randomalloc.c')
0 files changed, 0 insertions, 0 deletions