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>
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';
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 */