[PATCH 0/1] bug: fix problem including <linux.bug.h> from linux/kernel.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



PATCH 1 is a follow-up patch to my previous patch "[PATCH v4 2/2]
kernel.h: handle pointers to arrays better in container_of()":
<https://lkml.org/lkml/2017/5/23/641>.  The previous patch introduced a
build failure:
<https://lists.01.org/pipermail/kbuild-all/2017-May/034127.html>.  The
build failure was due to a circular dependency introduced by the
previous patch and occurs when <asm-generic/bug.h> is included before
<linux/kernel.h> for architectures that select `CONFIG_GENERIC_BUG`.
PATCH 1 fixes this circular dependency.  Ideally, it should be applied
before my previous patch to avoid breakage during git bisect builds, but
can be applied after if that is not a concern.

1) bug: fix problem including <linux.bug.h> from linux/kernel.h

 include/asm-generic/bug.h | 1 -
 include/linux/bug.h       | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)



[Index of Archives]     [Linux Kernel]     [Kernel Newbies]     [x86 Platform Driver]     [Netdev]     [Linux Wireless]     [Netfilter]     [Bugtraq]     [Linux Filesystems]     [Yosemite Discussion]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux