aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2026-05-12 13:17:55 +0300
committerManivannan Sadhasivam <mani@kernel.org>2026-05-19 19:49:57 +0530
commit94ac934d2c054fba4a22d8dc84749094c5fa0ec0 (patch)
tree77f962202a9e589d50ed40982f376b95216650ee /tools/perf/scripts/python/bin
parentd25f1dd6b986070e2324bf373097f0fced1e57e1 (diff)
PCI: dwc: Fix signedness bug in fault injection test code
The kstrtou32() function returns negative error code or zero on success. However, in this case "val" is a u32 and the function returns signed long, so negative error codes from kstrtou32() are returned as high positive values. Store the error code in an int instead. Fixes: d20ee8e2dbd6 ("PCI: dwc: Add debugfs based Error Injection support for DWC") Signed-off-by: Dan Carpenter <error27@gmail.com> Signed-off-by: Manivannan Sadhasivam <mani@kernel.org> Reviewed-by: Hans Zhang <18255117159@163.com> Link: https://patch.msgid.link/agL-Uwfn26SI4Gb0@stanley.mountain
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions