lkml.org 
[lkml]   [2010]   [Mar]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 4/5] fs: fat: use hex_asc_lo/hex_asc_hi instead of custom one
From
On Thu, Mar 11, 2010 at 9:21 AM, Joe Perches <joe@perches.com> wrote:
>> > +                           *op++ = hex_asc_hi(ec >> 8);
>> > +                           *op++ = hex_asc_lo(ec >> 8);
>> > +                           *op++ = hex_asc_hi(ec);
>> > +                           *op++ = hex_asc_lo(ec);
>> Why doesn't this use pack_hex_byte()?
> or snprintf
sprintf looks like overkill here.

--
With Best Regards,
Andy Shevchenko
\
 
 \ /
  Last update: 2010-03-11 09:03    [W:0.065 / U:35.792 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site