diff options
| author | Viresh Kumar <viresh.kumar@linaro.org> | 2020-08-27 10:54:16 +0530 |
|---|---|---|
| committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2020-08-27 12:51:25 +0200 |
| commit | 30b8e6b22fd0f7a56911e69c681e92532e72e3b6 (patch) | |
| tree | 9bcb70cac5e21f15957282dc089250f0f4067943 /tools/perf/util/scripting-engines/trace-event-python.c | |
| parent | 681fe68448ef370f1d7213cab38013ab8e9d8ff0 (diff) | |
cpufreq: Use WARN_ON_ONCE() for invalid relation
The relation can't be invalid here, so if it turns out to be invalid,
just WARN_ON_ONCE() and return 0.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
[ rjw: Subject and changelog edits ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions
