Re: [PATCH] extcon: add index increment in find_cable_index_by_name

2015-08-10 Thread Tim Bird
Never mind... This is already fixed by commit be052cc8 in mainline. Sorry for the noise. -- Tim On 08/10/2015 10:44 AM, Tim Bird wrote: > This fixes a bug introduced by commit 73b6ecdb93e8 ("extcon: Redefine the > unique id of supported external connectors without 'enum extcon' type") > which

[PATCH] extcon: add index increment in find_cable_index_by_name

2015-08-10 Thread Tim Bird
This fixes a bug introduced by commit 73b6ecdb93e8 ("extcon: Redefine the unique id of supported external connectors without 'enum extcon' type") which introduced an infinite loop in find_cable_index_by_name. That commit converted the scan from a for loop to a while, but did not increment 'i' anyw