Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4871631imu; Wed, 19 Dec 2018 01:34:41 -0800 (PST) X-Google-Smtp-Source: AFSGD/Wuk6uKXtWk1biSXfejKbWw8H0eaxeD1PUy7O1Qcx5LN+NyoQGPYir4CVEskFrdYVQKq6LS X-Received: by 2002:a63:ab08:: with SMTP id p8mr18444399pgf.87.1545212081554; Wed, 19 Dec 2018 01:34:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545212081; cv=none; d=google.com; s=arc-20160816; b=kXT8esr/U9vDtkfhivwNAAgCozLEk04CjDP4+fb++h5Qxh3/jX0H6/e0CnFHxmIxs1 MpEEAeklCBa2GvgWT0+9Rdhbar0aPKPKz5qyAmycl5UIGLXHZu4i29+RojAzKoKoU04B FeBg8Zj+2fZplPdVJaRqnVZK3cBWV7NkElnpGmowErCk585PMuGhHxSW5hMap4fJ2feH pvJIDmvHgvLxqr3DIKGPzvOGS2o/R9bzaBcDwYV4vitKW1eOJkMRT0V8vTaowF4bH77m HBh8Tnan5h+LeuZICVVcf0DEvErNi0EqRlucS7V5H8///LDyTSbb/HH45kmDmvbHqJIR zvJw== 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:dkim-signature; bh=Ew2IeM+VLrcOdItyUDNYjS66Lf7WYqifDvbqilCEZ4Q=; b=aAUJvhtVooIKXzG4roRV8RUp17/bxWtXNZWaE7O53ma/3mi1vw85MG5/hVcYBGBVGa aPNab3shOGi9/Frwj/orNUruKOgTsbnZQeMPyjh6dkqmntneBDl504tbazc69kB+ptrA PQ9GpvkmDLrmhz+dUjQam4XervpPgOx2j0CNbuB+NzjAXyjh5prBfv6awsfUbMw1FXjT XY8b6WtZHGTupzSLGmdki1hSKMYjiiudpBYm2Be9X6VM5qI/US8+q+lC3cWlmRPI9Bgx 8Kn8UUXcAOf9U9fVthzFX5j5ZDbhmyS226ynp6ff/jgwpMk0dy14+3mh02XVS7zDdOpe OVpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=QiIHkgYb; 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 91si15487006ply.222.2018.12.19.01.34.25; Wed, 19 Dec 2018 01:34:41 -0800 (PST) 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; dkim=pass header.i=@kernel.org header.s=default header.b=QiIHkgYb; 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 S1728525AbeLSJVI (ORCPT + 99 others); Wed, 19 Dec 2018 04:21:08 -0500 Received: from mail.kernel.org ([198.145.29.99]:40648 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727232AbeLSJVH (ORCPT ); Wed, 19 Dec 2018 04:21:07 -0500 Received: from localhost (5356596B.cm-6-7b.dynamic.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 7FE95217D9; Wed, 19 Dec 2018 09:21:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1545211267; bh=H064+QOZvPRnogqHQtVDmtqaJyeWrB0GMpAxGBHzdIE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=QiIHkgYbleSym9Tt7PmUp45uyopsaqT9AmhPWjMH44yaCz6KJVYvbI+QhHmCqszTt +V+Vrxi/+A2kaSE2KFGtb+UQU5fp9D/VWlCvq0Ahrxyv5U5pHHMo9/YhqwUS/Lr0ck 31MiOffLfOgX3zoAO0AFYbRFvaHF17TrUVco1Tuo= Date: Wed, 19 Dec 2018 10:21:04 +0100 From: Greg KH To: Xiaowei Bao Cc: bhelgaas@google.com, robh+dt@kernel.org, mark.rutland@arm.com, shawnguo@kernel.org, leoyang.li@nxp.com, kishon@ti.com, lorenzo.pieralisi@arm.com, arnd@arndb.de, minghuan.Lian@nxp.com, mingkai.hu@nxp.com, roy.zang@nxp.com, kstewart@linuxfoundation.org, cyrille.pitchen@free-electrons.com, pombredanne@nexb.com, shawn.lin@rock-chips.com, niklas.cassel@axis.com, linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org Subject: Re: [PATCHv3 4/4] misc: pci_endpoint_test: Add the layerscape EP device support Message-ID: <20181219092104.GA7356@kroah.com> References: <20181203103505.46885-1-xiaowei.bao@nxp.com> <20181203103505.46885-4-xiaowei.bao@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181203103505.46885-4-xiaowei.bao@nxp.com> User-Agent: Mutt/1.11.1 (2018-12-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Dec 03, 2018 at 06:35:05PM +0800, Xiaowei Bao wrote: > Add the layerscape EP device support in pci_endpoint_test driver. > > Signed-off-by: Xiaowei Bao > --- > v2: > - no change > v3: > - no change > > drivers/misc/pci_endpoint_test.c | 2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > > diff --git a/drivers/misc/pci_endpoint_test.c b/drivers/misc/pci_endpoint_test.c > index 896e2df..744d10c 100644 > --- a/drivers/misc/pci_endpoint_test.c > +++ b/drivers/misc/pci_endpoint_test.c > @@ -788,6 +788,8 @@ static void pci_endpoint_test_remove(struct pci_dev *pdev) > static const struct pci_device_id pci_endpoint_test_tbl[] = { > { PCI_DEVICE(PCI_VENDOR_ID_TI, PCI_DEVICE_ID_TI_DRA74x) }, > { PCI_DEVICE(PCI_VENDOR_ID_TI, PCI_DEVICE_ID_TI_DRA72x) }, > + /* 0x81c0: The device id of ls1046a in NXP. */ There is no need for a comment, just this line is fine: > + { PCI_DEVICE(PCI_VENDOR_ID_FREESCALE, 0x81c0) }, If you note, no other lines have comments. If you want to say that this is a specific device, then use a #define with that device name and then use that define here, like the PCI_DEVICE_ID_TI_DRA72x was done. thanks, greg k-h