diff options
| author | Guennadi Liakhovetski <[email protected]> | 2011-01-21 15:56:47 +0000 |
|---|---|---|
| committer | Grant Likely <[email protected]> | 2011-01-21 16:26:24 +0000 |
| commit | 8a6afb9a950de01457a4267bcbe3292e56412326 (patch) | |
| tree | 0db7d430e83675414aa97b23b1eb60726a59486d /net/unix/af_unix.c | |
| parent | Linux 2.6.38-rc1 (diff) | |
| download | kernel-8a6afb9a950de01457a4267bcbe3292e56412326.tar.gz kernel-8a6afb9a950de01457a4267bcbe3292e56412326.zip | |
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 <[email protected]>
Signed-off-by: Grant Likely <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
