Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1fd38456 authored by Himanshu Aggarwal's avatar Himanshu Aggarwal
Browse files

input: synaptics_fw_update: fix print statements



%zu is the correct printk format specifier when printing size_t types.

Update printks to use %zu for size_t type variables.

Change-Id: Ie556fd14293ecd36143353e575fd5ef22fab20f7
Signed-off-by: default avatarHimanshu Aggarwal <haggarwa@codeaurora.org>
parent 6e47bd57
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1559,7 +1559,7 @@ static int fwu_start_reflash(void)
		}

		dev_dbg(&fwu->rmi4_data->i2c_client->dev,
				"%s: Firmware image size = %d\n",
				"%s: Firmware image size = %zu\n",
				__func__, fw_entry->size);

		fwu->data_buffer = fw_entry->data;
@@ -1670,7 +1670,7 @@ static ssize_t fwu_sysfs_show_image(struct file *data_file,

	if (count < fwu->config_size) {
		dev_err(&rmi4_data->i2c_client->dev,
				"%s: Not enough space (%d bytes) in buffer\n",
				"%s: Not enough space (%zu bytes) in buffer\n",
				__func__, count);
		return -EINVAL;
	}