aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRoel Kluin <roel.kluin@gmail.com>2009-11-03 20:49:18 +0100
committerDavid Woodhouse <David.Woodhouse@intel.com>2009-11-30 09:50:46 +0000
commit35016dd7e92cf0eb5ae2e811445dd52320c348d0 (patch)
treeb836cd329ed1fae21e323f9eee9c15c012423a62 /include
parentmtd: m25p80: make command buffer DMA-safe (diff)
downloadlinux-dev-35016dd7e92cf0eb5ae2e811445dd52320c348d0.tar.xz
linux-dev-35016dd7e92cf0eb5ae2e811445dd52320c348d0.zip
mtd: ensure index is positive
The index is signed, make sure it is not negative when we read the array element. Signed-off-by: Roel Kluin <roel.kluin@gmail.com> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions