summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/scheduler/gpu_scheduler_trace.h
diff options
context:
space:
mode:
authorAnders Roxell <anders.roxell@linaro.org>2019-02-15 17:55:51 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-04-05 22:34:36 +0200
commitaa6c9fcac011bf67a43bb36bccb54aebd69fff83 (patch)
treef1e8ce6d0058569223972f313401b8281601a716 /drivers/gpu/drm/scheduler/gpu_scheduler_trace.h
parent55d7152d37dccfa9add45df82fd45c373e032f46 (diff)
downloadblackbird-obmc-linux-aa6c9fcac011bf67a43bb36bccb54aebd69fff83.tar.gz
blackbird-obmc-linux-aa6c9fcac011bf67a43bb36bccb54aebd69fff83.zip
efi: Fix build error due to enum collision between efi.h and ima.h
[ Upstream commit 5c418dc789a3898717ebf2caa5716ba91a7150b2 ] The following commit: a893ea15d764 ("tpm: move tpm_chip definition to include/linux/tpm.h") introduced a build error when both IMA and EFI are enabled: In file included from ../security/integrity/ima/ima_fs.c:30: ../security/integrity/ima/ima.h:176:7: error: redeclaration of enumerator "NONE" What happens is that both headers (ima.h and efi.h) defines the same 'NONE' constant, and it broke when they started getting included from the same file: Rework to prefix the EFI enum with 'EFI_*'. Signed-off-by: Anders Roxell <anders.roxell@linaro.org> Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> 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 Link: http://lkml.kernel.org/r/20190215165551.12220-2-ard.biesheuvel@linaro.org [ Cleaned up the changelog a bit. ] Signed-off-by: Ingo Molnar <mingo@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/scheduler/gpu_scheduler_trace.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud