diff options
| author | Hans Verkuil <[email protected]> | 2021-11-24 11:38:57 +0100 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2021-11-30 12:22:09 +0100 |
| commit | 2ddd03309433d39852945c2f85d36e796c558793 (patch) | |
| tree | f384b343b973038d61ef1cb6b5cdf37387e290fb /tools/perf/scripts/python/stackcollapse.py | |
| parent | 1a59cd88f55068710f6549bee548846661673780 (diff) | |
media: cec: safely unhook lists in cec_data
smatch warns about data->list not being removed from list:
drivers/media/cec/core/cec-adap.c:926 cec_transmit_msg_fh() warn: '&data->list' not removed from list
It is a false warning, but it doesn't hurt to make the code more robust
and safely unhook data->list and data->xfer_list together with a WARN_ON
if this is actually ever needed (this really shouldn't happen).
Note that fixing the data->list warning just replaced it with a new similar
warning for data->xfer_list, so both needed to be addressed.
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions