summaryrefslogtreecommitdiffstats
path: root/drivers/extcon/extcon.c
diff options
context:
space:
mode:
authorWaiman Long <longman@redhat.com>2018-11-14 09:55:40 -0800
committerIngo Molnar <mingo@kernel.org>2018-11-15 10:04:45 +0100
commitef1491e791308317bb9851a0ad380c4a68b58d54 (patch)
tree2c1bafd09323dc1ff3ee77452940774c5f91f214 /drivers/extcon/extcon.c
parent5929a1f0ff30d04ccf4b0f9c648e7aa8bc816bbd (diff)
downloadlinux-ef1491e791308317bb9851a0ad380c4a68b58d54.tar.gz
linux-ef1491e791308317bb9851a0ad380c4a68b58d54.tar.bz2
linux-ef1491e791308317bb9851a0ad380c4a68b58d54.zip
efi: Fix debugobjects warning on 'efi_rts_work'
The following commit: 9dbbedaa6171 ("efi: Make efi_rts_work accessible to efi page fault handler") converted 'efi_rts_work' from an auto variable to a global variable. However, when submitting the work, INIT_WORK_ONSTACK() was still used, causing the following complaint from debugobjects: ODEBUG: object 00000000ed27b500 is NOT on stack 00000000c7d38760, but annotated. Change the macro to just INIT_WORK() to eliminate the warning. Signed-off-by: Waiman Long <longman@redhat.com> Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Acked-by: Sai Praneeth Prakhya <sai.praneeth.prakhya@intel.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: linux-efi@vger.kernel.org Fixes: 9dbbedaa6171 ("efi: Make efi_rts_work accessible to efi page fault handler") Link: http://lkml.kernel.org/r/20181114175544.12860-2-ard.biesheuvel@linaro.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'drivers/extcon/extcon.c')
0 files changed, 0 insertions, 0 deletions