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>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 19 Jun 2009 13:32:56 -0500
From:	Jonathan Brassow <jbrassow@...hat.com>
To:	randy.dunlap@...cle.com
Cc:	Stephen Rothwell <sfr@...b.auug.org.au>,
	device-mapper development <dm-devel@...hat.com>,
	Andrew Morton <akpm@...ux-foundation.org>,
	linux-next@...r.kernel.org, LKML <linux-kernel@...r.kernel.org>
Subject: Re: [dm-devel] [PATCH -next] dm: fix dm-log-userspace printk format

thanks, I've pulled this into my patch as well.

  brassow

On Jun 19, 2009, at 1:24 PM, Randy Dunlap wrote:

> From: Randy Dunlap <randy.dunlap@...cle.com>
>
> Fix printk format warning:
>
> drivers/md/dm-log-userspace-transfer.c:110: warning: format '%lu'  
> expects type 'long unsigned int', but argument 4 has type 'size_t'
>
> Signed-off-by: Randy Dunlap <randy.dunlap@...cle.com>
> Cc: Jonathan Brassow <dm-devel@...hat.com>
> Cc: dm-devel@...hat.com
> ---
> drivers/md/dm-log-userspace-transfer.c |    2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> --- linux-next-20090619.orig/drivers/md/dm-log-userspace-transfer.c
> +++ linux-next-20090619/drivers/md/dm-log-userspace-transfer.c
> @@ -108,7 +108,7 @@ static int fill_pkg(struct cn_msg *msg,
> 				*(pkg->data_size) = 0;
> 		} else if (tfr->data_size > *(pkg->data_size)) {
> 			DMERR("Insufficient space to receive package [%u] "
> -			      "(%u vs %lu)", tfr->request_type,
> +			      "(%u vs %zu)", tfr->request_type,
> 			      tfr->data_size, *(pkg->data_size));
>
> 			*(pkg->data_size) = 0;
>
>
> -- 
> ~Randy
> LPC 2009, Sept. 23-25, Portland, Oregon
> http://linuxplumbersconf.org/2009/
>
> --
> dm-devel mailing list
> dm-devel@...hat.com
> https://www.redhat.com/mailman/listinfo/dm-devel

--
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