lkml.org 
[lkml]   [2010]   [Mar]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RESEND PATCH 0/2] Make functions of dev_<level> macros, recursive vsnprintf


On Sat, 6 Mar 2010, Joe Perches wrote:
>
> I believe 32 bits isn't possible.
>
> type:6
> flags:8
> width:8
> base:6
> precision:6
> qualifier:8

type: 5
flags: 7
width: 5 (make it 6 bits and signed)
base: 5
precision: 5 (make it 6 bits, and signed)
qualifier: 3

Now, admittedly, right now 'qualifier' really has to be 8, but that's just
because we use an ASCII character for it. But I don't think there are more
than 8 actual legal qualifiers. And 'base' could be just 2 bits, since
there are only a couple of legal bases, but I left room for them all
anyway.

And the other really should fit in those numbers unchanged, I think.

Linus


\
 
 \ /
  Last update: 2010-03-07 00:49    [W:0.195 / U:0.152 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site