Commit f8d72df8 authored by Wolfram Sang's avatar Wolfram Sang Committed by Greg Kroah-Hartman

staging: ks7010: fix printk format warnings

Use proper type for size_t.
Signed-off-by: default avatarWolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 4fdec6ad
...@@ -257,7 +257,7 @@ int ks_wlan_read_config_file(ks_wlan_private *priv) ...@@ -257,7 +257,7 @@ int ks_wlan_read_config_file(ks_wlan_private *priv)
if (request_firmware_direct(&fw_entry, cfg_file, dev)) if (request_firmware_direct(&fw_entry, cfg_file, dev))
return 0; return 0;
DPRINTK(4, "success request_firmware() file=%s size=%d\n", cfg_file, fw_entry->size); DPRINTK(4, "success request_firmware() file=%s size=%zu\n", cfg_file, fw_entry->size);
cur_p = fw_entry->data; cur_p = fw_entry->data;
end_p = cur_p + fw_entry->size; end_p = cur_p + fw_entry->size;
*end_p = '\0'; *end_p = '\0';
......
...@@ -750,7 +750,7 @@ static int ks79xx_upload_firmware(ks_wlan_private *priv, struct ks_sdio_card *ca ...@@ -750,7 +750,7 @@ static int ks79xx_upload_firmware(ks_wlan_private *priv, struct ks_sdio_card *ca
DPRINTK(1,"error request_firmware() file=%s\n", priv->reg.rom_file); DPRINTK(1,"error request_firmware() file=%s\n", priv->reg.rom_file);
return 1; return 1;
} }
DPRINTK(4,"success request_firmware() file=%s size=%d\n", priv->reg.rom_file, fw_entry->size); DPRINTK(4,"success request_firmware() file=%s size=%zu\n", priv->reg.rom_file, fw_entry->size);
length = fw_entry->size; length = fw_entry->size;
/* Load Program */ /* Load Program */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment