public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: Peter Huewe <peterhuewe@gmx.de>
Cc: Greg Kroah-Hartman <gregkh@suse.de>,
	Markus Grabner <grabner@icg.tugraz.at>,
	Shawn Bohrer <shawn.bohrer@gmail.com>, Tejun Heo <tj@kernel.org>,
	devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] staging/line6: Fix sparse warning 'Using plain integer as NULL pointer'
Date: Wed, 8 Dec 2010 14:30:23 -0800	[thread overview]
Message-ID: <20101208223023.GA1860@kroah.com> (raw)
In-Reply-To: <1291761482-28500-1-git-send-email-peterhuewe@gmx.de>

On Tue, Dec 07, 2010 at 11:38:02PM +0100, Peter Huewe wrote:
> This patch fixes the warning generated by sparse: "Using plain integer
> as NULL pointer" by replacing the offending 0s with NULL.
> 
> Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
> ---
> KernelVersion: linux-next-20101207
> (line6 staging driver does currently _not_ build, but this is not caused by this patch.
> Maybe I'll have a look at it.)

It builds just fine for me here, what errors are you seeing?

thanks,

greg k-h

  reply	other threads:[~2010-12-08 22:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-07 22:38 [PATCH] staging/line6: Fix sparse warning 'Using plain integer as NULL pointer' Peter Huewe
2010-12-08 22:30 ` Greg KH [this message]
2010-12-08 22:46   ` Peter Hüwe

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=20101208223023.GA1860@kroah.com \
    --to=greg@kroah.com \
    --cc=devel@driverdev.osuosl.org \
    --cc=grabner@icg.tugraz.at \
    --cc=gregkh@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=peterhuewe@gmx.de \
    --cc=shawn.bohrer@gmail.com \
    --cc=tj@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