diff options
| author | Len Brown <[email protected]> | 2012-07-27 01:32:01 +0000 |
|---|---|---|
| committer | Len Brown <[email protected]> | 2012-07-27 01:35:28 +0000 |
| commit | 869639f9e7ff5ca337b27469c298dd11c29cf0fa (patch) | |
| tree | 335b176040be788e4710591e2e4848e456980055 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py | |
| parent | ACPI / PM: Fix build warning in sleep.c for CONFIG_ACPI_SLEEP unset (diff) | |
| download | kernel-869639f9e7ff5ca337b27469c298dd11c29cf0fa.tar.gz kernel-869639f9e7ff5ca337b27469c298dd11c29cf0fa.zip | |
ACPI: replace strlen("string") with sizeof("string") -1
...both give the number of chars in the string
without the '\0', as strncmp() wants,
but sizeof() is compile-time.
Reported-by: Alan Stern <[email protected]>
Cc: Pavel Vasilyev <[email protected]>
Signed-off-by: Len Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions
