From: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
To: petkovbb@gmail.com
Cc: Harvey Harrison <harvey.harrison@gmail.com>,
linux-ide <linux-ide@vger.kernel.org>,
Andrew Morton <akpm@linux-foundation.org>
Subject: Re: [PATCH] ide: ide-cd_ioctl.c fix sparse integer as NULL pointer warnings
Date: Tue, 8 Jul 2008 20:00:16 +0200 [thread overview]
Message-ID: <200807082000.16341.bzolnier@gmail.com> (raw)
In-Reply-To: <20080706072619.GB31524@gollum.tnic>
On Sunday 06 July 2008, Borislav Petkov wrote:
> On Fri, Jul 04, 2008 at 04:46:53PM -0700, Harvey Harrison wrote:
> > The function ide_cd_queue_pc should be checked as the bufflen arg is
> > dereferenced and lots of callers are passing in NULL.
> >
> > drivers/ide/ide-cd_ioctl.c:124:46: warning: Using plain integer as NULL pointer
> > drivers/ide/ide-cd_ioctl.c:149:47: warning: Using plain integer as NULL pointer
> > drivers/ide/ide-cd_ioctl.c:231:46: warning: Using plain integer as NULL pointer
> > drivers/ide/ide-cd_ioctl.c:374:46: warning: Using plain integer as NULL pointer
> >
> > Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
>
> Acked-by: Borislav Petkov <petkovbb@gmail.com>
applied
prev parent reply other threads:[~2008-07-08 18:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-04 23:46 [PATCH] ide: ide-cd_ioctl.c fix sparse integer as NULL pointer warnings Harvey Harrison
2008-07-06 7:26 ` Borislav Petkov
2008-07-08 18:00 ` Bartlomiej Zolnierkiewicz [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=200807082000.16341.bzolnier@gmail.com \
--to=bzolnier@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=harvey.harrison@gmail.com \
--cc=linux-ide@vger.kernel.org \
--cc=petkovbb@gmail.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;
as well as URLs for NNTP newsgroup(s).