summaryrefslogtreecommitdiff
path: root/drivers/media/video/ir-kbd-i2c.c
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>2011-01-21 16:56:47 +0100
committerGrant Likely <grant.likely@secretlab.ca>2011-01-21 09:26:24 -0700
commit8a6afb9a950de01457a4267bcbe3292e56412326 (patch)
tree0db7d430e83675414aa97b23b1eb60726a59486d /drivers/media/video/ir-kbd-i2c.c
parentc56eb8fb6dccb83d9fe62fd4dc00c834de9bc470 (diff)
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>
Diffstat (limited to 'drivers/media/video/ir-kbd-i2c.c')
0 files changed, 0 insertions, 0 deletions