login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
April
»
29
Re: [PATCH] x86: DS cleanup - dont treat 0 as NULL
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
David Newall <davidn@...>
To: Cyrill Gorcunov <gorcunov@...>
Cc: Ingo Molnar <mingo@...>, H. Peter Anvin <hpa@...>, Markus Metzger <markus.t.metzger@...>, LKML <linux-kernel@...>
Subject:
Re: [PATCH] x86: DS cleanup - dont treat 0 as NULL
Date: Tuesday, April 29, 2008 - 2:23 am
Cyrill Gorcunov wrote:
quoted text
> - return 0; > + return NULL;
Why? The constant 0 is C's official symbol for a null pointer. --
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] x86: DS cleanup - dont treat 0 as NULL
, Cyrill Gorcunov
, (Mon Apr 28, 3:15 pm)
Re: [PATCH] x86: DS cleanup - dont treat 0 as NULL
, David Newall
, (Tue Apr 29, 2:23 am)
Re: [PATCH] x86: DS cleanup - dont treat 0 as NULL
, Cyrill Gorcunov
, (Tue Apr 29, 3:50 am)
Re: [PATCH] x86: DS cleanup - dont treat 0 as NULL
, H. Peter Anvin
, (Tue Apr 29, 2:38 am)
Re: [PATCH] x86: DS cleanup - dont treat 0 as NULL
, David Newall
, (Tue Apr 29, 1:30 pm)
Re: [PATCH] x86: DS cleanup - dont treat 0 as NULL
, Ingo Molnar
, (Mon Apr 28, 4:02 pm)
Re: [PATCH] x86: DS cleanup - dont treat 0 as NULL
, H. Peter Anvin
, (Mon Apr 28, 3:46 pm)
Re: [PATCH] x86: DS cleanup - dont treat 0 as NULL
, Cyrill Gorcunov
, (Mon Apr 28, 4:00 pm)
Re: [PATCH] x86: DS cleanup - dont treat 0 as NULL
, H. Peter Anvin
, (Mon Apr 28, 3:45 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Andrew Morton
-mm merge plans for 2.6.23
David Miller
Re: [BUG] New Kernel Bugs
Greg KH
[GIT PATCH] driver core patches against 2.6.24
Andrew Morton
Re: Linux 2.6.21-rc4
git
:
linux-netdev
:
David Miller
[GIT]: Networking
Natalie Protasevich
[BUG] New Kernel Bugs
Jarek Poplawski
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Eric W. Biederman
[PATCH] macvlan: Support creating macvlans from macvlans
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
3 users
and
631 guests
online.
Online users
swatbolish
gregswanson4652
weighttrainith
Syndicate