The patch titled Subject: lib/vsprintf.c: silence sparse warnings about decpair[] initialization has been added to the -mm tree. Its filename is lib-vsprintfc-even-faster-decimal-conversion-fix.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/lib-vsprintfc-even-faster-decimal-conversion-fix.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/lib-vsprintfc-even-faster-decimal-conversion-fix.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Rasmus Villemoes <linux@xxxxxxxxxxxxxxxxxx> Subject: lib/vsprintf.c: silence sparse warnings about decpair[] initialization sparse is unhappy about the initialization of decpair[] and spews out a ton of "incorrect type in initializer (different base types)". Shut it up so useful warnings wouldn't drown in the noise. Signed-off-by: Rasmus Villemoes <linux@xxxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- lib/vsprintf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN lib/vsprintf.c~lib-vsprintfc-even-faster-decimal-conversion-fix lib/vsprintf.c --- a/lib/vsprintf.c~lib-vsprintfc-even-faster-decimal-conversion-fix +++ a/lib/vsprintf.c @@ -149,7 +149,7 @@ int skip_atoi(const char **s) */ static const u16 decpair[100] = { -#define _(x) cpu_to_le16(((x % 10) | ((x / 10) << 8)) + 0x3030) +#define _(x) (__force u16) cpu_to_le16(((x % 10) | ((x / 10) << 8)) + 0x3030) _( 0), _( 1), _( 2), _( 3), _( 4), _( 5), _( 6), _( 7), _( 8), _( 9), _(10), _(11), _(12), _(13), _(14), _(15), _(16), _(17), _(18), _(19), _(20), _(21), _(22), _(23), _(24), _(25), _(26), _(27), _(28), _(29), _ Patches currently in -mm which might be from linux@xxxxxxxxxxxxxxxxxx are include-linux-remove-empty-conditionals.patch lib-vsprintfc-eliminate-some-branches.patch lib-vsprintfc-reduce-stack-use-in-number.patch lib-vsprintfc-eliminate-duplicate-hex-string-array.patch lib-vsprintfc-another-small-hack.patch lib-vsprintfc-fix-potential-null-deref-in-hex_string.patch lib-string_helpersc-refactor-string_escape_mem.patch lib-string_helpersc-change-semantics-of-string_escape_mem.patch lib-string_helpersc-change-semantics-of-string_escape_mem-fix.patch lib-string_helpersc-change-semantics-of-string_escape_mem-fix-fix.patch linux-bitmaph-improve-bitmap_lastfirst_word_mask.patch lib-find__bit-reimplementation.patch lib-find__bit-reimplementation-fix.patch lib-move-find_last_bit-to-lib-find_next_bitc.patch lib-rename-lib-find_next_bitc-to-lib-find_bitc.patch lib-vsprintfc-even-faster-decimal-conversion.patch lib-vsprintfc-even-faster-decimal-conversion-fix.patch binfmt_misc-simplify-entry_status.patch binfmt_misc-simplify-entry_status-fix.patch rtc-mc13xxx-fix-obfuscated-and-wrong-format-string.patch lib-lz4-pull-out-constant-tables.patch linux-next.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html