Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 150178
b: refs/heads/master
c: 8bce612
h: refs/heads/master
v: v3
  • Loading branch information
Bob Copeland authored and John W. Linville committed May 6, 2009
1 parent 0df8751 commit d27d42b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4e8e2c824027ed433be3c599294bf093a120ad9d
refs/heads/master: 8bce6121706dd82c266c3f527e592abfb3e164d1
4 changes: 2 additions & 2 deletions trunk/drivers/net/wireless/wl12xx/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/net/wireless/wl12xx/wl1251.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -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);

Expand Down

0 comments on commit d27d42b

Please sign in to comment.