mirror of
https://github.com/torvalds/linux.git
synced 2024-12-04 18:13:04 +00:00
2262a65f0b
When claiming SRAM, if the base is set to an error, it means that the
SRAM controller has been probed, but failed to remap the controller
memory zone. If the base is zero, thus the SRAM controller should be not
probed at all, and it should return -EPROBE_DEFER. However, currently we
returned -EPROBE_DEFER in the former situation, and ignored the latter
situation (which will lead to the kernel to panic).
Fix the behavior on abnormal base address processing when claiming.
Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
Fixes:
|
||
---|---|---|
.. | ||
actions | ||
atmel | ||
bcm | ||
dove | ||
fsl | ||
imx | ||
mediatek | ||
qcom | ||
renesas | ||
rockchip | ||
samsung | ||
sunxi | ||
tegra | ||
ti | ||
ux500 | ||
versatile | ||
zte | ||
Kconfig | ||
Makefile |