mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -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
|
|
@ -628,8 +628,8 @@ static void ace_fsm_dostate(struct ace_device *ace)
|
|||
|
||||
/* Okay, it's a data request, set it up for transfer */
|
||||
dev_dbg(ace->dev,
|
||||
"request: sec=%lx hcnt=%lx, ccnt=%x, dir=%i\n",
|
||||
req->sector, req->hard_nr_sectors,
|
||||
"request: sec=%llx hcnt=%lx, ccnt=%x, dir=%i\n",
|
||||
(unsigned long long) req->sector, req->hard_nr_sectors,
|
||||
req->current_nr_sectors, rq_data_dir(req));
|
||||
|
||||
ace->req = req;
|
||||
|
|
|
|||
Loading…
Reference in a new issue