|
@@ -1022,7 +1022,8 @@ static int wl18xx_conf_init(struct wl1271 *wl, struct device *dev)
|
|
|
|
|
|
if (fw->size != WL18XX_CONF_SIZE) {
|
|
if (fw->size != WL18XX_CONF_SIZE) {
|
|
wl1271_error("configuration binary file size is wrong, "
|
|
wl1271_error("configuration binary file size is wrong, "
|
|
- "expected %d got %d", WL18XX_CONF_SIZE, fw->size);
|
|
|
|
|
|
+ "expected %ld got %zd",
|
|
|
|
+ WL18XX_CONF_SIZE, fw->size);
|
|
ret = -EINVAL;
|
|
ret = -EINVAL;
|
|
goto out;
|
|
goto out;
|
|
}
|
|
}
|