summaryrefslogtreecommitdiff
path: root/api_examples
diff options
context:
space:
mode:
authorRabin Vincent <rabin@rab.in>2009-04-05 13:30:53 +0530
committerAndy Fleming <afleming@freescale.com>2009-06-02 17:18:56 -0500
commite85649c7e683faea1ccfddc9fa9abc62f38e4201 (patch)
treeee1f5c96aba8a19b2567d0f542e787f81a1f13f1 /api_examples
parentac0865ff33870cdf2cd480165045e1bc311e9fa2 (diff)
downloadu-boot-imx-e85649c7e683faea1ccfddc9fa9abc62f38e4201.zip
u-boot-imx-e85649c7e683faea1ccfddc9fa9abc62f38e4201.tar.gz
u-boot-imx-e85649c7e683faea1ccfddc9fa9abc62f38e4201.tar.bz2
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>
Diffstat (limited to 'api_examples')
0 files changed, 0 insertions, 0 deletions