Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp2239250rdb; Mon, 20 Nov 2023 06:06:15 -0800 (PST) X-Google-Smtp-Source: AGHT+IE8E+ypp1w6KO6uYWxPSITE6inZlh35BKzLplAKzihj0vbCUNBvCx2hf2JIKoXmQBLO7BuS X-Received: by 2002:a17:902:6a87:b0:1ce:6693:d6f9 with SMTP id n7-20020a1709026a8700b001ce6693d6f9mr5280785plk.3.1700489175053; Mon, 20 Nov 2023 06:06:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700489175; cv=none; d=google.com; s=arc-20160816; b=HlCFEHG6da2Wl+nhiwdzCEtDxYVIbAPgZCh2Cl8HcGL34EJzygmiGRBoFNjOqFIjfp 6nlYz/DhR7J4ESaXuesZMA54or6D+OJ70l9qdEm09NXyduzfyzrBE39usC7kbJkLwnhE v2IY1qKM+Prk84L0q3zSRIit/nPLYgQ4+PA9VPNFtQBPYtWWLeIBAKYrt2CNnTcMFB+P hmBIYdwilzO3HnLpUVWbIC6XRG+nthiXKMm03vpsS1b3FE0/kT7JnM7Ccs8EEDannW0K WZf3amMn+psMhfHEQgErfmOlz1O0gWqCABHgs08+gWif6DbjpUStCZ1Y7onOB7deoIBg U8GQ== 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=H96nSIEQPgDP8tdx6XhEBl8791EW6+F+JXk1mxypCJU=; fh=s6YuAR6lfpdFQPYMfww1WpjQUsJn0L5ClMC4W/ZFmfU=; b=fW8NTHJk8OYtltrjOhz+6CwDdRhhXcBsght+hF8gWzAc8dzCmlcpeNBhTO+CftP3oQ OetbVES36AbttsPsivHjm8neBNeHxyd6k79S2M8R6GjWlTMLjXEiMt+IkcmTbALsfbfy FLLZ+0ZjUNON9w1ntNY1RLlTAg7T371K7RemYFG5ENStis9QYsror8PouXI26yQI46xB JeiaQel/wEbId5Ay7FBFs0VRH99nBYxKsP3AUEA3GkdxGJuWHjQHFSvMwXC7e7VWXLWa Hhl8yEGz23C/1OD+R/BwHdS5beKNoQ6qndG56tS4Mq3PhYAqJfE8QKQ9piKYW4vK4t7g 9I0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=PecvQReB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id 10-20020a170902c20a00b001cc6529c7besi7857018pll.88.2023.11.20.06.06.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Nov 2023 06:06:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=PecvQReB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 2F70080859B5; Mon, 20 Nov 2023 06:03:28 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233226AbjKTODP (ORCPT + 99 others); Mon, 20 Nov 2023 09:03:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38088 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233624AbjKTOCz (ORCPT ); Mon, 20 Nov 2023 09:02:55 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8E9CAD6C; Mon, 20 Nov 2023 06:02:40 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6534FC433C7; Mon, 20 Nov 2023 14:02:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1700488960; bh=6aSa52+i1oys/ode+5jaVFsNLiPy8c/knuAgK5eUilM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=PecvQReB8EC0t4GDgV5A4OUDf7be4jwPihyMoCPHW4Uh6hGjsvr4p5yBYdOzhaVIT oNlewumX6fs/FbSZOKns16tQBSsGhenb65XKwaqOIJGXe27O4pFIy0twZdmZvaYSaf w4v1TpT3rEGoUDe4sLIpYvuHposrJoAX9cbhTdtSOsrWftqX3iWcPuBMB4glqUyUC+ uCCSO5nJzMO12r436rZ2HsJdku7+LAYBkxcKe6hiAuf946T2qMsVpTZaFCKjfIRWJA 5jXJvEQMMMJ0ScjO5X0gcPQ9R53GqA3h+7K6BA9u+CAgR4/TMw4ioQ7XElABDPGG5z VHSlIZ1LcEeAA== Date: Mon, 20 Nov 2023 14:02:30 +0000 From: Mark Brown To: Amit Kumar Mahapatra Cc: tudor.ambarus@linaro.org, pratyush@kernel.org, miquel.raynal@bootlin.com, richard@nod.at, vigneshr@ti.com, sbinding@opensource.cirrus.com, linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org, michael@walle.cc, linux-mtd@lists.infradead.org, nicolas.ferre@microchip.com, alexandre.belloni@bootlin.com, claudiu.beznea@tuxon.dev, michal.simek@amd.com, linux-arm-kernel@lists.infradead.org, git@amd.com, amitrkcian2002@gmail.com Subject: Re: [PATCH v10 1/8] spi: Add multi-cs memories support in SPI core Message-ID: <281c9708-f965-4bb1-821e-3e6cfe26ba5d@sirena.org.uk> References: <20231118135446.52783-1-amit.kumar-mahapatra@amd.com> <20231118135446.52783-2-amit.kumar-mahapatra@amd.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="m2cq6RiF6dDmRuer" Content-Disposition: inline In-Reply-To: <20231118135446.52783-2-amit.kumar-mahapatra@amd.com> X-Cookie: I *like* the chicken X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Mon, 20 Nov 2023 06:03:28 -0800 (PST) --m2cq6RiF6dDmRuer Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Nov 18, 2023 at 07:24:39PM +0530, Amit Kumar Mahapatra wrote: > AMD-Xilinx GQSPI controller has two advanced mode that allows the > controller to consider two flashes as one single device. This breaks an x86 allmodconfig build: /build/stage/linux/sound/pci/hda/cs35l56_hda_spi.c: In function =E2=80=98cs= 35l56_hda_spi _probe=E2=80=99: /build/stage/linux/sound/pci/hda/cs35l56_hda_spi.c:32:52: error: passing ar= gumen t 2 of =E2=80=98cs35l56_hda_common_probe=E2=80=99 makes integer from pointe= r without a cast [-We rror=3Dint-conversion] 32 | ret =3D cs35l56_hda_common_probe(cs35l56, spi->chip_select); | ~~~^~~~~~~~~~~~~ | | | u8 * {aka unsign= ed ch ar *} In file included from /build/stage/linux/sound/pci/hda/cs35l56_hda_spi.c:12: /build/stage/linux/sound/pci/hda/cs35l56_hda.h:45:63: note: expected =E2=80= =98int=E2=80=99 but a rgument is of type =E2=80=98u8 *=E2=80=99 {aka =E2=80=98unsigned char *=E2= =80=99} 45 | int cs35l56_hda_common_probe(struct cs35l56_hda *cs35l56, int id); | ~~~~^~ --m2cq6RiF6dDmRuer Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmVbZvUACgkQJNaLcl1U h9C7+wf/Y66EoAefhFbBRGn/F667fF8eGVlw/njem/yf50HB8iNFULY3b1FDiQN2 tkohmbFFMPuwef2VX7ughOqk3b6vFTY6YRNVjvQvItlKJL85m8zuPVmetJ35s42O +5htT9J+WhIbBIvaeL7gRms/hltTunTTSE0maVCT2sA8UTFFOXHLZ8SrYfRGMcHE 7h9rnmV7eJR/BttTqDtVyQg3n/MiRWvWZb+nhVQAE7ytHZVyydUYIWd8Cl4o941d t0MJ4sTVXUwh4k1V2Km6CwTbfAFHmyQlv0Kgzmwb+F5xevmaymXutZqVlWYv5cR6 UZerV5/EA6GdypcQYNSC5y91TI9xUw== =9H0Y -----END PGP SIGNATURE----- --m2cq6RiF6dDmRuer--