lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Wed, 27 Mar 2024 16:48:28 +0100
From: Borislav Petkov <bp@...en8.de>
To: Yazen Ghannam <yazen.ghannam@....com>
Cc: tony.luck@...el.com, linux-edac@...r.kernel.org,
	linux-kernel@...r.kernel.org, avadhut.naik@....com,
	john.allen@....com,
	"anthony s . knowles" <akira.2020@...tonmail.com>
Subject: Re: [PATCH] RAS: Avoid build errors when CONFIG_DEBUG_FS=n

On Tue, Mar 26, 2024 at 08:32:52PM +0000, Yazen Ghannam wrote:
> A new helper was introduced for RAS modules to get be able to get the
> RAS subsystem debugfs root directory. The helper is defined in debugfs.c
> which is only built when CONFIG_DEBUG_FS=y.
> 
> However, it's possible that the modules would include debugfs support
> for optional functionality. One current example is the fmpm module. In
> this case, a build error will occur when CONFIG_RAS_FMPM is selected and
> CONFIG_DEBUG_FS=n.
> 
> Add an inline helper function stub for the CONFIG_DEBUG_FS=n case.
> 
> Fixes: 9d2b6fa09d15 ("RAS: Export helper to get ras_debugfs_dir")
> Reported-by: anthony s. knowles <akira.2020@...tonmail.com>
> Closes: https://bugzilla.kernel.org/show_bug.cgi?id=218640
> Signed-off-by: Yazen Ghannam <yazen.ghannam@....com>
> Tested-by: anthony s. knowles <akira.2020@...tonmail.com>
> Link: https://lore.kernel.org/r/20240325183755.776-1-bp@alien8.de
> ---
>  drivers/ras/debugfs.h | 4 ++++
>  1 file changed, 4 insertions(+)

Applied, thanks.

-- 
Regards/Gruss,
    Boris.

https://people.kernel.org/tglx/notes-about-netiquette

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ