Received: by 2002:ab2:6991:0:b0:1f7:f6c3:9cb1 with SMTP id v17csp1175489lqo; Thu, 9 May 2024 06:55:41 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV8aptfyoPAanjtMSWXtgeDa+nsdyYkbQCME89tUOjfprTTgGDsETTzbYOZz9yRFbz2ga3Bkpx4YtxbWZaHl9yPuTsBSvUvzZak28xOpw== X-Google-Smtp-Source: AGHT+IF8xPDdbKhLOSgNsvDgdAec8PNpUYFtuXXW86DhMjC71+X1mL7gu9Sy4Q1oUU/pgPGZb6GF X-Received: by 2002:ac2:4c88:0:b0:51f:1bf8:610e with SMTP id 2adb3069b0e04-5217c56dff0mr3290957e87.37.1715262941605; Thu, 09 May 2024 06:55:41 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715262941; cv=pass; d=google.com; s=arc-20160816; b=lvv5KdmAX4X+WuboYa9qOnFL7A3yxfaTNh3Y1S/yC0nnsWeBDkHx+4vGJOq3P6nknR fRUVHApSNmDmMtcWxutEyekyYks/Bpu86m1iM0n13hQwjztmITJzH5OGbShbfGBMUsnA zh+Al/MWc2N+zvsKjseyrOQGZ9Gm4jtHf1/KFeNPBmTRP/Cl43bhGxe7A1ihNEHSKbBl uVxn4N6OddCuKB/BUnGaVPv9dTAg6MTWPOGgRi2Y61jF4A0a4L+1rXHBJZ0c9uAHzckY l7qBi4B5fzTPF7WS1AgaadyhsAS+VWmBNwVsR86UVinlRV4j/rYHJQ7s8mkd/KCPKkCd AmfA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :reply-to:in-reply-to:references:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=Hn2OE+lyZGF4m5hg/zfYNjQ2M2Bx8mz7jzQut/Qumis=; fh=TWak7r3yEOiT8kM0oC5H5P01Stf/p1rSUA361NCfc8A=; b=aUM8ySHA0HpmKOlSrnDAVAcPYe7yh+E2PqwxHWivpZiHpYcJq8hs1ujEk0aTXuV+yE 6BXzu1gIl73n9fSJU4HtpV+sDVxVoG8KO6m6UfUNx7aoFchWzXSbwxVU7UicKvKTgO3O /2ajpecnyx3xel8PK62KZq/NdhErmngWQwEWaL6yGPIP3OoTIVEVs1/ETkFGeCbpWmT/ z/v6shOEpn08VCNfRuPXtBMhXu9cTiky1IOEqaMmR2j8QYn9bgNzwzyOMp5b/YhIIuBt Z2cic/EWhaQ6R/ijLFogu949xCtqTxVLmGIUpWpaV+Fhc3/A6Gp7tYV6caQj2JfloZtw LgRw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=FvusXzrp; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-174557-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174557-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a5a17946934si90010966b.36.2024.05.09.06.55.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 06:55:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-174557-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=FvusXzrp; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-174557-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174557-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 539541F226AD for ; Thu, 9 May 2024 13:55:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B607515CD7D; Thu, 9 May 2024 13:55:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="FvusXzrp" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D4CDC15B116; Thu, 9 May 2024 13:55:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715262932; cv=none; b=lj4naP7Mm5OVuJ15ZTiRc/VieVQ/NrWgTeX64F4BQx2YfGT4EejfR5llAx+rYpJFyMGVcwKQZ96zuB7W3KNrn3A/nGVJwbNSF98NG4xHyEgskuY+M1+gwbDlQVkeq7m1YmKg3PsWuS3LopI5S/xB+EMG+Hl36BxR7XOQTQzMR+A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715262932; c=relaxed/simple; bh=Pbof/f9raYmyb5MqYobPUYSaqX0hPFgEJmmhhXn7+X0=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=YlsOaRJ7G4r2VLOaakkujv2BabJdvpzLhA0jyDBPMIBsWdnXqp+9YUneRpPbTjyfr7FU2l7ZLZfwzQG8O1a/CcK0DAW4yPkm6E74AFYmzvWXGtOp5H8u9e0emDGdPoGAzJKcIdPZcSiQnWRamWlfXmvMn4Hb4pM81u08MeyvSus= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=FvusXzrp; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3FAB7C4AF07; Thu, 9 May 2024 13:55:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715262932; bh=Pbof/f9raYmyb5MqYobPUYSaqX0hPFgEJmmhhXn7+X0=; h=References:In-Reply-To:Reply-To:From:Date:Subject:To:Cc:From; b=FvusXzrpoUpbIRurmDotbS7K6rvaOqa2+nfYfRkHbNbMfnCEPsvbLey4dNkc00KOm aEigNXz+A+kXpR/8WtjENbu1U6ElkppXXSVPpwsia59KcdYJD6o2C3qotIcusHn9Jm 7kZHO6svdZ9mmdjNhSglTJqpu5sXluW1N5YpOsWzwLrZoJnY+GNpcOagPXMLuqJwVW gC3gt2GWxCNM1EazJGQ0BxYte0D4Os3japrP7nwU/tDJOtpSP/OjWMUsPJUHOGVbrF PPP6MRLrsg3MeUL/Phdz50LMzDvnNf6FX5bcDt9YzPs/pZTNsTti5Jfxkiod1byzhx 9dnHH8ZBTc21w== Received: by mail-lj1-f175.google.com with SMTP id 38308e7fff4ca-2e271acb015so11694101fa.1; Thu, 09 May 2024 06:55:32 -0700 (PDT) X-Forwarded-Encrypted: i=1; AJvYcCW15yifjC/PfqOQ38MFBt5/rassF5Bkhpo5q+2MDnL6ET0cGBXFfKS+n0KZ607oBRmdhWXZC4bXGOA8kagbtFZKY0H3F6rkFCPVm17rtfumywtQDC1VtjSdPpMYn+R/nu+p5IitS4MOSg== X-Gm-Message-State: AOJu0YzevzN0fGp3ZdFViOlFlJkHK16xose+iIdaA3srg1lIt3uDZWUJ //MvgF8gxdV6sPH+xN1gCQyCgxnOhsg4uuF2pALimdyWtBoG3K1fGDu3IF+pLB1LmLmwq/YiDLV 1FxoEXitebK4fryMHkmH0mJvBYOA= X-Received: by 2002:a2e:81c4:0:b0:2df:1f7c:b84 with SMTP id 38308e7fff4ca-2e446d83c4dmr36119491fa.6.1715262930588; Thu, 09 May 2024 06:55:30 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240507041343.272569-1-wens@kernel.org> <20240507041343.272569-3-wens@kernel.org> In-Reply-To: Reply-To: wens@kernel.org From: Chen-Yu Tsai Date: Thu, 9 May 2024 21:55:19 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH RESEND v5 2/2] regulator: sun20i: Add Allwinner D1 LDOs driver To: Mark Brown Cc: Samuel Holland , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jernej Skrabec , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, Andre Przywara Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, May 9, 2024 at 12:50=E2=80=AFPM Mark Brown wro= te: > > On Tue, May 07, 2024 at 12:13:43PM +0800, Chen-Yu Tsai wrote: > > From: Samuel Holland > > > > D1 contains two pairs of LDOs, "analog" LDOs and "system" LDOs. They ar= e > > similar and can share a driver, but only the system LDOs have a DT > > binding defined so far. > > This doesn't build on at least multi_v5_defconfig, multi_v7_defconfig > and arm64 defconfig: > > /build/stage/linux/drivers/regulator/sun20i-regulator.c: In function =E2= =80=98sun20i_reg > ulator_probe=E2=80=99: > /build/stage/linux/drivers/regulator/sun20i-regulator.c:111:16: error: im= plicit > declaration of function =E2=80=98of_device_get_match_data=E2=80=99 [-Werr= or=3Dimplicit-function-de > claration] > 111 | data =3D of_device_get_match_data(dev); > | ^~~~~~~~~~~~~~~~~~~~~~~~ > /build/stage/linux/drivers/regulator/sun20i-regulator.c:111:14: warning: = assignm > ent to =E2=80=98const struct sun20i_regulator_data *=E2=80=99 from =E2=80= =98int=E2=80=99 makes pointer from inte > ger without a cast [-Wint-conversion] > 111 | data =3D of_device_get_match_data(dev); > | ^ > /build/stage/linux/drivers/regulator/sun20i-regulator.c: At top level: > /build/stage/linux/drivers/regulator/sun20i-regulator.c:136:34: error: ar= ray typ > e has incomplete element type =E2=80=98struct of_device_id=E2=80=99 > 136 | static const struct of_device_id sun20i_regulator_of_match[] =3D = { > | ^~~~~~~~~~~~~~~~~~~~~~~~~ > /build/stage/linux/drivers/regulator/sun20i-regulator.c:136:34: warning: = =E2=80=98sun20i > _regulator_of_match=E2=80=99 defined but not used [-Wunused-variable] Looks like the patch was from when of_device.h still included of.h. I'll send a new version shortly. ChenYu