lkml.org 
[lkml]   [1999]   [Jul]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: The great alpha compile warning hunt
On Fri, 23 Jul 1999, Albert D. Cahalan spouts:
> > You should UPcast to a long in most cases, not downcast to an int.
>
> This is not good. Every printk() with the problem ends up with
> an extra character in the format string and possibly extra overhead.
> For what? So you can have a 5 GB structure in kernel space?

So you can see when the top half of a 64 bit pointer has been trashed.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:53    [W:0.017 / U:0.348 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site