Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1522201yba; Thu, 4 Apr 2019 12:29:50 -0700 (PDT) X-Google-Smtp-Source: APXvYqyTXCwzGl0b/WRjuxyDq5R01/s0zDFyLXIVtmhEDC/XSj+phmg6DvPzg1pfVjcnif0Bs0rv X-Received: by 2002:a17:902:8a84:: with SMTP id p4mr8326174plo.2.1554406190823; Thu, 04 Apr 2019 12:29:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554406190; cv=none; d=google.com; s=arc-20160816; b=J9t+1+yPOFwTgbm/lClZaUttuuXEqnCFvGP68Db30MOII88tzAgvDscOYvk3hEB+nS ++NI6qa29rhjqhSpewO7RdFsTAJW+AK4LRMXG8WijyJL4wJq+71pb1l3mis2j2gs+Wq2 TJLYXVO8R7Wr4d+oc99Wt7V5Nzhou1gKYr9HOdfjK1tUYpBoLsFUAfBbtT17PVnEP8PN SQ3Rp/h0Rb486MW/WmKOKXDeH/TWI02BDkv6CQaZROfGE9LpY7klLG6W/yUrTtID+uxu cj4TLjHD2QQkme94svopOwnXyH9yXqnXPr6UHVZT00VgTNRJYl3bI/DOgrvp1U7R3lvc vyYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=nqOFeS8LgaNs7w2ISJ+zQVwFWoaWiQThZSGXUyPU/WA=; b=Cd9HHQ9KOfwgbbuf+V/SEMPCIDrg501no+v1xD/lcIT3RckXfjJCfJJChnkMNtse35 gsusOzDi/UixlASEs9Hrr9MNcGWrA3Q21UYSZXIq4F6MSt5nrOW4K0utRMDFs5WJO4tv BfirNtidMlJM4FvAufq+kKZDNqW/4f2T8gy9kvgZCjLHHecZwGuKBeXhn85P7ZTYPO8t N94n2OARbXEl06SP2IK7SxdCt45/VXrbY67Dx3NINIVQqK+zksigZR8XvdzwXwZXx0Tl Y6fBjKxbqlVk4lmkd5qZiRr7P/rdAP+IFXfo2293wc13eP0P5Jkf/YCWt2x56Khp/Mxr 31Wg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g8si1026676plt.4.2019.04.04.12.29.34; Thu, 04 Apr 2019 12:29:50 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730297AbfDDT25 (ORCPT + 99 others); Thu, 4 Apr 2019 15:28:57 -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