From: Randy Dunlap <randy.dunlap@xxxxxxxxxx> 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: Randy Dunlap <randy.dunlap@xxxxxxxxxx> Cc: Ossama Othman <ossama.othman@xxxxxxxxx> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxx> --- drivers/staging/memrar/memrar_handler.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/staging/memrar/memrar_handler.c b/drivers/staging/memrar/memrar_handler.c index 4bbf66f..3e0dfe3 100644 --- a/drivers/staging/memrar/memrar_handler.c +++ b/drivers/staging/memrar/memrar_handler.c @@ -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); -- 1.7.0.3 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/devel