mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-01-16 06:31:46 +00:00
staging: ks7010: fix printk format warnings
Use proper type for size_t. Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
4fdec6ad1c
commit
f8d72df83c
@ -257,7 +257,7 @@ int ks_wlan_read_config_file(ks_wlan_private *priv)
|
||||
if (request_firmware_direct(&fw_entry, cfg_file, dev))
|
||||
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;
|
||||
end_p = cur_p + fw_entry->size;
|
||||
*end_p = '\0';
|
||||
|
@ -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);
|
||||
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;
|
||||
|
||||
/* Load Program */
|
||||
|
Loading…
x
Reference in New Issue
Block a user