diff options
author | Vinod Koul <vinod.koul@intel.com> | 2016-07-01 22:54:40 +0530 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2016-07-16 20:19:00 +0530 |
commit | f950f025364ad3ad4834cd1058737f272b2cc665 (patch) | |
tree | 24938fc2fa42e2da244125a7f33e437c9f95d68f /tools/perf | |
parent | cb28c7ab786b3e77f8435a41929b3ee9bcc51eb1 (diff) |
dmaengine: fsl_raid: fix size_t print specifiers
size_t should be printed with %zu, not %lu as driver did, so fix these
warning by doing this change
drivers/dma/fsl_raid.c: In function 'fsl_re_prep_dma_genq':
drivers/dma/fsl_raid.c:341:4: warning: format '%lu' expects argument of type
'long unsigned int', but argument 3 has type 'size_t' [-Wformat=]
len, FSL_RE_MAX_DATA_LEN);
^
drivers/dma/fsl_raid.c: In function 'fsl_re_prep_dma_pq':
drivers/dma/fsl_raid.c:428:4: warning: format '%lu' expects argument of type
'long unsigned int', but argument 3 has type 'size_t' [-Wformat=]
len, FSL_RE_MAX_DATA_LEN);
^
drivers/dma/fsl_raid.c: In function 'fsl_re_prep_dma_memcpy':
drivers/dma/fsl_raid.c:549:4: warning: format '%lu' expects argument of type
'long unsigned int', but argument 3 has type 'size_t' [-Wformat=]
len, FSL_RE_MAX_DATA_LEN);
^
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'tools/perf')
0 files changed, 0 insertions, 0 deletions