diff options
| author | Mathew McBride <[email protected]> | 2023-04-12 07:38:13 +0000 |
|---|---|---|
| committer | Peng Fan <[email protected]> | 2023-05-05 09:46:03 +0800 |
| commit | 8586a938682dbb0da669073c851e1f5ac62c37fe (patch) | |
| tree | fe4da30604d20e0e053ba7410cca5de10c771003 /include/linux/string.h | |
| parent | 7f30eec1779b8f641b9563a1dab6a6865916ec01 (diff) | |
armv8: fsl-layerscape: check for crypto node first in fdt_fixup_remove_jr
This a problem I found while updating the U-Boot fsl-ls1088a.dtsi
to match the Linux version.
fdt_fixup_remove_jr did not check whether there was a "crypto"
alias in the device tree before calling more fdt_* functions,
which resulted in a crash.
Fixes: a797f274
("ARMv8/sec_firmware : Update chosen/kaslr-seed with random number")
Signed-off-by: Mathew McBride <[email protected]>
Reviewed-by: Peng Fan <[email protected]>
Signed-off-by: Peng Fan <[email protected]>
Reviewed-by: Ioana Ciornei <[email protected]>
Tested-by: Ioana Ciornei <[email protected]> # on LS1088A-RDB
Diffstat (limited to 'include/linux/string.h')
0 files changed, 0 insertions, 0 deletions
