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:
H. Peter Anvin <hpa@...>
To: David Newall <davidn@...>
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 - 2:38 am
David Newall wrote:
quoted text
> 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. -hpa --
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
:
David Miller
Re: Slow DOWN, please!!!
Tarkan Erimer
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Greg Kroah-Hartman
[PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO
Greg KH
Re: [AppArmor 39/45] AppArmor: Profile loading and manipulation, pathname matching
git
:
linux-netdev
:
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Josip Rodin
bnx2_poll panicking kernel
David Miller
[GIT]: Networking
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
2 users
and
928 guests
online.
Online users
cbelgrnc87x
interdinros
Syndicate