* linux-next: wireless tree build warning
@ 2009-07-28 4:31 Stephen Rothwell
0 siblings, 0 replies; 6+ messages in thread
From: Stephen Rothwell @ 2009-07-28 4:31 UTC (permalink / raw)
To: John W. Linville; +Cc: linux-next, linux-kernel, Vivek Natarajan
[-- Attachment #1: Type: text/plain, Size: 502 bytes --]
Hi John,
Today's linux-next build (x86_64 allmodconfig) produced this warning:
drivers/net/wireless/ath/ath9k/eeprom.c: In function 'ath9k_hw_AR9287_check_eeprom':
drivers/net/wireless/ath/ath9k/eeprom.c:2866: warning: comparison of distinct pointer types lacks a cast
Introduced by commit ac88b6ecdfa629fd1261dab1504d78a56fd4cabf ("ath9k:
Add support for AR9287 based chipsets").
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* linux-next: wireless tree build warning
@ 2010-02-01 3:59 Stephen Rothwell
0 siblings, 0 replies; 6+ messages in thread
From: Stephen Rothwell @ 2010-02-01 3:59 UTC (permalink / raw)
To: John W. Linville; +Cc: linux-next, linux-kernel, Hamish Guthrie, Geoff Levand
[-- Attachment #1: Type: text/plain, Size: 496 bytes --]
Hi John,
Today's linux-next build (powerpc ppc64_defconfig) produced this warning:
drivers/net/ps3_gelic_wireless.c: In function 'gelic_wl_start_scan':
drivers/net/ps3_gelic_wireless.c:1452: warning: format '%d' expects type 'int', but argument 4 has type 'size_t'
Introduced by commit f276586a8af410d2b79733daf52471605b6559e9
("ps3_gelic_wireless: fix directed ssid scan").
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: linux-next: wireless tree build warning
2009-05-01 12:33 ` Bob Copeland
@ 2009-05-04 6:48 ` Kalle Valo
0 siblings, 0 replies; 6+ messages in thread
From: Kalle Valo @ 2009-05-04 6:48 UTC (permalink / raw)
To: ext Bob Copeland; +Cc: Stephen Rothwell, John W. Linville, linux-next
ext Bob Copeland <me@bobcopeland.com> writes:
> On Fri, May 01, 2009 at 01:35:39PM +1000, Stephen Rothwell wrote:
>> Hi John,
>>
>> Today's linux-next build (x86_64 allmodconfig) produced these warnings:
>
> Thanks -- John, this should fix:
>
> From 2c6ef7ec3a3b46601597615cf9e40b2a0c9f2f72 Mon Sep 17 00:00:00 2001
> From: Bob Copeland <bob@hash.(none)>
> Date: Fri, 1 May 2009 08:20:07 -0400
> Subject: [PATCH] wl12xx: correct printk format warnings
>
> Fixes warnings:
> drivers/net/wireless/wl12xx/main.c:87: warning: int format, different
> type arg (arg 2)
> drivers/net/wireless/wl12xx/main.c: In function `wl12xx_fetch_nvs':
> drivers/net/wireless/wl12xx/main.c:125: warning: int format, different
> type arg (arg 2)
> drivers/net/wireless/wl12xx/wl1251.c: In function 'wl1251_upload_firmware':
> drivers/net/wireless/wl12xx/wl1251.c:94: warning: int format, different
> type arg (arg 2)
> drivers/net/wireless/wl12xx/wl1251.c:141: warning: int format, different
> type arg (arg 2)
>
> Signed-off-by: Bob Copeland <me@bobcopeland.com>
Thanks.
Acked-by: Kalle Valo <kalle.valo@nokia.com>
--
Kalle Valo
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: linux-next: wireless tree build warning
2009-05-01 3:35 Stephen Rothwell
@ 2009-05-01 12:33 ` Bob Copeland
2009-05-04 6:48 ` Kalle Valo
0 siblings, 1 reply; 6+ messages in thread
From: Bob Copeland @ 2009-05-01 12:33 UTC (permalink / raw)
To: Stephen Rothwell; +Cc: John W. Linville, linux-next, Kalle Valo
On Fri, May 01, 2009 at 01:35:39PM +1000, Stephen Rothwell wrote:
> Hi John,
>
> Today's linux-next build (x86_64 allmodconfig) produced these warnings:
Thanks -- John, this should fix:
>From 2c6ef7ec3a3b46601597615cf9e40b2a0c9f2f72 Mon Sep 17 00:00:00 2001
From: Bob Copeland <bob@hash.(none)>
Date: Fri, 1 May 2009 08:20:07 -0400
Subject: [PATCH] wl12xx: correct printk format warnings
Fixes warnings:
drivers/net/wireless/wl12xx/main.c:87: warning: int format, different
type arg (arg 2)
drivers/net/wireless/wl12xx/main.c: In function `wl12xx_fetch_nvs':
drivers/net/wireless/wl12xx/main.c:125: warning: int format, different
type arg (arg 2)
drivers/net/wireless/wl12xx/wl1251.c: In function 'wl1251_upload_firmware':
drivers/net/wireless/wl12xx/wl1251.c:94: warning: int format, different
type arg (arg 2)
drivers/net/wireless/wl12xx/wl1251.c:141: warning: int format, different
type arg (arg 2)
Signed-off-by: Bob Copeland <me@bobcopeland.com>
---
drivers/net/wireless/wl12xx/main.c | 4 ++--
drivers/net/wireless/wl12xx/wl1251.c | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/net/wireless/wl12xx/main.c b/drivers/net/wireless/wl12xx/main.c
index 744f4ce..603d611 100644
--- a/drivers/net/wireless/wl12xx/main.c
+++ b/drivers/net/wireless/wl12xx/main.c
@@ -84,7 +84,7 @@ static int wl12xx_fetch_firmware(struct wl12xx *wl)
}
if (fw->size % 4) {
- wl12xx_error("firmware size is not multiple of 32 bits: %d",
+ wl12xx_error("firmware size is not multiple of 32 bits: %zu",
fw->size);
ret = -EILSEQ;
goto out;
@@ -122,7 +122,7 @@ static int wl12xx_fetch_nvs(struct wl12xx *wl)
}
if (fw->size % 4) {
- wl12xx_error("nvs size is not multiple of 32 bits: %d",
+ wl12xx_error("nvs size is not multiple of 32 bits: %zu",
fw->size);
ret = -EILSEQ;
goto out;
diff --git a/drivers/net/wireless/wl12xx/wl1251.c b/drivers/net/wireless/wl12xx/wl1251.c
index bd0decd..ce1561a 100644
--- a/drivers/net/wireless/wl12xx/wl1251.c
+++ b/drivers/net/wireless/wl12xx/wl1251.c
@@ -91,7 +91,7 @@ static int wl1251_upload_firmware(struct wl12xx *wl)
fw_data_len = (wl->fw[4] << 24) | (wl->fw[5] << 16) |
(wl->fw[6] << 8) | (wl->fw[7]);
- wl12xx_debug(DEBUG_BOOT, "fw_data_len %d chunk_size %d", fw_data_len,
+ wl12xx_debug(DEBUG_BOOT, "fw_data_len %zu chunk_size %d", fw_data_len,
CHUNK_SIZE);
if ((fw_data_len % 4) != 0) {
@@ -138,7 +138,7 @@ static int wl1251_upload_firmware(struct wl12xx *wl)
/* 10.4 upload the last chunk */
addr = p_table[PART_DOWN].mem.start + chunk_num * CHUNK_SIZE;
p = wl->fw + FW_HDR_SIZE + chunk_num * CHUNK_SIZE;
- wl12xx_debug(DEBUG_BOOT, "uploading fw last chunk (%d B) 0x%p to 0x%x",
+ wl12xx_debug(DEBUG_BOOT, "uploading fw last chunk (%zu B) 0x%p to 0x%x",
fw_data_len % CHUNK_SIZE, p, addr);
wl12xx_spi_mem_write(wl, addr, p, fw_data_len % CHUNK_SIZE);
--
1.5.4.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* linux-next: wireless tree build warning
@ 2009-05-01 3:35 Stephen Rothwell
2009-05-01 12:33 ` Bob Copeland
0 siblings, 1 reply; 6+ messages in thread
From: Stephen Rothwell @ 2009-05-01 3:35 UTC (permalink / raw)
To: John W. Linville; +Cc: linux-next, Kalle Valo, Bob Copeland
[-- Attachment #1: Type: text/plain, Size: 594 bytes --]
Hi John,
Today's linux-next build (x86_64 allmodconfig) produced these warnings:
drivers/net/wireless/wl12xx/wl1251.c: In function 'wl1251_upload_firmware':
drivers/net/wireless/wl12xx/wl1251.c:94: warning: format '%d' expects type 'int', but argument 2 has type 'size_t'
drivers/net/wireless/wl12xx/wl1251.c:141: warning: format '%d' expects type 'int', but argument 2 has type 'size_t'
Introduced by commit b62712eafdf2fc332bf328b1fe29dbc5113bab64 ("wl12xx:
add driver").
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* linux-next: wireless tree build warning
@ 2009-04-22 4:45 Stephen Rothwell
0 siblings, 0 replies; 6+ messages in thread
From: Stephen Rothwell @ 2009-04-22 4:45 UTC (permalink / raw)
To: John W. Linville; +Cc: linux-next, Johannes Berg
[-- Attachment #1: Type: text/plain, Size: 655 bytes --]
Hi John,
Today's linux-next build (i386 defconfig) produced these warnings:
net/mac80211/mlme.c:1771: warning: left shift count >= width of type
net/mac80211/mlme.c:1772: warning: left shift count >= width of type
net/mac80211/mlme.c:1773: warning: left shift count >= width of type
net/mac80211/mlme.c:1774: warning: left shift count >= width of type
net/mac80211/mlme.c:1775: warning: left shift count >= width of type
Caused by commit cf4473dfd0e7dbe173be994fe226f88c48a02dd0 ("mac80211:
implement beacon filtering in software").
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2010-02-01 3:59 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-28 4:31 linux-next: wireless tree build warning Stephen Rothwell
-- strict thread matches above, loose matches on Subject: below --
2010-02-01 3:59 Stephen Rothwell
2009-05-01 3:35 Stephen Rothwell
2009-05-01 12:33 ` Bob Copeland
2009-05-04 6:48 ` Kalle Valo
2009-04-22 4:45 Stephen Rothwell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).