mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
powerpc/virtex: fix various format/casting printk mismatches
Various printk format string in code used by the Xilinx Virtex platform are not 32-bit/64-bit safe. Add correct casting to fix the bugs. Reported-by: Josh Boyer <[email protected]> Signed-off-by: Grant Likely <[email protected]> Acked-by: Josh Boyer <[email protected]>
This commit is contained in:
parent
847cdf42d5
commit
a108096878
5 changed files with 14 additions and 12 deletions
|
|
@ -286,8 +286,8 @@ static void ulite_release_port(struct uart_port *port)
|
|||
|
||||
static int ulite_request_port(struct uart_port *port)
|
||||
{
|
||||
pr_debug("ulite console: port=%p; port->mapbase=%x\n",
|
||||
port, port->mapbase);
|
||||
pr_debug("ulite console: port=%p; port->mapbase=%llx\n",
|
||||
port, (unsigned long long) port->mapbase);
|
||||
|
||||
if (!request_mem_region(port->mapbase, ULITE_REGION, "uartlite")) {
|
||||
dev_err(port->dev, "Memory region busy\n");
|
||||
|
|
|
|||
Loading…
Reference in a new issue