lkml.org 
[lkml]   [2023]   [Apr]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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@arndb.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@arndb.de>

Applied this 1/2 patch and pushed, thanks!

Luis

\
 
 \ /
  Last update: 2023-04-18 01:32    [W:0.080 / U:0.472 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site