On 23/06/17 18:51, Brian Norris wrote: > On Fri, Jun 23, 2017 at 12:02:34PM +0200, Rafał Miłecki wrote: >> On 2017-06-23 11:00, Colin King wrote: >>> From: Colin Ian King <colin.king@xxxxxxxxxxxxx> >>> >>> Use %zx instead of %X for size_t variable offset, fixes build warning: >>> >>> warning: format '%X' expects argument of type 'unsigned int', but >>> argument >>> 2 has type 'size_t {aka long unsigned int}' [-Wformat=] >>> >>> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx> >> >> I sent similar patch few hours earlier: >> [PATCH] mtd: parsers: trx: fix pr_err format for printing offset >> https://patchwork.ozlabs.org/patch/779789/ >> >> Brian: you may pick the one with nicer commit message, whichever one you >> prefer :) > > I'll go with: > (a) the earlier one and > (b) the one that doesn't change 'X' to 'x' > > That means Rafał, you're our lucky winner today! Thanks for playing, > Colin. FYI, I used %zx rather than %zX as couldn't find any instances of it in the kernel and I wasn't 100% sure if it was supported or not. linux-next: $ git grep "%zx" | wc -l 161 $ git grep "%zX" | wc -l 0 Colin > > Regards, > Brian > -- > To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html > -- To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html