lkml.org 
[lkml]   [2021]   [Jul]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v12] i2c: virtio: add a virtio i2c frontend driver
From
Date

On 2021/7/5 10:43, Viresh Kumar wrote:
> On 02-07-21, 12:58, Andy Shevchenko wrote:
>> On Fri, Jul 02, 2021 at 04:46:47PM +0800, Jie Deng wrote:
>>> +static int virtio_i2c_complete_reqs(struct virtqueue *vq,
>>> + struct virtio_i2c_req *reqs,
>>> + struct i2c_msg *msgs, int nr,
>>> + bool fail)
>>> +{
>>> + struct virtio_i2c_req *req;
>>> + bool failed = fail;
> Jie, you can actually get rid of this variable too. Jut rename fail to failed
> and everything shall work as you want.

Sure.

\
 
 \ /
  Last update: 2021-07-05 05:03    [W:0.103 / U:0.664 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site