The patch titled Subject: ipack: print a hex number after a 0x prefix has been added to the -mm tree. Its filename is ipack-print-a-hex-number-after-a-0x-prefix.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/ipack-print-a-hex-number-after-a-0x-prefix.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/ipack-print-a-hex-number-after-a-0x-prefix.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: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx> Subject: ipack: print a hex number after a 0x prefix It makes the result hard to interpret correctly if a base 10 number is prefixed by 0x. So change to a hex number. Link: http://lkml.kernel.org/r/20161026125658.25728-4-u.kleine-koenig@xxxxxxxxxxxxxx Signed-off-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx> Cc: Samuel Iglesias Gonsalvez <siglesias@xxxxxxxxxx> Cc: Jens Taprogge <jens.taprogge@xxxxxxxxxxxx> Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/ipack/ipack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN drivers/ipack/ipack.c~ipack-print-a-hex-number-after-a-0x-prefix drivers/ipack/ipack.c --- a/drivers/ipack/ipack.c~ipack-print-a-hex-number-after-a-0x-prefix +++ a/drivers/ipack/ipack.c @@ -178,7 +178,7 @@ static ssize_t modalias_show(struct devi idev->id_vendor, idev->id_device); } -ipack_device_attr(id_format, "0x%hhu\n"); +ipack_device_attr(id_format, "0x%hhx\n"); static DEVICE_ATTR_RO(id); static DEVICE_ATTR_RO(id_device); _ Patches currently in -mm which might be from u.kleine-koenig@xxxxxxxxxxxxxx are fs-exofs-print-a-hex-number-after-a-0x-prefix.patch block-dac960-print-a-hex-number-after-a-0x-prefix.patch ipack-print-a-hex-number-after-a-0x-prefix.patch misc-sgi-gru-print-a-hex-number-after-a-0x-prefix.patch cris-arch-v32-cryptocop-print-a-hex-number-after-a-0x-prefix.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