ipack: print a hex number after a 0x prefix
PATCH 18/20 ipack: print a hex number after a 0x prefix
From: Uwe Kleine-König <[email protected]>
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.
Signed-off-by Uwe Kleine-König <[email protected]>
Cc Samuel Iglesias Gonsalvez <[email protected]>
Cc Jens Taprogge <[email protected]>
Cc Greg Kroah-Hartman <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
drivers/ipack/ipack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/ipack/ipack.c renamed from drivers/ipack/ipack.c~ipack-print-a-hex-number-after-a-0x-prefix +1 -1
@@ -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);
_