Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp6178105ybh; Wed, 7 Aug 2019 18:55:05 -0700 (PDT) X-Google-Smtp-Source: APXvYqwCV4xGPXxwgEItUr/3/7u6uIs5FdhqgSjLhRRI7q8qrR8c7941u51eYyVFUKQrsSOe7vSn X-Received: by 2002:a62:fb18:: with SMTP id x24mr12235565pfm.231.1565229305240; Wed, 07 Aug 2019 18:55:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565229305; cv=none; d=google.com; s=arc-20160816; b=GTxxWghekazV7D7+WvHi3u46AeiueSn9pAVq4KlScH9C55nsQkxZxrAoNhUxCAyAWj qYsIXPMu9DSlEK15uomwpZOkPzdOHznd2r5Dp6E1qmhj1CuWblf3LZBsLCZVSaqZUvoQ G5yI0y7dv6SPqHnu+pUHBIAEsapiPboWXeQPapR+4jR7qFGVb3Xf0mc64cANgnUFPjre eX9tg1rXRnIKx3XGQeBF+XmwAbskhnKmbB0dl5QM1Us+nDhKvwof3HBJX/LU5WnSkGzJ K5cpRyzyWML3uF64XHwQ7AnGmg+nCc3CGZ8xvUxmgGxjOot11SdbYEBZTUHS4UG5Lo5i 5dPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:dkim-signature; bh=L/CoLIQV1/BTY7U2eVvN3ev9AVWRPj4jMhEw+gPlvA4=; b=vFUHZD3MKqILkNbMPxFmUdXKSswJJ+TikGfNEq180E/vo+wA8QDKuQZpuliDYRveHs 2iFcaVnoWKfH8KaEyWX9EcOYEYiq+WKni8S6Fgb82R8Nt9h1zp3FSDmfJdMsiBLzZkIB xnqUdEdnIQ0U540wWWEXyBjURMPjN29+sRUyiS1hHbbMwuf3GoQPopEz0Yy3YFQ/kKH9 kX7a7/BWoW+uQYUPmb0Im//u2xcQVKs/htbRagmu49E0eUhxjryzpTKjH8bXCyHu5UDN U+XYu1bIY+clJiE+ti4W8QFfparZ1lcWnG6uP1LDy+yxSGw6e5oECXTV5tmnKVNnSBTr FvXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=aOuzZgSP; 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 y1si47587211plb.147.2019.08.07.18.54.49; Wed, 07 Aug 2019 18:55:05 -0700 (PDT) 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=@canb.auug.org.au header.s=201702 header.b=aOuzZgSP; 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 S2389616AbfHHBwu (ORCPT + 99 others); Wed, 7 Aug 2019 21:52:50 -0400 Received: from ozlabs.org ([203.11.71.1]:40221 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730038AbfHHBwu (ORCPT ); Wed, 7 Aug 2019 21:52:50 -0400 Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 463rwt5rjlz9s3Z; Thu, 8 Aug 2019 11:52:46 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=canb.auug.org.au; s=201702; t=1565229166; bh=2Yy/cS6AEuURYiuCIqDYhqO1IpoktaM9SX64Ys7iwJI=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=aOuzZgSPYdx3pdpMPRaweLOi2GCuqOw4FXoedOlSnPUEpfov48c9TH7nTzgRFCPFi TS/kJqDte9HbABn9cdZNO8l5nP+fJ1gGyBgT76fb4eu5Rkd5PVMz7XRVry5n6RW1Pj UkxcnQ7EDBd29zkL5moA1fcfVQOT+oHJlRj++OB/TReu7YicGRpVLz2TnXsPovBIiD SGXH7Hq1ZbLds4WIwWnYUiC0BlgEQRM0xPkmi/YkRSUKt3RsADZi4DXDlUQz/HieZ/ CLaITeOZAvjvjTntzLDLQ9gy41HOheMG0xKXGeYVJiGj0MK0PJDgwBnBEUUPgTLfFp ISnwmWJ/25Xlw== Date: Thu, 8 Aug 2019 11:52:45 +1000 From: Stephen Rothwell To: Herbert Xu Cc: Linux Next Mailing List , Linux Kernel Mailing List , Chuhong Yuan Subject: Re: linux-next: build failure after merge of the crypto tree Message-ID: <20190808115245.0c88c300@canb.auug.org.au> In-Reply-To: <20190805145736.2d39f95b@canb.auug.org.au> References: <20190805145736.2d39f95b@canb.auug.org.au> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/Cdn2bCWDZ7kVZqfm9YvqfR+"; protocol="application/pgp-signature"; micalg=pgp-sha256 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Sig_/Cdn2bCWDZ7kVZqfm9YvqfR+ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi all, On Mon, 5 Aug 2019 14:57:36 +1000 Stephen Rothwell w= rote: > > Hi all, >=20 > After merging the crypto tree, today's linux-next build (sparc64 > defconfig) failed like this: >=20 > drivers/char/hw_random/n2-drv.c: In function 'n2rng_probe': > drivers/char/hw_random/n2-drv.c:771:29: error: 'pdev' undeclared (first u= se in this function); did you mean 'cdev'? > err =3D devm_hwrng_register(&pdev->dev, &np->hwrng); > ^~~~ > cdev > drivers/char/hw_random/n2-drv.c:771:29: note: each undeclared identifier = is reported only once for each function it appears in >=20 > Caused by commit >=20 > 3e75241be808 ("hwrng: drivers - Use device-managed registration API") >=20 > I applied the following patch for today: >=20 > From: Stephen Rothwell > Date: Mon, 5 Aug 2019 14:49:59 +1000 > Subject: [PATCH] hwrng: fix typo in n2-drv.c >=20 > Fixes: 3e75241be808 ("hwrng: drivers - Use device-managed registration AP= I") > Signed-off-by: Stephen Rothwell > --- > drivers/char/hw_random/n2-drv.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/drivers/char/hw_random/n2-drv.c b/drivers/char/hw_random/n2-= drv.c > index 2d256b3470db..73e408146420 100644 > --- a/drivers/char/hw_random/n2-drv.c > +++ b/drivers/char/hw_random/n2-drv.c > @@ -768,7 +768,7 @@ static int n2rng_probe(struct platform_device *op) > np->hwrng.data_read =3D n2rng_data_read; > np->hwrng.priv =3D (unsigned long) np; > =20 > - err =3D devm_hwrng_register(&pdev->dev, &np->hwrng); > + err =3D devm_hwrng_register(&op->dev, &np->hwrng); > if (err) > goto out_hvapi_unregister; > =20 > --=20 > 2.20.1 I am still applying that patch ... --=20 Cheers, Stephen Rothwell --Sig_/Cdn2bCWDZ7kVZqfm9YvqfR+ Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAl1LgG0ACgkQAVBC80lX 0Gy5Vwf9FbyB0CanhhAKbljUp3638ElADCsp3vzNhhA19zlow8SLSEUDu6DCZhxx SSKovam2VtyMS+xe0fYCZDdHJySUySmwtJHQYahnOJ4qC0W/kP2R3/FTPyRJQLvV ux586Y8HfIXT5LMkjYwKIDc4/zz00f0pWTJqvf0bibvNEcqFmX8uuhFfFsQfyVSF kQ1d62oMq1K1IOco7h3VdbXtbFMxJ14Isx4/6J7QZuADwBfJ99M8LW9f93cVRqmN TXtTbZxAAFXq6txuOhHrWQyiupVdw4J58mvXMsXMaE21aPW4s6ybdldRoevBERP5 NUrAcHBw9U6TgMsF7Mlw9z8fYSXZkQ== =seSx -----END PGP SIGNATURE----- --Sig_/Cdn2bCWDZ7kVZqfm9YvqfR+--