From: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
To: Shiju Jose <shiju.jose@huawei.com>
Cc: <linux-edac@vger.kernel.org>, <linuxarm@huawei.com>,
<tanxiaofei@huawei.com>
Subject: Re: [PATCH 1/1] rasdaemon: fix build error in register_ns_ev_decoder if the sqlite3 is not enabled
Date: Wed, 26 May 2021 09:23:22 +0200 [thread overview]
Message-ID: <20210526092322.5d588d57@coco.lan> (raw)
In-Reply-To: <20210309161856.352-1-shiju.jose@huawei.com>
Em Tue, 9 Mar 2021 16:18:56 +0000
Shiju Jose <shiju.jose@huawei.com> escreveu:
> ns_ev_decoder->stmt_dec_record = NULL; in the register_ns_ev_decoder()
> should be under #ifdef HAVE_SQLITE3 to fix the compilation error
> when build without the configure option --enable-sqlite3.
>
> Signed-off-by: Shiju Jose <shiju.jose@huawei.com>
Applied, thanks!
> ---
> ras-non-standard-handler.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/ras-non-standard-handler.c b/ras-non-standard-handler.c
> index 1862335..8d9802d 100644
> --- a/ras-non-standard-handler.c
> +++ b/ras-non-standard-handler.c
> @@ -74,7 +74,9 @@ int register_ns_ev_decoder(struct ras_ns_ev_decoder *ns_ev_decoder)
> return -1;
>
> ns_ev_decoder->next = NULL;
> +#ifdef HAVE_SQLITE3
> ns_ev_decoder->stmt_dec_record = NULL;
> +#endif
> if (!ras_ns_ev_dec_list) {
> ras_ns_ev_dec_list = ns_ev_decoder;
> } else {
Thanks,
Mauro
prev parent reply other threads:[~2021-05-26 7:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-09 16:18 [PATCH 1/1] rasdaemon: fix build error in register_ns_ev_decoder if the sqlite3 is not enabled Shiju Jose
2021-05-26 7:23 ` Mauro Carvalho Chehab [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210526092322.5d588d57@coco.lan \
--to=mchehab+huawei@kernel.org \
--cc=linux-edac@vger.kernel.org \
--cc=linuxarm@huawei.com \
--cc=shiju.jose@huawei.com \
--cc=tanxiaofei@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).