Use %zd, not %d, to display size_t arguments
drivers/media/platform/tegra/imx091.c:2826:35:
warning: format '%d' expects argument of type 'int',
but argument 5 has type 'long unsigned int' [-Wformat=]
Bug
200187768
Change-Id: I2591203af81f5c3f64b55e8e722fdbc5a59c8de4
Signed-off-by: Joe Korty <joe.korty@ccur.com>
Signed-off-by: Gaurav Singh <gaursingh@nvidia.com>
Reviewed-on: http://git-master/r/
1163906
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
return 0;
case _IOC_NR(NVC_IOCTL_CAPS_RD):
- dev_dbg(&info->i2c_client->dev, "%s CAPS_RD n=%d\n",
+ dev_dbg(&info->i2c_client->dev, "%s CAPS_RD n=%zd\n",
__func__, sizeof(imx091_dflt_cap));
data_ptr = info->cap;
if (copy_to_user((void __user *)arg,