Commit 6cbfa625 authored by Randy Dunlap's avatar Randy Dunlap Committed by Greg Kroah-Hartman

Staging: memrar: fix printk format warning

Fix printk format warning in memrar:
drivers/staging/memrar/memrar_handler.c:393: warning: format '%u' expects type 'unsigned int', but argument 4 has type 'size_t'
Signed-off-by: default avatarRandy Dunlap <randy.dunlap@oracle.com>
Cc: Ossama Othman <ossama.othman@intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 3fffdf20
......@@ -390,7 +390,7 @@ static int memrar_init_rar_resources(char const *devname)
(unsigned long) low,
(unsigned long) high);
pr_info("%s: BRAR[%d] size = %u KiB\n",
pr_info("%s: BRAR[%d] size = %zu KiB\n",
devname,
z,
rar->allocator->capacity / 1024);
......
Markdown is supported
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