mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Borislav Petkov <bp@suse.de>
To: Dongjiu Geng <gengdongjiu@huawei.com>
Cc: rjw@rjwysocki.net, lenb@kernel.org, tbaicar@codeaurora.org,
	will.deacon@arm.com, prarit@redhat.com,
	linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v7] acpi: apei: remove the unused dead-code for SEA/NMI notification type
Date: Sat, 21 Oct 2017 14:15:11 +0200	[thread overview]
Message-ID: <20171021121511.mr2u7etyfj5t2xra@pd.tnic> (raw)
In-Reply-To: <20171021103503.23598-1-gengdongjiu@huawei.com>

On Sat, Oct 21, 2017 at 06:35:03PM +0800, Dongjiu Geng wrote:
> For the SEA notification, the two functions ghes_sea_add() and
> ghes_sea_remove() are only called when CONFIG_ACPI_APEI_SEA
> is defined. If not, it will return errors in the ghes_probe()
> and not continue. If the probe is failed, the ghes_sea_remove()
> also has no chance to be called. Hence, remove the unnecessary
> handling when CONFIG_ACPI_APEI_SEA is not defined.
> 
> For the NMI notification, it has the same issue as SEA notification,
> so also remove the unused dead-code for it.
> 
> Cc: Tyler Baicar <tbaicar@codeaurora.org>
> Cc: James Morse <james.morse@arm.com>
> Signed-off-by: Dongjiu Geng <gengdongjiu@huawei.com>
> Tested-by: Tyler Baicar <tbaicar@codeaurora.org>
> Signed-off-by: Borislav Petkov <bp@suse.de>

I gave you Reviewed-by, not Signed-off-by.

Before you send more patches, read this:

Documentation/process/submitting-patches.rst

You can read the whole document but do especially concentrate on
sections 11-13, in order to get an idea how the SOB chain and all that
patch tagging works.

Thx.

-- 
Regards/Gruss,
    Boris.

SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)
-- 

  reply	other threads:[~2017-10-21 12:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-21 10:35 Dongjiu Geng
2017-10-21 12:15 ` Borislav Petkov [this message]
2017-10-22  6:13   ` gengdongjiu

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=20171021121511.mr2u7etyfj5t2xra@pd.tnic \
    --to=bp@suse.de \
    --cc=gengdongjiu@huawei.com \
    --cc=lenb@kernel.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=prarit@redhat.com \
    --cc=rjw@rjwysocki.net \
    --cc=tbaicar@codeaurora.org \
    --cc=will.deacon@arm.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

all inboxes | Powered by JetHome®