aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-memcpy.c
diff options
context:
space:
mode:
authorPankaj Gupta <[email protected]>2023-05-12 20:40:33 +0530
committerHerbert Xu <[email protected]>2023-05-19 16:45:43 +0800
commit271e3830377ab5a7512c01eca95ae39a6e7bdfcf (patch)
treec62107e70ca33987bd1208c62dfdb6ae8c2df406 /lib/test_fortify/write_overflow-memcpy.c
parenta69c500018b97edec48ce9d41620748761322c83 (diff)
crypto: caam - Fix soc_id matching
Since, CAAM driver is probed before soc_device_attribute done as part of: - drivers/soc/imx/soc-imx8m.c (for i.MX8M) - drivers/firmware/imx/ele_mu.c (EdgeLock Enclave kernel driver, for i.MX8ULP) It is needed to return -EPROBE_DEFER, after calling soc_device_match() in drivers/crypto/caam/ctrl.c. soc_device_match returns NULL for: - i.MX8M - i.MX8ULP, can be considered that the SoC device has not been probed yet. Hence, it returns -EPROBE_DEFER directly. caam: imx: change to use of_match_node in run_descriptor_deco0 Providing imx8m_machine_match to match: - i.MX8M{Q,M,N,P}, - i.MX8ULP, so as to start using of_match_node, to simplify the code. Signed-off-by: Alice Guo <[email protected]> Signed-off-by: Pankaj Gupta <[email protected]> Reviewed-by: Dong Aisheng <[email protected]> Reviewed-by: Horia Geanta <[email protected]> Acked-by: Peng Fan <[email protected]> Acked-by: Alice Guo <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-memcpy.c')
0 files changed, 0 insertions, 0 deletions