From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS,USER_AGENT_NEOMUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7C5F9C4360F for ; Thu, 4 Apr 2019 19:28:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 52FDF2075E for ; Thu, 4 Apr 2019 19:28:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730317AbfDDT26 (ORCPT ); Thu, 4 Apr 2019 15:28:58 -0400 Received: from bmailout1.hostsharing.net ([83.223.95.100]:39833 "EHLO bmailout1.hostsharing.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727398AbfDDT25 (ORCPT ); Thu, 4 Apr 2019 15:28:57 -0400 Received: from h08.hostsharing.net (h08.hostsharing.net [IPv6:2a01:37:1000::53df:5f1c:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.hostsharing.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (not verified)) by bmailout1.hostsharing.net (Postfix) with ESMTPS id 7EAD230000CD3; Thu, 4 Apr 2019 21:28:55 +0200 (CEST) Received: by h08.hostsharing.net (Postfix, from userid 100393) id 349F31700D9; Thu, 4 Apr 2019 21:28:55 +0200 (CEST) Date: Thu, 4 Apr 2019 21:28:55 +0200 From: Lukas Wunner To: Mika Westerberg Cc: linux-kernel@vger.kernel.org, Michael Jamet , Yehezkel Bernat , Andreas Noever , Andy Shevchenko , Christian Kellner , Mario.Limonciello@dell.com Subject: Re: [PATCH v3 17/36] thunderbolt: Assign remote for both ports in case of dual link Message-ID: <20190404192855.ebremvr7kz7ob6uv@wunner.de> References: <20190328123633.42882-1-mika.westerberg@linux.intel.com> <20190328123633.42882-18-mika.westerberg@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190328123633.42882-18-mika.westerberg@linux.intel.com> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 28, 2019 at 03:36:14PM +0300, Mika Westerberg wrote: > +/** > + * tb_port_has_remote() - Does the port have switch connected downstream > + * @port: Port to check > + * > + * Returns true only when the port is primary port and that it has > + * remote set. > + */ Just a nit: s/that it// Otherwise this patch LGTM. Thanks, Lukas