diff options
| author | Lee Jones <lee.jones@linaro.org> | 2021-11-26 10:33:35 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-12-08 08:44:04 +0100 |
| commit | 0801decc8053851b06e8fb32c39c19c247c1cad2 (patch) | |
| tree | 1796cc168df163620eeb3fe56210ac59e99a7f6a /drivers/usb/common/led.c | |
| parent | ae6f8ce9b7496a4ffd3ba545f824b44cdb217149 (diff) | |
staging: ion: Prevent incorrect reference counting behavour
Supply additional checks in order to prevent unexpected results.
Fixes: b892bf75b2034 ("ion: Switch ion to use dma-buf")
Suggested-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/common/led.c')
0 files changed, 0 insertions, 0 deletions
