Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp557339rwd; Thu, 1 Jun 2023 04:00:48 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5AO65oFaeRvxVY8uJZwZqgiZH0h7sX62ErBBV0NOpXXgmRgZuU47LMXzWQL8w0LZon1E0U X-Received: by 2002:a05:6870:4295:b0:19e:d407:a753 with SMTP id y21-20020a056870429500b0019ed407a753mr6209666oah.46.1685617247664; Thu, 01 Jun 2023 04:00:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685617247; cv=none; d=google.com; s=arc-20160816; b=plvaDM28YI9BZmzM/H0dMTU2WQWmh13U+pppLcVvNPChWyDZlTZPGZkj36H09io2sA QrJa0Gz4adH/DsuafeNm7t6QqJRZMz+HlQR199PLS35yhWVmYKop1xqsveFzurh2sZOk ByZEu5KEr5EO6ux9HHF9Oae8O3Qh3nFAEsC26W6DnU05SywQlKyNgJAYXqBPyNRZmtR/ QKsLHq/FsdgQE7fjJDTcgtKg5y1RPPoO+RtwxUXCkCIMjxB1dwIaawb64Q7fkqY5xnHy lj70qmh7XTsoxlXWzQeasCV/ZjZmPFJr6q+6R/9s7wNOnGbomFD4TRwPtAB8Vzbt+e13 clYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=krYrsr5opk11a71n/T05/Uuryhr+G9s+Y7oLg7Xcxpc=; b=iJFuSufsEk2VrlxyP81IMnNctq7kKhRNfRxC4wdQUV+d/pLGCEukNnftunoqJDLfJI ZHwf0xUbmEh8CcMklZfAakQg/CHnIQ/e4cDqZjb1zmFCuUNg2IPbH8q9jE+DTEQSr6X2 yKv66skXg9BtI6Hnx69NBvC017ytEU94TKSWQajJKIZHmbQPRJQ9v2MUtIparN95Swdr JUpJWADuZ8o8pJAN1/ant/+52Pu7U32Zp2nIa96ih7lEVh9WlpFgkZspoA3ZK7U9jJ3V xniunaNZlrLQ0T+1qUWgUcDzF4BWM1HeJoBI0Bqsa6DrjkX1H6HaPKaUajX60QNPal/h JbSw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h69-20020a638348000000b0053ff5bae4c6si631314pge.514.2023.06.01.04.00.33; Thu, 01 Jun 2023 04:00:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232452AbjFAKlX (ORCPT + 99 others); Thu, 1 Jun 2023 06:41:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44588 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232712AbjFAKlV (ORCPT ); Thu, 1 Jun 2023 06:41:21 -0400 Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3A89A136; Thu, 1 Jun 2023 03:41:19 -0700 (PDT) Received: from lhrpeml500005.china.huawei.com (unknown [172.18.147.201]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4QX2gm62V4z67V3m; Thu, 1 Jun 2023 18:39:32 +0800 (CST) Received: from localhost (10.202.227.76) by lhrpeml500005.china.huawei.com (7.191.163.240) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23; Thu, 1 Jun 2023 11:41:16 +0100 Date: Thu, 1 Jun 2023 11:41:15 +0100 From: Jonathan Cameron To: Terry Bowman CC: , , , , , , , , , Subject: Re: [PATCH v4 03/23] cxl: Rename member @dport of struct cxl_dport to @dev Message-ID: <20230601114115.000064e8@Huawei.com> In-Reply-To: <20230523232214.55282-4-terry.bowman@amd.com> References: <20230523232214.55282-1-terry.bowman@amd.com> <20230523232214.55282-4-terry.bowman@amd.com> Organization: Huawei Technologies Research and Development (UK) Ltd. X-Mailer: Claws Mail 4.1.0 (GTK 3.24.33; x86_64-w64-mingw32) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.202.227.76] X-ClientProxiedBy: lhrpeml100004.china.huawei.com (7.191.162.219) To lhrpeml500005.china.huawei.com (7.191.163.240) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 23 May 2023 18:21:54 -0500 Terry Bowman wrote: > From: Robert Richter > > Reading code like dport->dport does not immediately suggest that this > points to the corresponding device structure of the dport. Rename > struct member @dport to @dev. > > While at it, also rename @new argument of add_dport() to @dport. This > better describes the variable as a dport (e.g. new->dport becomes to > dport->dev). > > Signed-off-by: Robert Richter > Signed-off-by: Terry Bowman LGTM. That naming confused me a few times as well. Reviewed-by: Jonathan Cameron