[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <6bc1152f-198f-4b73-d3b8-2bde7d83de71@huawei.com>
Date: Tue, 22 May 2018 19:12:44 +0800
From: Yisheng Xie <xieyisheng1@...wei.com>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Andy Shevchenko <andy.shevchenko@...il.com>
CC: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
USB <linux-usb@...r.kernel.org>, Felipe Balbi <balbi@...nel.org>
Subject: Re: [PATCH 01/33] usb: phy: use match_string() helper
Hi,
On 2018/5/22 18:02, Greg Kroah-Hartman wrote:
> On Tue, May 22, 2018 at 01:20:01AM +0300, Andy Shevchenko wrote:
>> On Mon, May 21, 2018 at 2:57 PM, Yisheng Xie <xieyisheng1@...wei.com> wrote:
>>> match_string() returns the index of an array for a matching string,
>>> which can be used intead of open coded variant.
>>
>>> - int err, i;
>>> + int ret;
>>
>> int err;
>>
>> would still work.
>
> And it reduces churn.
I will keep it as err in next version.
Thanks
Yisheng
>
>
Powered by blists - more mailing lists