Skip to content
Commit f4ad317a authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Mike Snitzer
Browse files

dm log writes: use ULL suffix for 64-bit constants



On 32-bit:
drivers/md/dm-log-writes.c: In function ‘log_super’:
drivers/md/dm-log-writes.c:323: warning: integer constant is too large for ‘long’ type

Add a ULL suffix to WRITE_LOG_MAGIC to fix this.
Also add a ULL suffix to WRITE_LOG_VERSION as it's stored in a __le64
field.

Signed-off-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
parent e223e1de
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment