[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZD3W17bPmajL1gb9@bombadil.infradead.org>
Date:   Mon, 17 Apr 2023 16:31:35 -0700
From:   Luis Chamberlain <mcgrof@...nel.org>
To:     Arnd Bergmann <arnd@...nel.org>
Cc:     Arnd Bergmann <arnd@...db.de>, linux-modules@...r.kernel.org,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/2] module: stats: include uapi/linux/module.h
On Tue, Apr 18, 2023 at 12:02:46AM +0200, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@...db.de>
> 
> MODULE_INIT_COMPRESSED_FILE is defined in the uapi header, which
> is not included indirectly from the normal linux/module.h, but
> has to be pulled in explicitly:
> 
> kernel/module/stats.c: In function 'mod_stat_bump_invalid':
> kernel/module/stats.c:227:14: error: 'MODULE_INIT_COMPRESSED_FILE' undeclared (first use in this function)
>   227 |  if (flags & MODULE_INIT_COMPRESSED_FILE)
>       |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> Signed-off-by: Arnd Bergmann <arnd@...db.de>
Applied this 1/2 patch and pushed, thanks!
  Luis
Powered by blists - more mailing lists