Re: [PATCH] i2c: i2c_master_send(): don't leave flags uninitialized

2018-02-09 Thread Sascha Hauer
On Thu, Feb 08, 2018 at 10:31:45AM +0300, Antony Pavlov wrote: > Leaving the flags field unitialized can lead to performing > read operation instead of write operation. > > Signed-off-by: Antony Pavlov > --- > drivers/i2c/i2c.c | 1 + > 1 file changed, 1 insertion(+) > Applied, thanks Sascha

[PATCH] i2c: i2c_master_send(): don't leave flags uninitialized

2018-02-07 Thread Antony Pavlov
Leaving the flags field unitialized can lead to performing read operation instead of write operation. Signed-off-by: Antony Pavlov --- drivers/i2c/i2c.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/i2c/i2c.c b/drivers/i2c/i2c.c index e9e7575585..608f8289bf 100644 --- a/drivers/i2c