diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2019-12-18 16:34:21 +0100 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2020-01-06 18:18:38 +0100 |
commit | 551197864ad5d8ed01137b7008448bd18b9731d5 (patch) | |
tree | e54d330ff582e53aa9e2900ab580db2261dd77ec /drivers/interconnect | |
parent | Linux 5.5-rc5 (diff) | |
download | linux-551197864ad5d8ed01137b7008448bd18b9731d5.tar.xz linux-551197864ad5d8ed01137b7008448bd18b9731d5.zip |
kbuild: detect missing include guard for exported headers
Adding an include guard to every header file is good practice in case
it is included multiple times.
Exported headers are compile-tested for the comprehensive sanity checks.
Let's include the same header twice. If an include guard is missing,
the header will fail to build due to redefinition of something.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'drivers/interconnect')
0 files changed, 0 insertions, 0 deletions