[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAK7LNASzLkVzt7k41vdLCjJb5hET6QRkOE6e6o-onzmyYG6c+w@mail.gmail.com>
Date: Mon, 9 Jun 2025 09:36:32 +0900
From: Masahiro Yamada <masahiroy@...nel.org>
To: Huacai Chen <chenhuacai@...ngson.cn>
Cc: linux-kbuild@...r.kernel.org, Andrew Morton <akpm@...ux-foundation.org>,
Alexander Viro <viro@...iv.linux.org.uk>, Christian Brauner <brauner@...nel.org>, Jan Kara <jack@...e.cz>,
chenhuacai@...nel.org, linux-mm@...ck.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] init: Fix build warnings about export.h
On Sun, Jun 8, 2025 at 11:12 PM Huacai Chen <chenhuacai@...ngson.cn> wrote:
>
> After commit a934a57a42f64a4 ("scripts/misc-check: check missing #include
> <linux/export.h> when W=1") and 7d95680d64ac8e836c ("scripts/misc-check:
> check unnecessary #include <linux/export.h> when W=1"), we get some build
> warnings with W=1:
>
> init/main.c: warning: EXPORT_SYMBOL() is used, but #include <linux/export.h> is missing
> init/initramfs.c: warning: EXPORT_SYMBOL() is used, but #include <linux/export.h> is missing
>
> So fix these build warnings for the init code.
>
> Signed-off-by: Huacai Chen <chenhuacai@...ngson.cn>
Thank you for your contribution.
Reviewed-by: Masahiro Yamada <masahiroy@...nel.org>
--
Best Regards
Masahiro Yamada
Powered by blists - more mailing lists