summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/i2c/i2c-dev.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/i2c/i2c-dev.c')
-rw-r--r--kernel/drivers/i2c/i2c-dev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/drivers/i2c/i2c-dev.c b/kernel/drivers/i2c/i2c-dev.c
index 2413ec9f8..94c837046 100644
--- a/kernel/drivers/i2c/i2c-dev.c
+++ b/kernel/drivers/i2c/i2c-dev.c
@@ -329,7 +329,7 @@ static noinline int i2cdev_ioctl_smbus(struct i2c_client *client,
unsigned long arg)
{
struct i2c_smbus_ioctl_data data_arg;
- union i2c_smbus_data temp;
+ union i2c_smbus_data temp = {};
int datasize, res;
if (copy_from_user(&data_arg,