Searched hist:a4b81ca5 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/mtd/devices/ |
H A D | sst25l.c | a4b81ca5 Sat May 22 15:16:26 CDT 2010 Dan Carpenter <error27@gmail.com> mtd: sst25l: check for null consistently
The rest of the function assumes that "data" can be null. I don't know the code well enough to say whether it can actually be null, but there is no harm in checking here.
Signed-off-by: Dan Carpenter <error27@gmail.com> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com> a4b81ca5 Sat May 22 15:16:26 CDT 2010 Dan Carpenter <error27@gmail.com> mtd: sst25l: check for null consistently The rest of the function assumes that "data" can be null. I don't know the code well enough to say whether it can actually be null, but there is no harm in checking here. Signed-off-by: Dan Carpenter <error27@gmail.com> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
|