summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil-cisco@xs4all.nl>2023-10-06 12:08:45 +0200
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2023-10-13 11:33:21 +0200
commitf31b2cb85f0ee165d78e1c43f6d69f82cc3b2145 (patch)
tree6366ba49308d53c42b4aedab6b7ec573b4ac3970 /tools/perf/scripts/python/libxed.py
parent51b74c09ac8c5862007fc2bf0d465529d06dd446 (diff)
media: dvb-usb-v2: af9035: fix missing unlock
Instead of returning an error, goto the mutex unlock at the end of the function. Fixes smatch warning: drivers/media/usb/dvb-usb-v2/af9035.c:467 af9035_i2c_master_xfer() warn: inconsistent returns '&d->i2c_mutex'. Locked on : 326,387 Unlocked on: 465,467 Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Fixes: 7bf744f2de0a ("media: dvb-usb-v2: af9035: Fix null-ptr-deref in af9035_i2c_master_xfer") Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions