summaryrefslogtreecommitdiffstats
path: root/arch/blackfin/mach-bf527
diff options
context:
space:
mode:
authorBarry Song <barry.song@analog.com>2009-09-16 06:36:29 +0200
committerMike Frysinger <vapier@gentoo.org>2009-12-15 06:13:46 +0100
commit89e84eeace5924f29a4f8f25cce9fcb083969974 (patch)
tree95f2471d436918a2673c2a636594ea6c119210a5 /arch/blackfin/mach-bf527
parentBlackfin: use common code for cycle->nanosecond conversion (diff)
downloadlinux-89e84eeace5924f29a4f8f25cce9fcb083969974.tar.xz
linux-89e84eeace5924f29a4f8f25cce9fcb083969974.zip
Blackfin: add some bounds checking to peripheral_request
The requested peripheral is turned into an index into some state arrays, so make sure the calculated index doesn't exceed the index. This occurs when using bogus pin values or the define headers are screwed up. Now we'll notice right away that something needs fixing instead of trying to track down random memory corruption. Signed-off-by: Barry Song <barry.song@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/mach-bf527')
0 files changed, 0 insertions, 0 deletions