Commit ee52c44d authored by Uwe Kleine-König's avatar Uwe Kleine-König Committed by Linus Torvalds

block: DAC960: print a hex number after a 0x prefix

It makes the message 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-3-u.kleine-koenig@pengutronix.deSigned-off-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 14f947c8
...@@ -2954,7 +2954,7 @@ DAC960_DetectController(struct pci_dev *PCI_Device, ...@@ -2954,7 +2954,7 @@ DAC960_DetectController(struct pci_dev *PCI_Device,
case DAC960_PD_Controller: case DAC960_PD_Controller:
if (!request_region(Controller->IO_Address, 0x80, if (!request_region(Controller->IO_Address, 0x80,
Controller->FullModelName)) { Controller->FullModelName)) {
DAC960_Error("IO port 0x%d busy for Controller at\n", DAC960_Error("IO port 0x%lx busy for Controller at\n",
Controller, Controller->IO_Address); Controller, Controller->IO_Address);
goto Failure; goto Failure;
} }
...@@ -2990,7 +2990,7 @@ DAC960_DetectController(struct pci_dev *PCI_Device, ...@@ -2990,7 +2990,7 @@ DAC960_DetectController(struct pci_dev *PCI_Device,
case DAC960_P_Controller: case DAC960_P_Controller:
if (!request_region(Controller->IO_Address, 0x80, if (!request_region(Controller->IO_Address, 0x80,
Controller->FullModelName)){ Controller->FullModelName)){
DAC960_Error("IO port 0x%d busy for Controller at\n", DAC960_Error("IO port 0x%lx busy for Controller at\n",
Controller, Controller->IO_Address); Controller, Controller->IO_Address);
goto Failure; goto Failure;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment