dmaengine: mv_xor: make the code 64 bits compliant
authorGregory CLEMENT <gregory.clement@free-electrons.com>
Fri, 29 Apr 2016 07:49:05 +0000 (09:49 +0200)
committerVinod Koul <vinod.koul@intel.com>
Tue, 3 May 2016 06:57:47 +0000 (12:27 +0530)
commitbc822e1251f908ab2560365d388f36afb9da255a
treedfa5d90a34fe461f69e0c850e7096a210963e232
parentf55532a0c0b8bb6148f4e07853b876ef73bc69ca
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>
drivers/dma/mv_xor.c