From: Andi Kleen <andi@firstfloor.org>
To: akpm@linux-foundation.org
Cc: linux-acpi@vger.kernel.org, gorcunov@gmail.com
Subject: Re: [patch 1/2] acpi: add checking for NULL early param
Date: Thu, 21 Aug 2008 08:46:12 +0200 [thread overview]
Message-ID: <8763pun9vv.fsf@basil.nowhere.org> (raw)
In-Reply-To: <200808202341.m7KNfkb8005410@imap1.linux-foundation.org> (akpm@linux-foundation.org's message of "Wed, 20 Aug 2008 16:41:45 -0700")
akpm@linux-foundation.org writes:
> From: Cyrill Gorcunov <gorcunov@gmail.com>
>
> The early_param handling function could recieve NULL pointer as argument
> in case if user didn't enter parameter value. So we have to be ready for
> a such situation and do check for NULL pointer if needed.
>
> Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
> Cc: Andi Kleen <andi@firstfloor.org>
> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Queued for 2.6.27. Thanks.
But I wonder if it wouldn't be generally safer for the caller to just pass
an empty string instead of NULL in this case?
-Andi
next prev parent reply other threads:[~2008-08-21 6:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-20 23:41 [patch 1/2] acpi: add checking for NULL early param akpm
2008-08-21 6:46 ` Andi Kleen [this message]
2008-08-21 15:34 ` Cyrill Gorcunov
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=8763pun9vv.fsf@basil.nowhere.org \
--to=andi@firstfloor.org \
--cc=akpm@linux-foundation.org \
--cc=gorcunov@gmail.com \
--cc=linux-acpi@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.