summaryrefslogtreecommitdiff
path: root/tools/perf/util/bpf_counter.c
diff options
context:
space:
mode:
authorDinghao Liu <dinghao.liu@zju.edu.cn>2021-03-01 15:50:57 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-03-10 11:21:02 +0300
commitf8096ff38d5f62d8a2c473e1bec0163a1b2b86d8 (patch)
tree1c0b9215225f6f4508496090a32b8cef821f446a /tools/perf/util/bpf_counter.c
parentbc6350167ef4e003e463c25417b48a446e48001d (diff)
downloadlinux-f8096ff38d5f62d8a2c473e1bec0163a1b2b86d8.tar.xz
drivers: misc: ad525x_dpot: Add missing check in dpot_read_spi
The use of dpot_read_r8d8() after checking dpot->uid is similar. However, we check the return value and return an error code only in one path, which is odd. Link: https://lore.kernel.org/r/20210301125057.28819-1-dinghao.liu@zju.edu.cn Signed-off-by: Dinghao Liu <dinghao.liu@zju.edu.cn> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/util/bpf_counter.c')
0 files changed, 0 insertions, 0 deletions