|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] bind_usbintf: do not reuse 'path'
>>> On 4/8/2016 at 12:52 AM, in message
<22278.36941.470901.631613@xxxxxxxxxxxxxxxxxxxxxxxx>, Ian Jackson
<Ian.Jackson@xxxxxxxxxxxxx> wrote:
> Chunyan Liu writes ("[PATCH] bind_usbintf: do not reuse 'path'"):
> > To avoid confusion, add a new variable "intf_path" to indicate
> > driver/interface path, let "path" indicate driver/bind path only.
>
> I think it would be better to rename both variables, as I suggested in
> my mail yesterday. That makes it much more obvious that each place
> where `path' was used has been checked and the reference to the
> proper variable substituted.
Updated. Sent V2.
>
> Thanks,
> Ian.
>
>
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |