diff options
| author | Pei Xiao <[email protected]> | 2025-07-09 07:37:13 +0000 |
|---|---|---|
| committer | Stephen Boyd <[email protected]> | 2025-07-24 22:29:16 +0000 |
| commit | 2dc2ca9000eea2eb749f658196204cb84d4306f7 (patch) | |
| tree | c1455a91864dc374b2260b7b9bae413482c4652a /tools/perf/scripts/python | |
| parent | clk: imx: scu: convert from round_rate() to determine_rate() (diff) | |
| download | kernel-2dc2ca9000eea2eb749f658196204cb84d4306f7.tar.gz kernel-2dc2ca9000eea2eb749f658196204cb84d4306f7.zip | |
clk: tegra: periph: Fix error handling and resolve unsigned compare warning
./drivers/clk/tegra/clk-periph.c:59:5-9: WARNING:
Unsigned expression compared with zero: rate < 0
The unsigned long 'rate' variable caused:
- Incorrect handling of negative errors
- Compile warning: "Unsigned expression compared with zero"
Fix by changing to long type and adding req->rate cast.
Signed-off-by: Pei Xiao <[email protected]>
Link: https://lore.kernel.org/r/79c7f01e29876c612e90d6d0157fb1572ca8b3fb.1752046270.git.xiaopei01@kylinos.cn
Acked-by: Thierry Reding <[email protected]>
Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
