diff options
author | Gregory CLEMENT <gregory.clement@free-electrons.com> | 2016-04-29 09:49:05 +0200 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2016-05-03 12:27:47 +0530 |
commit | bc822e1251f908ab2560365d388f36afb9da255a (patch) | |
tree | dfa5d90a34fe461f69e0c850e7096a210963e232 /block | |
parent | f55532a0c0b8bb6148f4e07853b876ef73bc69ca (diff) |
dmaengine: mv_xor: make the code 64 bits compliant
Fix two warnings which appear when building for 64 bits target:
drivers/dma/mv_xor.c: In function ‘mv_xor_prep_dma_xor’:
drivers/dma/mv_xor.c:480:3: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 6 has type ‘size_t {aka long unsigned int}’ [-Wformat=]
"%s src_cnt: %d len: %u dest %pad flags: %ld\n",
^
drivers/dma/mv_xor.c: In function ‘mv_xor_probe’:
drivers/dma/mv_xor.c:1223:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
op_in_desc = (int)of_id->data;
^
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions