aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorVineet Gupta <[email protected]>2013-01-11 11:50:20 +0530
committerGreg Kroah-Hartman <[email protected]>2013-01-15 22:15:17 -0800
commit026bb292c4018dd77186dee1fcb73c9067e69b89 (patch)
tree2dd76feb11e1e40c613986c6e69805354fd372da /tools/perf/scripts/python
parente9ea096dd2259454e0d09d0b0445fe8f0117add4 (diff)
serial/arc-uart: Don't index with -ve platform_device->id
probe routine could index into port[] with -ve index. The check in arc_uart_init_one() was too late. This came to light when trying to port driver to CONFIG_OF, where bydefault of-core code sets -ve platform dev id and in absence of DT serial aliases, driver would use the -ve index. Signed-off-by: Vineet Gupta <[email protected]> Cc: Alan Cox <[email protected]> Cc: Jiri Slaby <[email protected]> Cc: [email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions