mirror of
https://kernel.googlesource.com/pub/scm/linux/kernel/git/stable/linux-stable.git
synced 2025-09-13 11:07:46 +10:00
pldmfw: Select CRC32 when PLDMFW is selected
[ Upstream commit1224b218a4
] pldmfw calls crc32 code and depends on it being enabled, else there is a link error as follows. So PLDMFW should select CRC32. lib/pldmfw/pldmfw.o: In function `pldmfw_flash_image': pldmfw.c:(.text+0x70f): undefined reference to `crc32_le_base' This problem was introduced by commitb8265621f4
("Add pldmfw library for PLDM firmware update"). It manifests as of commitd69ea414c9
("ice: implement device flash update via devlink"). And is more likely to occur as of commit9ad19171b6
("lib/crc: remove unnecessary prompt for CONFIG_CRC32 and drop 'default y'"). Found by chance while exercising builds based on tinyconfig. Fixes:b8265621f4
("Add pldmfw library for PLDM firmware update") Signed-off-by: Simon Horman <horms@kernel.org> Reviewed-by: Jacob Keller <jacob.e.keller@intel.com> Link: https://patch.msgid.link/20250613-pldmfw-crc32-v1-1-f3fad109eee6@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
b844a5345a
commit
97ceca6cfc
@ -744,6 +744,7 @@ config GENERIC_LIB_DEVMEM_IS_ALLOWED
|
||||
|
||||
config PLDMFW
|
||||
bool
|
||||
select CRC32
|
||||
default n
|
||||
|
||||
config ASN1_ENCODER
|
||||
|
Loading…
Reference in New Issue
Block a user