aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorThomas Gleixner <[email protected]>2009-10-14 22:54:40 +0000
committerBenjamin Herrenschmidt <[email protected]>2009-10-30 17:21:28 +1100
commitfd62c6c448669a946e94fbb0ad179918b2233e3d (patch)
tree3067f9abbfeea2a41a0a183057bcf76d7ddaba3d /tools/perf/scripts/python/bin
parentae7dd0208f62f1d6db4c49b85e54fa7bbed0ea4e (diff)
powerpc/nvram_64: Check nvram_error_log_index in nvram_clear_error_log()
nvram_clear_error_log() calls ppc_md.nvram_write() even when nvram_error_log_index is -1 (invalid). The nvram_write() function does not check for a negative offset. Check nvram_error_log_index as the other nvram log functions do. Signed-off-by: Thomas Gleixner <[email protected]> Cc: Benjamin Herrenschmidt <[email protected]> Cc: [email protected] Signed-off-by: Benjamin Herrenschmidt <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions