summaryrefslogtreecommitdiffstats
path: root/drivers/leds
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2021-04-01 20:10:30 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-08-19 05:32:08 +0200
commitb9c258b2a02ba8d6d004f45a1eafa23fd810746b (patch)
tree7e8aa35bd77995f3e7870a7e60c54ef2f8b078cc /drivers/leds
parent166a0bddcc27de41fe13f861c8348e8e53e988c8 (diff)
downloadlinux-stable-b9c258b2a02ba8d6d004f45a1eafa23fd810746b.tar.gz
linux-stable-b9c258b2a02ba8d6d004f45a1eafa23fd810746b.tar.bz2
linux-stable-b9c258b2a02ba8d6d004f45a1eafa23fd810746b.zip
driver core: Cast to (void *) with __force for __percpu pointer
[ Upstream commit d7aa44f5a1f86cb40659eef06035d8d92604b9d5 ] Sparse is not happy: drivers/base/devres.c:1230:9: warning: cast removes address space '__percpu' of expression Use __force attribute to make it happy. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20210401171030.60527-1-andriy.shevchenko@linux.intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Stable-dep-of: bd50a974097b ("devres: Fix memory leakage caused by driver API devm_free_percpu()") Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/leds')
0 files changed, 0 insertions, 0 deletions