diff options
author | Oleksandr Suvorov <oleksandr.suvorov@toradex.com> | 2020-05-21 21:42:07 +0300 |
---|---|---|
committer | Oleksandr Suvorov <oleksandr.suvorov@toradex.com> | 2020-05-21 21:43:09 +0300 |
commit | 4cb81c29dde242744eccf9f37f2014ea3b37ade2 (patch) | |
tree | 6e1995a91ebc6007b80597ecc922d806d8960cce /backport-include/linux/rtnetlink.h | |
parent | e8ef623db4bd6fb85df341d583000e1b12a64a63 (diff) |
backport-include: fix loop in includingColibri-iMX7_LXDE-Image_2.8b7.-20200610Colibri-iMX6_LXDE-Image_2.8b7.-20200610Colibri-iMX6ULL_LXDE-Image_2.8b7.-20200610Apalis-iMX6_LXDE-Image_2.8b7.-20200610Apalis-TK1_LXDE-Image_2.8b7.-20200610Apalis-TK1-Mainline_LXDE-Image_2.8b7.-20200610toradex-5.4
asm-generic/bug.h should proceeded before linux/bug.h
to avoid the compillation error [1].
[1]
=======================================
In file included from backport-include/linux/bug.h:3,
from backport-include/linux/kernel.h:4,
from include/asm-generic/bug.h:13,
from backport-include/asm-generic/bug.h:3,
from ./arch/arm/include/asm/bug.h:62,
from ./arch/arm/include/asm/div64.h:63,
from include/linux/math64.h:5,
from backport-include/linux/math64.h:3,
from include/linux/jiffies.h:5,
from backport-include/linux/jiffies.h:3,
from net/mac80211/rx.c:12:
include/linux/bug.h:91:47: warning: ‘struct bug_entry’ declared inside parameter list will not be visible outside of this definition or declaration
91 | static inline int is_warning_bug(const struct bug_entry *bug)
| ^~~~~~~~~
include/linux/bug.h: In function ‘is_warning_bug’:
include/linux/bug.h:93:12: error: dereferencing pointer to incomplete type ‘const struct bug_entry’
93 | return bug->flags & BUGFLAG_WARNING;
| ^~
=======================================
Related-to: ELB-2724
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
Diffstat (limited to 'backport-include/linux/rtnetlink.h')
0 files changed, 0 insertions, 0 deletions