From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: Harvey Harrison <harvey.harrison@gmail.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>,
Al Viro <viro@ZenIV.linux.org.uk>,
LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 4/4] drivers: atm, char fix integer as NULL pointer warnings
Date: Thu, 1 May 2008 00:32:51 +0100 [thread overview]
Message-ID: <20080501003251.022fec3d@core> (raw)
In-Reply-To: <1209417200.14173.103.camel@brick>
> diff --git a/drivers/char/tty_io.c b/drivers/char/tty_io.c
> index 4d3c701..98b65a2 100644
> --- a/drivers/char/tty_io.c
> +++ b/drivers/char/tty_io.c
> @@ -1180,7 +1180,7 @@ struct tty_driver *tty_find_polling_driver(char *name, int *line)
> if (*str == ',')
> str++;
> if (*str == '\0')
> - str = 0;
> + str = NULL;
>
> if (tty_line >= 0 && tty_line <= p->num && p->poll_init &&
> !p->poll_init(p, tty_line, str)) {
Acked-by: Alan Cox <alan@redhat.com>
prev parent reply other threads:[~2008-04-30 23:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-28 21:13 [PATCH 4/4] drivers: atm, char fix integer as NULL pointer warnings Harvey Harrison
2008-04-30 23:32 ` Alan Cox [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=20080501003251.022fec3d@core \
--to=alan@lxorguk.ukuu.org.uk \
--cc=harvey.harrison@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@linux-foundation.org \
--cc=viro@ZenIV.linux.org.uk \
/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