Prev: numa: fix BUILD_BUG_ON for node_read_distance
Next: fs/partition/msdos: Fix unusable extended partition for > 512B sector
From: OGAWA Hirofumi on 10 Mar 2010 18:20 Andy Shevchenko <andy.shevchenko(a)gmail.com> writes: > if (uni_xlate == 1) { > - *op = ':'; > - for (k = 4; k > 0; k--) { > - nc = ec & 0xF; > - op[k] = nc > 9 ? nc + ('a' - 10) > - : nc + '0'; > - ec >>= 4; > - } > - op += 5; > + *op++ = ':'; > + *op++ = hex_asc_hi(ec >> 8); > + *op++ = hex_asc_lo(ec >> 8); > + *op++ = hex_asc_hi(ec); > + *op++ = hex_asc_lo(ec); > len -= 5; Why doesn't this use pack_hex_byte()? Thanks. -- OGAWA Hirofumi <hirofumi(a)mail.parknet.co.jp> -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ |