summaryrefslogtreecommitdiffstats
path: root/lib/once.c
diff options
context:
space:
mode:
authorSudeep Holla <sudeep.holla@arm.com>2020-04-03 18:10:18 +0100
committerSudeep Holla <sudeep.holla@arm.com>2020-04-14 09:31:49 +0100
commit23818b3d8590a79d56af9659cf709ebfae30f832 (patch)
treef1a8cc3222f5a95fca257d303a6c8148e77a618b /lib/once.c
parent70771c69ab9be6e37618b1ec6c105f370e510f94 (diff)
downloadlinux-23818b3d8590a79d56af9659cf709ebfae30f832.tar.bz2
firmware: arm_scpi: Add include guard to linux/scpi_protocol.h
If this header is include twice, it will generate loads of compile time error with the following below error pattern. It was reported by 0day kbuild robot on a branch pushed with double inclusion by accident. This is based on the similar change in linux/scmi_protocol.h error: conflicting types for ‘...’ note: previous declaration of ‘...’ was here error: redefinition of ‘...’ Add a header include guard just in case. Link: https://lore.kernel.org/r/20200403171018.1230-2-sudeep.holla@arm.com Reported-by: kbuild test robot <lkp@intel.com> Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Diffstat (limited to 'lib/once.c')
0 files changed, 0 insertions, 0 deletions