aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/failed-syscalls-by-pid.py
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2025-05-28 08:11:41 +0000
committerDave Jiang <[email protected]>2025-06-09 16:18:15 +0000
commit87b42c114cdda76c8ad3002f2096699ad5146cb3 (patch)
tree2bdb81518ff5342fd141e7526141e24bc709b414 /tools/perf/scripts/python/failed-syscalls-by-pid.py
parentLinux 6.16-rc1 (diff)
downloadkernel-87b42c114cdda76c8ad3002f2096699ad5146cb3.tar.gz
kernel-87b42c114cdda76c8ad3002f2096699ad5146cb3.zip
cxl: fix return value in cxlctl_validate_set_features()
The cxlctl_validate_set_features() function is type bool. It's supposed to return true for valid requests and false for invalid. However, this error path returns ERR_PTR(-EINVAL) which is true when it was intended to return false. The incorrect return will result in kernel failing to prevent a incorrect op_size passed in from userspace to be detected. [ dj: Add user impact to commit log ] Fixes: f76e0bbc8bc3 ("cxl: Update prototype of function get_support_feature_info()") Signed-off-by: Dan Carpenter <[email protected]> Reviewed-by: Ira Weiny <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Dave Jiang <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions