Re: [PATCH] init/version.c: remove unused including <linux/version.h>

From: Andrew Morton
Date: Fri Apr 09 2021 - 01:05:14 EST


On Thu, 8 Apr 2021 14:26:58 +0800 Tian Tao <tiantao6@xxxxxxxxxxxxx> wrote:

> Remove including <linux/version.h> that don't need it.
>

Um, how can version.c possibly not include version.h?

Sure, it may obtain access to version.h via some other include, but
that's plain luck and nonsense. And it's unreliable and it requires
whichever-header-is-doing-this to continue to include version.h on
behalf of some .c file which should be including it directly!