Files
linux/drivers/mtd/devices
Dan Carpenter f78ec6b2f3 mtd/m25p80: fix test for end of loop
"plat_id" is always non-NULL here.  There is a zero element on the end
of the m25p_ids[] array and if we hit the end of the loop then plat_id
points to that.

This would lead to a NULL pointer dereference later on in the function.

Signed-off-by: Dan Carpenter <[email protected]>
Acked-by: Anton Vorontsov <[email protected]>
Signed-off-by: David Woodhouse <[email protected]>
2010-08-12 12:31:39 +01:00
..
2009-03-20 13:16:26 +00:00
2009-03-20 13:16:26 +00:00
2010-08-12 12:31:39 +01:00
2010-03-18 07:53:16 +00:00
2008-06-04 17:50:17 +01:00
2008-06-04 17:50:17 +01:00