Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp1007121pxv; Thu, 22 Jul 2021 19:04:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwOpqkcW77BeT5UOMQVdNcaG7uxKSA2/Z/cFL8XHcaSC4KM1FsoKmSjlzfskg0FjejlBC1N X-Received: by 2002:a17:906:1703:: with SMTP id c3mr2640193eje.64.1627005853603; Thu, 22 Jul 2021 19:04:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627005853; cv=none; d=google.com; s=arc-20160816; b=Wjnxiy0GPC9tZo37p5wq59NfABTk6lgDrEyDWk7CVjfXg+spCngsa8p56e9Lb7h8Sx J0Ioc9/crZbiobtjPh1C1FRWcrTQs1mB5FkXrT0J7X8qaGeokidMrJD4bp6VU9Du23x3 ManobFfbiDHM15bUuDqPMi9SFAgyyPBc+sf6a7ayQsKzmMaAUU3aB+lC9YlesX9hydKO q4znxRIngMjwJBOsjosJJrV78PCNJQn2lEBeGJsX8haAnRah5JrBc0mG10GVOfiVV2zw vtqcXm5QqQSEqOmwWPhXtkC6iHfTNoX9J9Vs7fYn/XHX9yTs3hbysBvT7aZ31BD3pgfD FHcQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=wqNvNl7Y9I+Lc0bDPRY2qK0RJphn3sKkuEuDxwoy3ro=; b=Q/xZ2OpzTW6OksT9E2nbaokf2HkTqqPW0JZo52+034uDPBku6J+wba4RcIkbIEpB1O 8jJLmYT6TVxCyhFVfiMP/be+dleK4YN4wngHb+E4ZPbOkgTpiIm8qtF12EkZIsjo/8zq NbazuZCmWMgipqAeW2ASeJ05nGUNfs1QKIIvOr1xENKZMGimAgfteef17axhV15x8313 T47m0SB7nzXpRHCzHL/gKyweEioemjZQ1NYAuoJ8jRee5AY8glyMuqbdCe5RqrAGVHbs 7pgfa7pBWt8lDaNcE27kfHhq7TtkDD2dJpkFXv5JFXNP2tjOX5dqipZIo9ThyUOerteH B6Rw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p19si31606223edy.181.2021.07.22.19.03.49; Thu, 22 Jul 2021 19:04:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233128AbhGWBTn (ORCPT + 99 others); Thu, 22 Jul 2021 21:19:43 -0400 Received: from mail-wm1-f50.google.com ([209.85.128.50]:39610 "EHLO mail-wm1-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233050AbhGWBTm (ORCPT ); Thu, 22 Jul 2021 21:19:42 -0400 Received: by mail-wm1-f50.google.com with SMTP id o3-20020a05600c5103b029024c0f9e1a5fso2349095wms.4; Thu, 22 Jul 2021 19:00:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=wqNvNl7Y9I+Lc0bDPRY2qK0RJphn3sKkuEuDxwoy3ro=; b=CrAIV5S8Id5z9sfYuOBpvLXiagAlg41kohLPRcNjWGA7MLVgrBrzQh6/9RrTYHUobb gjrcZs1JJCGXO0hPukMDFmjd10v4iEvdNFVzuzPSbywUQx3hn6H8EqHj6kFc28lKIkBh p844a5kLg+aOFVbxRvvBABtVZq09U46adHUnRcqn2Hbng5YmsPaHoWCamiB98ABoAQxq u7S8cRyF/iXtSc131xTJvE7kvEzHo27wW/O04TVCAWk7/jQ4IdyaKtj1sFAcvA3I6TqZ 0OomFqdIeJD2tGxYOeiF78adcUYulrz/luOuIBrmZmKKR3OM5MlNPuv8Y81DJwFCMJgp VPgQ== X-Gm-Message-State: AOAM531IFPYhoMZMjEyABndkaBff9g4lC10Wa73NSZOpcEGuKV6OVQ4R mRFRifoXrOQnxFeliSAmuR0L2jgsrPxEz97c X-Received: by 2002:a05:600c:1ca3:: with SMTP id k35mr11536840wms.174.1627005615058; Thu, 22 Jul 2021 19:00:15 -0700 (PDT) Received: from rocinante ([95.155.85.46]) by smtp.gmail.com with ESMTPSA id l22sm3804431wmp.41.2021.07.22.19.00.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Jul 2021 19:00:14 -0700 (PDT) Date: Fri, 23 Jul 2021 04:00:13 +0200 From: Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= To: "Cai,Huoqing" Cc: "Derrick, Jonathan" , "linux-pci@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH 2/2] PCI: vmd: Make use of PCI_DEVICE_DATA() helper function Message-ID: <20210723020013.GA2170028@rocinante> References: <20210722112954.477-1-caihuoqing@baidu.com> <20210722112954.477-3-caihuoqing@baidu.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Thank you for sending the patch over! > PATCH[2/2] has some extra indentation, please don't apply it , You might know this already, but just in case make sure to run the "checkpatch.pl" script over the patch before submission. > I'll send PATCH V2. You mean v3? Make sure to include a changelog, if possible. A small nitpick: the PCI_DEVICE_DATA() is technically a macro rather than a function, so you could update both the subject line and the commit message accordingly, if you want. Also, since you are about to send another version, add period at the end of the sentence in the commit message. Aside of the above, it's a nice refactor, thank you! Krzysztof