Linux ACPI
 help / color / mirror / Atom feed
From: Borislav Petkov <bp@alien8.de>
To: Vasyl Gomonovych <vgomonovych@marvell.com>
Cc: rafael@kernel.org, lenb@kernel.org, james.morse@arm.com,
	Tony Luck <tony.luck@intel.com>,
	Randy Dunlap <rdunlap@infradead.org>,
	Yazen Ghannam <yazen.ghannam@amd.com>,
	Robert Richter <rrichter@amd.com>,
	Tom Saeger <tom.saeger@oracle.com>,
	linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] ACPI: APEI: Check NULL argument in exported symbol
Date: Thu, 23 Sep 2021 22:48:11 +0200	[thread overview]
Message-ID: <YUzoCwg/cShU2auq@zn.tnic> (raw)
In-Reply-To: <20210923195612.25949-1-vgomonovych@marvell.com>

On Thu, Sep 23, 2021 at 12:56:10PM -0700, Vasyl Gomonovych wrote:
> Exported symbol apei_hest_parse is external API
> and should check pointer argument

Why?

All users pass a proper, non-NULL function pointer AFAICT.

-- 
Regards/Gruss,
    Boris.

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

  reply	other threads:[~2021-09-23 20:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-23 19:56 [PATCH] ACPI: APEI: Check NULL argument in exported symbol Vasyl Gomonovych
2021-09-23 20:48 ` Borislav Petkov [this message]
2021-09-23 21:03   ` Borislav Petkov
  -- strict thread matches above, loose matches on Subject: below --
2021-09-24 15:25 Vasyl Gomonovych
2021-09-24 16:11 ` Borislav Petkov

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=YUzoCwg/cShU2auq@zn.tnic \
    --to=bp@alien8.de \
    --cc=james.morse@arm.com \
    --cc=lenb@kernel.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rafael@kernel.org \
    --cc=rdunlap@infradead.org \
    --cc=rrichter@amd.com \
    --cc=tom.saeger@oracle.com \
    --cc=tony.luck@intel.com \
    --cc=vgomonovych@marvell.com \
    --cc=yazen.ghannam@amd.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