Re: Dealing with SUBLEVEL overflow in backports

Jiaxun Yang <[email protected]> Mon, 7 Feb 2022 13:40:03 +0000
Newsgroups org.kernel.vger.backports
Message-ID <[email protected]>

在 2022/2/7 13:04, Johannes Berg 写道:
> On Mon, 2022-02-07 at 12:52 +0000, Jiaxun Yang wrote:
>> 在 2022/2/7 11:11, Johannes Berg 写道:
>>> Looking at commit b29eec6c49, does it even matter? We can continue using
>>> bug.h which includes build_bug.h, it's just pulling in more than needed.
>> Sorry, in which tree?
>>
> In 4.9.x.
>
> Basically, we _cannot_ include build_bug.h where we know for sure it
> does *not* exist, since that would be a compile error.
>
> We don't _want_ to include bug.h from build_bug.h if we can avoid it,
> since it's bigger and more stuff.
>
> But for 4.9.x, I'm not sure we need to change anything, since we'll
> include bug.h from build_bug.h which should continue to work?

Sorry I didn't follow, the problem for 4.9.297+ is when we are including
bug.h, it just include build_bug.h from backport-include.
Then in backport-include build_bug.h, the include_next is excluded so
the real build_bug.h from kernel tree is never included and thus those
macros supposed to be in build_bug.h can never work.

Thanks.
- Jiaxun

>
> johannes

--
To unsubscribe from this list: send the line "unsubscribe backports" in