diff options
| author | Ye Guojin <[email protected]> | 2021-11-10 10:51:33 +0000 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2021-11-19 03:17:06 +0000 |
| commit | cc03facb1c4248997592fc683518c00cc257db1a (patch) | |
| tree | 85f0808365af82f78882b5f0076b1cd8a1115886 /tools/perf/util/scripting-engines/trace-event-perl.c | |
| parent | scsi: scsi_debug: Fix type in min_t to avoid stack OOB (diff) | |
| download | kernel-cc03facb1c4248997592fc683518c00cc257db1a.tar.gz kernel-cc03facb1c4248997592fc683518c00cc257db1a.zip | |
scsi: ufs: ufs-mediatek: Add put_device() after of_find_device_by_node()
This was found by coccicheck:
./drivers/scsi/ufs/ufs-mediatek.c, 211, 1-7, ERROR missing put_device;
call of_find_device_by_node on line 1185, but without a corresponding
object release within this function.
Link: https://lore.kernel.org/r/[email protected]
Reported-by: Zeal Robot <[email protected]>
Reviewed-by: Peter Wang <[email protected]>
Signed-off-by: Ye Guojin <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions
