diff options
author | Ricardo Ribalda <[email protected]> | 2024-04-29 16:04:50 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <[email protected]> | 2024-05-03 11:10:58 +0100 |
commit | 6cff72f6bcee89228a662435b7c47e21a391c8d0 (patch) | |
tree | 6307ebc80d376fef51a6cc3c11cf7835ceabaa1d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 6a56625b9e64593339937072897938f673de8a80 (diff) |
media: s2255: Use refcount_t instead of atomic_t for num_channels
Use an API that resembles more the actual use of num_channels.
Found by cocci:
drivers/media/usb/s2255/s2255drv.c:2362:5-24: WARNING: atomic_dec_and_test variation before object free at line 2363.
drivers/media/usb/s2255/s2255drv.c:1557:5-24: WARNING: atomic_dec_and_test variation before object free at line 1558.
Link: https://lore.kernel.org/linux-media/[email protected]
Signed-off-by: Ricardo Ribalda <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions