commit | 3e448aac5cd1f162beb045ca7f3481939a8aaf31 | [log] [tgz] |
---|---|---|
author | Rabin Vincent <rabin@rab.in> | Sun Apr 05 13:30:53 2009 +0530 |
committer | Andy Fleming <afleming@freescale.com> | Tue Jun 02 17:18:56 2009 -0500 |
tree | ee1f5c96aba8a19b2567d0f542e787f81a1f13f1 | |
parent | 920dd55dd17c64588cee68c3c7566f3df811406b [diff] |
mmc: check find_mmc_device return value find_mmc_device returns NULL if an invalid device number is specified. Check for this to avoid dereferencing NULL pointers. Signed-off-by: Rabin Vincent <rabin@rab.in>