From: Guennadi Liakhovetski Date: Fri, 21 Jan 2011 15:56:47 +0000 (+0100) Subject: spi/spi_sh_msiof: fix wrong address calculation, which leads to an Oops X-Git-Tag: v2.6.38-rc5~20^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a6afb9a950de01457a4267bcbe3292e56412326;p=pandora-kernel.git spi/spi_sh_msiof: fix wrong address calculation, which leads to an Oops NULL + != NULL, but reading from that 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 Signed-off-by: Grant Likely --- Reading git-diff-tree failed