Message ID | 20240109004728.54703-1-yang.lee@linux.alibaba.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-20227-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:37c1:b0:101:2151:f287 with SMTP id y1csp1367818dyq; Mon, 8 Jan 2024 16:47:56 -0800 (PST) X-Google-Smtp-Source: AGHT+IFMgyNz25KMzRYGvpyhzM5tw4lpUDg1Vljt1oa9ctYQkzI6rIoaVGMSgMsZ5u7mDmsvIPtM X-Received: by 2002:a17:90a:eb09:b0:28c:2616:6eab with SMTP id j9-20020a17090aeb0900b0028c26166eabmr1853720pjz.7.1704761276130; Mon, 08 Jan 2024 16:47:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704761276; cv=none; d=google.com; s=arc-20160816; b=ojJKiGMFe4GW/kQjXNGm+xxzxduGiF5b4ev45lXL+RG9mIxAOAb7sCndxAsWv1V4z2 SrqIc2zVB7NHgXJ2v9xmULiLsQqCFbh3/Ix3sYmWzz3qMGVtCRUa9WF1ZQ/2QNzeXxWw 3drYB5ENtGZ9kg5FkRwjJ7d8o76rhh2txoj2Wn8elov+lrZRsS+fMNOS3SDbHdTUT6SL 13UieVdZ+8jTRAephrhfIJXEl9+k5a6K5vbXlLoUYmOVvFQG/4bWv0H5Ma9SUJJfvKaP MT2bKFR9pD84qNGiqhNnmo/EKUFz42NQ3zSZpySiZKBtwWlRO+mRS3neNvT5OpDVcv3h jfWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=gv+z0AAEGWDCZ6tB2BtFMX2Fvo993l7fWcVztzkRdNU=; fh=WnpLcYecI4AUm0newLXVnCGxVs0rMaqaRm4NmRHO1oc=; b=vrsA9zqbnNtS00gPhbwgWRDRYqJJLp8Zbhu4RTKmkGQIa2yhQRM3IBT2694lFeBHBP X0kGtpf1NGdBRp9k5lec39uSHlDwlFelN5s0yozaZ+bu55tZH2tXbWMFwnpzpucXMMpK OqEAOf0EJtRdLZyFDGbqzP0rqLtn+cYgUJrm5LhjSPpqTXAzPPBKNineK2UOokVqz945 6iun39fwtmpA5sL8QT/P19nnMebstWW1zwNJIDwqthv8QS3ZRjclVtwh88Zk4b8cR6vU rTpXYQi22kDVsBs/HImQhqz44qL6Hn8qdEl1QfhT67fRNl36T0AB1cNAFBgRRODcaLpF Wz2g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-20227-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-20227-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id mp16-20020a17090b191000b0028c00f24794si6163097pjb.178.2024.01.08.16.47.56 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jan 2024 16:47:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-20227-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-20227-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-20227-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id E9AD428555D for <ouuuleilei@gmail.com>; Tue, 9 Jan 2024 00:47:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4A6F73C04; Tue, 9 Jan 2024 00:47:37 +0000 (UTC) Received: from out30-97.freemail.mail.aliyun.com (out30-97.freemail.mail.aliyun.com [115.124.30.97]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0AEA71844; Tue, 9 Jan 2024 00:47:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.alibaba.com X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R121e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046049;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=5;SR=0;TI=SMTPD_---0W-GKshY_1704761249; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0W-GKshY_1704761249) by smtp.aliyun-inc.com; Tue, 09 Jan 2024 08:47:30 +0800 From: Yang Li <yang.lee@linux.alibaba.com> To: jonathan.cameron@huawei.com, dave@stgolabs.net Cc: linux-cxl@vger.kernel.org, linux-kernel@vger.kernel.org, Yang Li <yang.lee@linux.alibaba.com> Subject: [PATCH -next] cxl: Remove duplicated include in cdat.c Date: Tue, 9 Jan 2024 08:47:28 +0800 Message-Id: <20240109004728.54703-1-yang.lee@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1787571759688668626 X-GMAIL-MSGID: 1787571759688668626 |
Series |
[-next] cxl: Remove duplicated include in cdat.c
|
|
Commit Message
Yang Li
Jan. 9, 2024, 12:47 a.m. UTC
The header files core.h is included twice in cdat.c,
so one inclusion can be removed.
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
drivers/cxl/core/cdat.c | 1 -
1 file changed, 1 deletion(-)
Comments
On Tue, 9 Jan 2024 08:47:28 +0800 Yang Li <yang.lee@linux.alibaba.com> wrote: > The header files core.h is included twice in cdat.c, > so one inclusion can be removed. > > Signed-off-by: Yang Li <yang.lee@linux.alibaba.com> Obviously correct :) Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> > --- > drivers/cxl/core/cdat.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/cxl/core/cdat.c b/drivers/cxl/core/cdat.c > index f5e649407b8b..6fe11546889f 100644 > --- a/drivers/cxl/core/cdat.c > +++ b/drivers/cxl/core/cdat.c > @@ -9,7 +9,6 @@ > #include "cxlmem.h" > #include "core.h" > #include "cxl.h" > -#include "core.h" > > struct dsmas_entry { > struct range dpa_range;
On 1/8/24 17:47, Yang Li wrote: > The header files core.h is included twice in cdat.c, > so one inclusion can be removed. > > Signed-off-by: Yang Li <yang.lee@linux.alibaba.com> Reviewed-by: Dave Jiang <dave.jiang@intel.com> > --- > drivers/cxl/core/cdat.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/cxl/core/cdat.c b/drivers/cxl/core/cdat.c > index f5e649407b8b..6fe11546889f 100644 > --- a/drivers/cxl/core/cdat.c > +++ b/drivers/cxl/core/cdat.c > @@ -9,7 +9,6 @@ > #include "cxlmem.h" > #include "core.h" > #include "cxl.h" > -#include "core.h" > > struct dsmas_entry { > struct range dpa_range;
Yang Li wrote: > The header files core.h is included twice in cdat.c, > so one inclusion can be removed. > > Signed-off-by: Yang Li <yang.lee@linux.alibaba.com> > --- > drivers/cxl/core/cdat.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/cxl/core/cdat.c b/drivers/cxl/core/cdat.c > index f5e649407b8b..6fe11546889f 100644 > --- a/drivers/cxl/core/cdat.c > +++ b/drivers/cxl/core/cdat.c > @@ -9,7 +9,6 @@ > #include "cxlmem.h" > #include "core.h" > #include "cxl.h" > -#include "core.h" I believe that was due to a bad merge by me. That's fixed up now with a better merge commit. Thanks for spotting this though!
diff --git a/drivers/cxl/core/cdat.c b/drivers/cxl/core/cdat.c index f5e649407b8b..6fe11546889f 100644 --- a/drivers/cxl/core/cdat.c +++ b/drivers/cxl/core/cdat.c @@ -9,7 +9,6 @@ #include "cxlmem.h" #include "core.h" #include "cxl.h" -#include "core.h" struct dsmas_entry { struct range dpa_range;