login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
April
»
30
Re: [PATCH 4/4] drivers: atm, char fix integer as NULL pointer warnings
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
Alan Cox <alan@...>
To: Harvey Harrison <harvey.harrison@...>
Cc: Linus Torvalds <torvalds@...>, Al Viro <viro@...>, LKML <linux-kernel@...>
Subject:
Re: [PATCH 4/4] drivers: atm, char fix integer as NULL pointer warnings
Date: Wednesday, April 30, 2008 - 7:32 pm
> diff --git a/drivers/char/tty_io.c b/drivers/char/tty_io.c
quoted text
> 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 == '__PLACEHOLDER__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> --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
[PATCH 4/4] drivers: atm, char fix integer as NULL pointer w...
, Harvey Harrison
, (Mon Apr 28, 5:13 pm)
Re: [PATCH 4/4] drivers: atm, char fix integer as NULL point...
, Alan Cox
, (Wed Apr 30, 7:32 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
monstr
[PATCH 26/60] microblaze_v4: time support
Jon Smirl
Re: 463 kernel developers missing!
Andrew Morton
Re: x86: 4kstacks default
Greg KH
[GIT PATCH] driver core patches against 2.6.24
git
:
linux-netdev
:
Gerrit Renker
[PATCH 15/37] dccp: Set per-connection CCIDs via socket options
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
David Miller
Re: [GIT]: Networking
Jiri Olsa
[PATCHv5 0/2] net: fix race in the receive/select
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
2 users
and
566 guests
online.
Online users
aingol35
ionut
Syndicate