diff options
| author | 2026-04-01 10:30:48 +0800 | |
|---|---|---|
| committer | 2026-04-02 23:07:27 +0530 | |
| commit | 445588a3b18bb0702d746cb61f7a443639027651 (patch) | |
| tree | 327641bb0fcf97a581c0e4284a4ce1f304a367ae /include/linux/bcma/ssh:/git@git.zx2c4.com/git: | |
| parent | PCI: dwc: Expose PCIe event counters for groups 5 to 7 over debugfs (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 'include/linux/bcma/ssh:/git@git.zx2c4.com/git:')
0 files changed, 0 insertions, 0 deletions
