Guennadi Liakhovetski 8a6afb9a95 spi/spi_sh_msiof: fix wrong address calculation, which leads to an Oops
NULL + <small offset> != NULL, but reading from that <small offset> address
is usually not a very good idea and often leads to problems, like kernel
Oopses in this case, easily reproducible by writing to an SD-card, used in
SPI mode.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
2011-01-21 09:26:24 -07:00
..
2007-02-14 08:09:53 -08:00
2010-12-24 01:23:25 -07:00
2010-12-24 01:23:25 -07:00
2011-01-12 22:50:54 -07:00
2010-12-25 15:32:27 +01:00
2010-11-01 15:38:34 -04:00