Rabin Vincent e85649c7e6 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>
2009-06-02 17:18:56 -05:00
..
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-04-28 08:50:31 +02:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-04-03 23:47:06 +02:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-05-15 21:19:02 +02:00
2009-01-28 08:49:52 +01:00
2009-04-02 06:42:08 -04:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-04-04 22:42:54 +02:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-02-22 15:49:28 +01:00
2008-08-06 14:05:38 +02:00
2008-10-18 21:54:03 +02:00
2008-10-18 21:54:03 +02:00
2009-04-03 23:47:06 +02:00
2008-10-18 21:54:03 +02:00
2008-12-16 00:47:10 +01:00
2008-10-18 21:54:03 +02:00
2008-10-18 21:54:03 +02:00
2008-10-18 21:54:03 +02:00
2006-08-31 16:46:53 +02:00