[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAMj1kXGJ9_B48n-vDJC45m5kEYgVnsG--MDDO_crWTgBKj05rQ@mail.gmail.com>
Date: Thu, 11 Aug 2022 17:07:20 +0200
From: Ard Biesheuvel <ardb@...nel.org>
To: Jia He <justin.he@....com>
Cc: Len Brown <lenb@...nel.org>, James Morse <james.morse@....com>,
Tony Luck <tony.luck@...el.com>,
Borislav Petkov <bp@...en8.de>,
Mauro Carvalho Chehab <mchehab@...nel.org>,
Robert Richter <rric@...nel.org>,
Robert Moore <robert.moore@...el.com>,
linux-acpi@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-edac@...r.kernel.org, devel@...ica.org,
"Rafael J . Wysocki" <rafael@...nel.org>,
Shuai Xue <xueshuai@...ux.alibaba.com>,
Jarkko Sakkinen <jarkko@...nel.org>, linux-efi@...r.kernel.org,
nd@....com, toshi.kani@....com
Subject: Re: [PATCH 1/2] efi/cper: export several helpers for ghes edac to use
On Thu, 11 Aug 2022 at 11:17, Jia He <justin.he@....com> wrote:
>
> Before modularizing the ghes_edac codes, we need to export several efi/cper
> helpers to avoid linking error of ghes_edac.
>
> Signed-off-by: Jia He <justin.he@....com>
Acked-by: Ard Biesheuvel <ardb@...nel.org>
> ---
> drivers/firmware/efi/cper.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/drivers/firmware/efi/cper.c b/drivers/firmware/efi/cper.c
> index e4e5ea7ce910..053eae13f409 100644
> --- a/drivers/firmware/efi/cper.c
> +++ b/drivers/firmware/efi/cper.c
> @@ -290,6 +290,7 @@ int cper_mem_err_location(struct cper_mem_err_compact *mem, char *msg)
>
> return n;
> }
> +EXPORT_SYMBOL_GPL(cper_mem_err_location);
>
> int cper_dimm_err_location(struct cper_mem_err_compact *mem, char *msg)
> {
> @@ -310,6 +311,7 @@ int cper_dimm_err_location(struct cper_mem_err_compact *mem, char *msg)
>
> return n;
> }
> +EXPORT_SYMBOL_GPL(cper_dimm_err_location);
>
> void cper_mem_err_pack(const struct cper_sec_mem_err *mem,
> struct cper_mem_err_compact *cmem)
> @@ -331,6 +333,7 @@ void cper_mem_err_pack(const struct cper_sec_mem_err *mem,
> cmem->mem_array_handle = mem->mem_array_handle;
> cmem->mem_dev_handle = mem->mem_dev_handle;
> }
> +EXPORT_SYMBOL_GPL(cper_mem_err_pack);
>
> const char *cper_mem_err_unpack(struct trace_seq *p,
> struct cper_mem_err_compact *cmem)
> --
> 2.25.1
>
Powered by blists - more mailing lists