Re: [PATCH v3 18/36] thunderbolt: Add helper function to iterate from one port to another
From: Lukas Wunner
Date: Thu Apr 04 2019 - 15:39:57 EST
On Thu, Mar 28, 2019 at 03:36:15PM +0300, Mika Westerberg wrote:
> We need to be able to walk from one port to another when we are creating
> paths where there are multiple switches between two ports. For this
> reason introduce a new function tb_next_port_on_path().
>
> Signed-off-by: Mika Westerberg <mika.westerberg@xxxxxxxxxxxxxxx>
Reviewed-by: Lukas Wunner <lukas@xxxxxxxxx>
The algorithm in this patch looks clear and concise now.
Thanks,
Lukas