lkml.org 
[lkml]   [2003]   [Feb]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] morse code panics for 2.5.62
> [jbglaw@lug-owl.de]
>
> Then, you can have
> const char morses[] = {
> MORSE2('A', '.', '-'),
> MORSE4('B', '-', '.', '.', '.'),
> MORSE4('C', '-', '.', '-', '.'),
> MORSE3('D', '-', '.', '.'),
> MORSE1('E', '.'),
> MORSE4('F', '.', '.', '-', '.')
> ...
> };
>
> That's going to take exactly the same memory in the compiled vmlinux
> image, *and* it's really readable:-) Of course, gcc will optimize any
> added "bloat" away...

Looks good to me, can you send an updated patch?

--
Tomas Szepe <szepe@pinerecords.com>
-
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/

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