diff options
| author | Hans Zhang <18255117159@163.com> | 2026-04-01 10:30:48 +0800 |
|---|---|---|
| committer | Manivannan Sadhasivam <mani@kernel.org> | 2026-04-02 23:07:27 +0530 |
| commit | 445588a3b18bb0702d746cb61f7a443639027651 (patch) | |
| tree | 327641bb0fcf97a581c0e4284a4ce1f304a367ae /tools/perf/scripts/python | |
| parent | 698dab284b9d1c8aace73af8aaf0cfb74fc8ce92 (diff) | |
PCI: dwc: Fix type mismatch for kstrtou32_from_user() return value
kstrtou32_from_user() returns int, but the return value was stored in
a u32 variable 'val', risking sign loss. Use a dedicated int variable
to correctly handle the return code.
Fixes: 4fbfa17f9a07 ("PCI: dwc: Add debugfs based Silicon Debug support for DWC")
Signed-off-by: Hans Zhang <18255117159@163.com>
Signed-off-by: Manivannan Sadhasivam <mani@kernel.org>
Link: https://patch.msgid.link/20260401023048.4182452-1-18255117159@163.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
