public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Kees Cook <keescook@chromium.org>
To: Colin Ian King <colin.i.king@gmail.com>
Cc: Arnd Bergmann <arnd@arndb.de>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] lkdtm: cfi: use NULL for a null pointer rather than zero
Date: Mon, 13 Jun 2022 10:13:58 -0700	[thread overview]
Message-ID: <202206131013.BC01222@keescook> (raw)
In-Reply-To: <20220612202708.2754270-1-colin.i.king@gmail.com>

On Sun, Jun 12, 2022 at 09:27:08PM +0100, Colin Ian King wrote:
> There is a pointer being initialized with a zero, use NULL instead.
> 
> Cleans up sparse warning:
> drivers/misc/lkdtm/cfi.c:100:27: warning: Using plain integer as NULL pointer
> 
> Signed-off-by: Colin Ian King <colin.i.king@gmail.com>

Acked-by: Kees Cook <keescook@chromium.org>

-- 
Kees Cook

      reply	other threads:[~2022-06-13 19:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-12 20:27 [PATCH] lkdtm: cfi: use NULL for a null pointer rather than zero Colin Ian King
2022-06-13 17:13 ` Kees Cook [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=202206131013.BC01222@keescook \
    --to=keescook@chromium.org \
    --cc=arnd@arndb.de \
    --cc=colin.i.king@gmail.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=kernel-janitors@vger.kernel.org \
    --cc=linux-kernel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox