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: H. Peter Anvin <hpa@...>
Cc: Cyrill Gorcunov <gorcunov@...>, Ingo Molnar <mingo@...>, Markus Metzger <markus.t.metzger@...>, LKML <linux-kernel@...>
Subject:
Re: [PATCH] x86: DS cleanup - dont treat 0 as NULL
Date: Tuesday, April 29, 2008 - 1:30 pm
H. Peter Anvin wrote:
quoted text
> David Newall wrote: >> Cyrill Gorcunov wrote: >>> - return 0; >>> + return NULL; >> >> Why? The constant 0 is C's official symbol for a null pointer. > > It's still bad style.
I disagree, but I don't want to debate the point. --
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
:
Tarkan Erimer
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Greg KH
[GIT PATCH] driver core patches against 2.6.24
David Newall
Re: Slow DOWN, please!!!
Peter Zijlstra
[PATCH 00/23] per device dirty throttling -v8
linux-netdev
:
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
David Miller
[GIT]: Networking
Natalie Protasevich
[BUG] New Kernel Bugs
openbsd-misc
:
git
:
Colocation donated by:
Who's online
There are currently
1 user
and
638 guests
online.
Online users
roundthejollyro
Syndicate