diff options
author | Mike Snitzer | 2020-04-02 21:11:24 -0400 |
---|---|---|
committer | Mike Snitzer | 2020-04-03 10:44:24 -0400 |
commit | e7fc1e57d9abd008b020bb92f1750f8e6c68a956 (patch) | |
tree | 1ead0941367b8bc143856f7763884adf1b899ad7 /scripts | |
parent | 81d5553d1288c2ec0390f02f84d71ca0f0f9f137 (diff) |
dm integrity: fix ppc64le warning
Otherwise:
In file included from drivers/md/dm-integrity.c:13:
drivers/md/dm-integrity.c: In function 'dm_integrity_status':
drivers/md/dm-integrity.c:3061:10: error: format '%llu' expects
argument of type 'long long unsigned int', but argument 4 has type
'long int' [-Werror=format=]
DMEMIT("%llu %llu",
^~~~~~~~~~~
atomic64_read(&ic->number_of_mismatches),
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./include/linux/device-mapper.h:550:46: note: in definition of macro 'DMEMIT'
0 : scnprintf(result + sz, maxlen - sz, x))
^
cc1: all warnings being treated as errors
Fixes: 7649194a1636ab5 ("dm integrity: remove sector type casts")
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions