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: <20071024152516.GA6793@tuxdriver.com>
Date:	Wed, 24 Oct 2007 11:25:23 -0400
From:	"John W. Linville" <linville@...driver.com>
To:	Miguel Botón <mboton.lkml@...il.com>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mac80211: fix "format '%d' expects type 'int', but argument 7 has type 'long unsigned int'" warning

Third submission of a patch like this since day before yesterday...I promise, I have it.

Please send wireless patches to linux-wireless@...r.kernel.org, and CC me.

BTW, this patch appears to be linewrap-damaged...

Thanks,

John

On Wed, Oct 24, 2007 at 04:37:08PM +0200, Miguel Botón wrote:
> printf() expects an "integer" value but we give it a "long unsigned integer".
> 
> diff -ruN linux-2.6.24-rc1.orig/net/mac80211/ieee80211_sta.c 
> linux-2.6.24-rc1/net/mac80211/ieee80211_sta.c
> --- linux-2.6.24-rc1.orig/net/mac80211/ieee80211_sta.c  2007-10-24 
> 16:06:49.000000000 +0200
> +++ linux-2.6.24-rc1/net/mac80211/ieee80211_sta.c       2007-10-24 
> 16:12:05.000000000 +0200
> @@ -1182,7 +1182,7 @@
>  	aid = le16_to_cpu(mgmt->u.assoc_resp.aid);
> 
>  	printk(KERN_DEBUG "%s: RX %sssocResp from %s (capab=0x%x "
> -	       "status=%d aid=%d)\n",
> +	       "status=%d aid=%ld)\n",
>  	       dev->name, reassoc ? "Rea" : "A", print_mac(mac, mgmt->sa),
>  	       capab_info, status_code, aid & ~(BIT(15) | BIT(14)));
>  
> 
> -- 
> 	Miguel Botón

-- 
John W. Linville
linville@...hat.com
-
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