[PATCH openEuler-5.10 218/557] memory: emif: check the pointer temp in get_device_details()