diff options
author | Viresh Kumar | 2020-08-27 10:54:16 +0530 |
---|---|---|
committer | Rafael J. Wysocki | 2020-08-27 12:51:25 +0200 |
commit | 30b8e6b22fd0f7a56911e69c681e92532e72e3b6 (patch) | |
tree | 9bcb70cac5e21f15957282dc089250f0f4067943 /include/linux/slab.h | |
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 'include/linux/slab.h')
0 files changed, 0 insertions, 0 deletions