login
Header Space

 
 

Mailing list archives

Search results

Found 9 matching messages (0.181 seconds). Page 1 of 1.

[PATCH] x86: DS cleanup - dont treat 0 as NULL

... for such alignment. arch/x86/kernel/ds.c | 18 +++++++++--------- 1 files ... if (!context) - return 0; + return NULL; context->ds = kzalloc(ds_cfg.sizeof_ds, ... if (rlim < vm) - return 0; + return NULL; rlim = current->signal->rlim ...

linux-kernel - Cyrill Gorcunov - Apr 28 2008 - 15:15

Re: [PATCH] x86: DS cleanup - dont treat 0 as NULL

... > wrote: > Cyrill Gorcunov wrote: > > - return 0; > > + return NULL; > > Why? The constant 0 ... 's official symbol for a null pointer. > Yes, but by using ... you wanna drop NULL at all? I dont think you will ...

linux-kernel - Cyrill Gorcunov - Apr 29 2008 - 03:50

Re: [PATCH] x86: DS cleanup - dont treat 0 as NULL

Cyrill Gorcunov wrote: > - return 0; > + return NULL; Why? The constant 0 is C's official symbol for a null pointer. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in ...

linux-kernel - David Newall - Apr 29 2008 - 02:23

Re: [PATCH] x86: DS cleanup - dont treat 0 as NULL

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. -hpa -- To unsubscribe from this list ...

linux-kernel - H. Peter Anvin - Apr 29 2008 - 02:38

Re: [PATCH] x86: DS cleanup - dont treat 0 as NULL

... wrote: > 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 ...

linux-kernel - David Newall - Apr 29 2008 - 13:30

Re: [PATCH] x86: DS cleanup - dont treat 0 as NULL

... any reason for such > alignment. > I'm sorry, I don't see how this comment has anything to do with this patch? -hpa -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel. ...

linux-kernel - H. Peter Anvin - Apr 28 2008 - 15:45

Re: [PATCH] x86: DS cleanup - dont treat 0 as NULL

Cyrill Gorcunov wrote: > > Actually I wonder why in original code Atom processors was > _that_ aligned? Was it made with a special purpose? yes, > it's a mobile platform, but can't see any reason for such > alignment. > [...] > @@ -825,7 +

linux-kernel - H. Peter Anvin - Apr 28 2008 - 15:46

Re: [PATCH] x86: DS cleanup - dont treat 0 as NULL

Oh, my fault, i had to be more concrete :( -- 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

linux-kernel - Cyrill Gorcunov - Apr 28 2008 - 16:00

Re: [PATCH] x86: DS cleanup - dont treat 0 as NULL

* Cyrill Gorcunov wrote: > Signed-off-by: Cyrill Gorcunov thanks Cyrill, applied. > @@ -825,7 +825,7 @@ void __cpuinit ds_init_intel(struct cpuinfo_x86 *c) > ds_configure(&ds_cfg_var); > break

linux-kernel - Ingo Molnar - Apr 28 2008 - 16:02

speck-geostationary