mirror of
https://github.com/hardkernel/linux.git
synced 2026-04-17 11:00:43 +09:00
If platform_get_resource fails, mem2 is null. Do not dereference null. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: David S. Miller <davem@davemloft.net>