]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
mtd: part: fix incorrect format specifier for an unsigned long long
authorColin Ian King <colin.king@canonical.com>
Thu, 31 Jan 2019 14:08:20 +0000 (14:08 +0000)
committerRichard Weinberger <richard@nod.at>
Mon, 6 May 2019 19:57:06 +0000 (21:57 +0200)
commit3008ba87093852f3756c5d33f584602e5e2a4aa4
tree7db3dcffd23a73d4fdbd311f331e9bee121559e0
parentfae4973c9a58858bc63a842cdaf7810955503399
mtd: part: fix incorrect format specifier for an unsigned long long

An unsigned long long is being formatted with %lld instead of the unsigned
version %llu. Fix this.

Clean up cppcheck warning:
%lld in format string (no. 1) requires 'long long' but the argument type
is 'unsigned long long'.

Fixes: a62c24d75529 ("mtd: part: Add sysfs variable for offset of partition")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
drivers/mtd/mtdpart.c