lkml.org 
[lkml]   [1999]   [Jan]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] some Alpha cleanups
Date
> 	*(int *)&id->cur_capacity0 = id->lba_capacity;
>
> in ide_disk.c. Such code is terrible.

That one is

> Nobody knows the order of the two shorts in an int.
> And everyone who does know will be sorry.
> On some machines this will work, on others it won't.

It works on them all for now - not that it excuses this

What I mean is for a lot of the unaligned trap cases that arent bugs you
can use the egcs stuff


-
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:49    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog