Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1471686rwb; Mon, 7 Nov 2022 01:55:39 -0800 (PST) X-Google-Smtp-Source: AMsMyM7riAeiFPl8j8EahtYZeVNQAtx5soWIpJ4sqQoGaCwBpItCbRXuBnOy16V/wbshzjGrwrO9 X-Received: by 2002:a05:6a00:1f0a:b0:56d:ed8d:b77e with SMTP id be10-20020a056a001f0a00b0056ded8db77emr671277pfb.48.1667814938883; Mon, 07 Nov 2022 01:55:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667814938; cv=none; d=google.com; s=arc-20160816; b=ywdlX59zF/XZbnHbjwTn27+dEvpgvaifJfqbqPr/H0hq/3SsHr6grJnLl5NODL0/AB SeCKLpHKcLESrdTciWHTye0YsgUZzF+8Yi/3bRKqieOCURiRtKgSIKD8WrltgunLhHCh 8QGN7U+KfbqtbC+iZNxX+QCQSTiR+6LKwE2MqZM1M87+JZ0oU+e/2Xw5KOxwUCwkOe7w lN05aZxhT9gpGLtG6TJC60P++SV7r5Z6diAZM7JpjBiFuKAd5QaPr8h2VakMcZhXcrmG SB2Fwmt2gQTI4Mdt72pnAd0B/IzocbyqMMNrbQS/ThQsPCTRIBif2ROiuSFqQHDStKIS sVTw== 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:dkim-signature; bh=ViJ+rTwa2j3DEYuVpCX6JtP/l6UkQwZqRriZXqJuLx8=; b=fY9JumI76jMWHsI2rFDflUDXtvltLdJsfQZCGHzoHrbxhNHOJo9wKg5aC88M2pewqW TXDMte3/XPUVyXVfFJdlOmQ1aCatb+NQiw0HT7SI82+lhWAdUeBxOfxomlSJ4TalexFO AJTgtvGdxXEfvywgk5iTVs8yLw0sFHRlPPtXJhKsk1M/6YjV1Z651Hb6or3eJRzVrGhj WCdpJwQZ3M3UL+R20rpLRFE90x4ANpXsL492KVQw7MkqnrNJ6O8r6mh+46xhQcpM7/cd 5ujfQkUAACKhvjdhmKmYLvKsGgO5MAXs91SHgn48ICI8OaVAPq2PZxEWylzeQiuv0Mwc zWxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=hNqWuwEq; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j3-20020a056a00174300b0056ec686183fsi9168802pfc.366.2022.11.07.01.55.26; Mon, 07 Nov 2022 01:55:38 -0800 (PST) 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; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=hNqWuwEq; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231226AbiKGJCh (ORCPT + 95 others); Mon, 7 Nov 2022 04:02:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33166 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230428AbiKGJCf (ORCPT ); Mon, 7 Nov 2022 04:02:35 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1660B16599; Mon, 7 Nov 2022 01:02:34 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id A56F460F1C; Mon, 7 Nov 2022 09:02:33 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6004CC433D6; Mon, 7 Nov 2022 09:02:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1667811753; bh=ViJ+rTwa2j3DEYuVpCX6JtP/l6UkQwZqRriZXqJuLx8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=hNqWuwEqwTDL+wAW3Jub1iigGSfw4ccaPv22kfWddbp0MT0Q0TOkxDXOFVjHBn0kL WfDtZ2jPL7ieBwUPtKgKQ8a4tTbw5UE14j0Va2M4IAC2DrKsp6+x7mPco+Y+62J+VE VDs8qoizzrBP41VAM0vbcugD/3eD8C8g0va+ytqc= Date: Mon, 7 Nov 2022 10:02:29 +0100 From: Greg KH To: Slark Xiao Cc: mani@kernel.org, loic.poulain@linaro.org, dnlplm@gmail.com, yonglin.tan@outlook.com, fabio.porcedda@gmail.com, mhi@lists.linux.dev, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] bus: mhi: host: pci_generic: Add macro for some VIDs Message-ID: References: <20221107084826.8888-1-slark_xiao@163.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221107084826.8888-1-slark_xiao@163.com> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS 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 Mon, Nov 07, 2022 at 04:48:26PM +0800, Slark Xiao wrote: > To make code neat and for convenience purpose, use macro for > some VIDs. These macros are supposed to be added to pci_ids.h. No, they are not supposed to be added there at all. And they are not a "macro", it is a "#define". > But until the macros are used in multiple places, it is not > recommended. So adding it locally for now. Again, these are not macros thanks, greg k-h