aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/lists.py
diff options
context:
space:
mode:
authorHanjun Guo <[email protected]>2020-05-19 14:25:20 +0800
committerRafael J. Wysocki <[email protected]>2020-05-19 17:41:17 +0200
commit3f9f8daad3422809d1db47ef1ca5b1400c889f9d (patch)
treeb332574e47e2b5b2c3a3637bc987e4e809a3ff2d /scripts/gdb/linux/lists.py
parent8b7ce5e49049ca78c238f03d70569a73da049f32 (diff)
cpuidle: sysfs: Fix the overlap for showing available governors
When showing the available governors, it's "%s " in scnprintf(), not "%s", so if the governor name has 15 characters, it will overlap with the later one, fix it by adding one more for the size. While we are at it, fix the minor coding style issue and remove the "/sizeof(char)" since sizeof(char) always equals 1. Signed-off-by: Hanjun Guo <[email protected]> Reviewed-by: Doug Smythies <[email protected]> Tested-by: Doug Smythies <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions