lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20100429104632.8558f75c.randy.dunlap@oracle.com>
Date:	Thu, 29 Apr 2010 10:46:32 -0700
From:	Randy Dunlap <randy.dunlap@...cle.com>
To:	lkml <linux-kernel@...r.kernel.org>, linux-next@...r.kernel.org
Cc:	devel@...verdev.osuosl.org, gregkh@...e.de,
	Ossama Othman <ossama.othman@...el.com>
Subject: [PATCH -next] memrar: fix printk format warning

From: Randy Dunlap <randy.dunlap@...cle.com>

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@...cle.com>
Cc: Ossama Othman <ossama.othman@...el.com>
---
 drivers/staging/memrar/memrar_handler.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-next-20100429.orig/drivers/staging/memrar/memrar_handler.c
+++ linux-next-20100429/drivers/staging/memrar/memrar_handler.c
@@ -390,7 +390,7 @@ static int memrar_init_rar_resources(cha
 			(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);
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ