diff options
author | 2023-05-30 11:55:36 +0200 | |
---|---|---|
committer | 2023-06-16 19:39:51 +0200 | |
commit | 4384a70c8813e8573d1841fd94eee873f80a7e1a (patch) | |
tree | e180b4cb400517ebc6e7d9e5c5b6e709c5821666 /scripts/generate_rust_analyzer.py | |
parent | PM: domains: fix integer overflow issues in genpd_parse_state() (diff) | |
download | wireguard-linux-4384a70c8813e8573d1841fd94eee873f80a7e1a.tar.xz wireguard-linux-4384a70c8813e8573d1841fd94eee873f80a7e1a.zip |
PM: domains: Move the verification of in-params from genpd_add_device()
Commit f38d1a6d0025 ("PM: domains: Allocate governor data dynamically
based on a genpd governor") started to use the in-parameters in
genpd_add_device(), without first doing a verification of them.
This isn't really a big problem, as most callers do a verification already.
Therefore, let's drop the verification from genpd_add_device() and make
sure all the callers take care of it instead.
Reported-by: Dan Carpenter <dan.carpenter@linaro.org>
Fixes: f38d1a6d0025 ("PM: domains: Allocate governor data dynamically based on a genpd governor")
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions