Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp9744443rwr; Thu, 11 May 2023 21:20:03 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6+8GIRV7MA5rE/55AjrHUkNkgQ53GazdOwt1vRjPaDwfW8buft29uK41pVPFxfMqWPi3Yo X-Received: by 2002:a05:6a00:1a92:b0:64a:a1ba:510e with SMTP id e18-20020a056a001a9200b0064aa1ba510emr1657953pfv.27.1683865203295; Thu, 11 May 2023 21:20:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683865203; cv=none; d=google.com; s=arc-20160816; b=OfmrmvtkoAeZNY6WA4cCT2/Z0wGccNEx9dkgNsrwsH9JdqzP74ls1Ea1KUR3mMRf/y x8MEo/MPpNawXjNIVKdiOUvgn/m5J8MFnIiCDqhaQl8dAGCtyFxFbqmszo3y/0+C9CuI lgdmAZmL6YOWGitN4kin6kAIKd4qy/MQcHasQW5NYFxFr49VLoHQNG3iG1AZyOGjlMy2 woJRHOaXSLmStlJhGMHfPFQKNWTUMZoUkF8URKUn9eXo/ANMQGFhiUJOkcUNVLkByhsX wif/nHDr7Be2yTlbKybV8gakj05YhL9SHuAsMCOGcr2sCq0vJKBDzPgSKN5qbCiJgQ2R 7lwg== 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=lB3Nu+bR7BECaaPA6LXThvJFwgf3jtZSeZsgGGjEX6o=; b=UQefK7MkAXEoG0/X2Hd4x8kiFzD50W+FvOouMI71iiMPEzLX3ExCTujSFheSjB/frz 0wWKlRZ8gv92wpSXkuqWFxR+UzTG0ZxIIDEKrW84Zpxi+BGFv7EOj2h108iH77fl+PSE bOPWgls4VIlkLEmqKu2VeiBdjnElhVOUZgyliqRXHpAjsP/5w6vBPY09qT+GxS5zGzKM UcH0UwdzvEkrpROTnyFxEUkrgAURnIcltfGwYAWv9B8y7Jlztmm/6gM+dYOMpeqBGhRo Q9kdJyx82E04kY1CloORSIzmqds4Rk2AvAopYW627aBZOvLkbNRdghAHeZjFWg/Ttxb1 Rhww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DePhR2wE; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s20-20020a63af54000000b0052c76c18412si8039687pgo.26.2023.05.11.21.19.49; Thu, 11 May 2023 21:20:03 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DePhR2wE; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239839AbjELES0 (ORCPT + 99 others); Fri, 12 May 2023 00:18:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39498 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229547AbjELESY (ORCPT ); Fri, 12 May 2023 00:18:24 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4FBB41FF7; Thu, 11 May 2023 21:18:23 -0700 (PDT) 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 D2DFE64FAA; Fri, 12 May 2023 04:18:22 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 883BBC433D2; Fri, 12 May 2023 04:18:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1683865102; bh=b2zg6KkKU4wMLPA/lt2MFpVz5BtQ9ce0BBjFejvgA0s=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=DePhR2wEmkgC+Xx/d8YBJwYezYFyRKWz8Tu83hAHeLHrTZ6QW23wR1Nbi5FxAjlSB 9sIBnmyXZkjsVlT1gcXYP0MIV01NB06Y1K9GYLbDPFB4myun+mHWL2kKvkdfGLYBfg 54yzHOIPkUj8HMU/WGbz7TEHOEtYfCCK08TuRuBJe11G2YWqBp0L8D3/QOBrwbxLMk yGm/eZGW9r/bLaj+DJBqyf/Uu2q9YAQbVjv36sQjlbQQmAIs98W2ZlfcR7d//20Kb6 ged+tsRnbsxfkBSitIFSIBgiK9YG87VYOESWFlHoBlkowaCjuGnb0+mA3qhapjy//0 ic+RKMkQAx/+w== Date: Fri, 12 May 2023 13:18:19 +0900 From: Mark Brown To: Ye Xiang Cc: Greg Kroah-Hartman , Arnd Bergmann , Matthias Kaehlcke , Lee Jones , Wolfram Sang , Tyrone Ting , Linus Walleij , Marc Zyngier , Bartosz Golaszewski , linux-usb@vger.kernel.org, linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org, linux-spi@vger.kernel.org, linux-gpio@vger.kernel.org, srinivas.pandruvada@intel.com, heikki.krogerus@linux.intel.com, andriy.shevchenko@linux.intel.com, sakari.ailus@linux.intel.com, zhifeng.wang@intel.com, wentong.wu@intel.com, lixu.zhang@intel.com Subject: Re: [PATCH v8 6/6] spi: Add support for Intel LJCA USB SPI driver Message-ID: References: <20230511175844.185070-1-xiang.ye@intel.com> <20230511175844.185070-7-xiang.ye@intel.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="iDLgAwJ74STo+Yb8" Content-Disposition: inline In-Reply-To: <20230511175844.185070-7-xiang.ye@intel.com> X-Cookie: Avoid contact with eyes. X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, 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 --iDLgAwJ74STo+Yb8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, May 12, 2023 at 01:58:44AM +0800, Ye Xiang wrote: > +++ b/drivers/spi/spi-ljca.c > @@ -0,0 +1,290 @@ > +// SPDX-License-Identifier: GPL-2.0-only > +/* > + * Intel La Jolla Cove Adapter USB-SPI driver Please make the entire comment a C++ one so things look more intentional. > +struct spi_init_packet { > + u8 index; > + u8 speed; > + u8 mode; > +} __packed; > + > +struct spi_xfer_packet { These should be namespaced, especially since they look likely to collide with other things. Otherwise this looks fine. --iDLgAwJ74STo+Yb8 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmRdvgoACgkQJNaLcl1U h9DNXgf9H7gFOZGlxttpn5v/IJdK948NNyKBgpz2AkJQVHOk848wbYpxrFsuWD5D 1KYc0NYmt4CkyGz3JDwQbJy6Ipo3A38uzzn2OGphxlE35SVsoMgI4htCJ9X3gnU/ wi9SPTlKbv3IH14IaMKyiyTWgmpobEV8lQ7VOXJPtwBwzGOQ8xPi3nbvCeGfkDFV /UPuODRaIBbBbABVC6pibA+GklJGO+i1q2cPGydqEk8gP2OaUbdWG8tpm7Bv2lQG ziu6dzm5UaDiIR+KAtbBILrdFvXInL0f14wK0xRgmHv9nYsMfxG69AXv2GsMI3iP OnTTtJ664+d3gz3fk27WKjuay0OZ+g== =G2/K -----END PGP SIGNATURE----- --iDLgAwJ74STo+Yb8--