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] [day] [month] [year] [list]
Message-ID: <m339ln1jxg.fsf@pullcord.laptop.org>
Date:	Tue, 12 Apr 2011 13:03:23 -0400
From:	Chris Ball <cjb@...top.org>
To:	Randy Dunlap <randy.dunlap@...cle.com>
Cc:	Stephen Rothwell <sfr@...b.auug.org.au>,
	linux-next@...r.kernel.org, LKML <linux-kernel@...r.kernel.org>,
	linux-mmc@...r.kernel.org
Subject: Re: [PATCH -next] mmc quirks: fix truncation warnings

Hi,

On Tue, Apr 12 2011, Randy Dunlap wrote:
> From: Randy Dunlap <randy.dunlap@...cle.com>
>
> Fix data truncation warnings: .manfid is not unsigned long:
>
> drivers/mmc/core/quirks.c:36: warning: large integer implicitly truncated to unsigned type
> drivers/mmc/core/quirks.c:40: warning: large integer implicitly truncated to unsigned type
> drivers/mmc/core/quirks.c:43: warning: large integer implicitly truncated to unsigned type
> drivers/mmc/core/quirks.c:46: warning: large integer implicitly truncated to unsigned type
>
> Signed-off-by: Randy Dunlap <randy.dunlap@...cle.com>
> Cc:	Chris Ball <cjb@...top.org>
> Cc:	linux-mmc@...r.kernel.org
> ---
>  include/linux/mmc/card.h |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> --- linux-next-20110412.orig/include/linux/mmc/card.h
> +++ linux-next-20110412/include/linux/mmc/card.h
> @@ -180,7 +180,7 @@ struct mmc_fixup {
>  	int data;
>  };
>  
> -#define CID_MANFID_ANY (-1ul)
> +#define CID_MANFID_ANY (-1u)
>  #define CID_OEMID_ANY ((unsigned short) -1)
>  #define CID_NAME_ANY (NULL)
>  
>

Thanks very much, Randy, I've pushed this to mmc-next.

- Chris.
-- 
Chris Ball   <cjb@...top.org>   <http://printf.net/>
One Laptop Per Child
--
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