summaryrefslogtreecommitdiff
path: root/crypto/cast_common.c
diff options
context:
space:
mode:
authorAlex Dewar <alex.dewar90@gmail.com>2020-09-03 21:31:34 +0300
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2021-03-22 19:17:08 +0300
commitf07d34d141e08d8de46ca1c5ef2cb73988d7339c (patch)
treedba7a8adf2621bfbf889f4b7245c642b059146fc /crypto/cast_common.c
parentd4a3fa6652e3f617bd4cfe3fef99f25a84ffa2ca (diff)
downloadlinux-f07d34d141e08d8de46ca1c5ef2cb73988d7339c.tar.xz
media: staging: media: atomisp: Don't abort on error in module exit path
The function lm3554_remove() checks for the return code for lm3554_gpio_uninit() even though this is on the exit path and exits the function, leaving the variable flash unfreed. Print a warning instead and free flash unconditionally. Link: https://lore.kernel.org/linux-media/20200903183145.720727-1-alex.dewar90@gmail.com Signed-off-by: Alex Dewar <alex.dewar90@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'crypto/cast_common.c')
0 files changed, 0 insertions, 0 deletions