Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp2315757ybh; Sun, 4 Aug 2019 22:38:35 -0700 (PDT) X-Google-Smtp-Source: APXvYqwFIJt0WiLBJe2tonECe7US0kpam7YDL3ynuXAOIQqzpmUXmNAzdeQjCVXr60PzDRoq+WFS X-Received: by 2002:a17:902:9a85:: with SMTP id w5mr142717156plp.221.1564983515245; Sun, 04 Aug 2019 22:38:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564983515; cv=none; d=google.com; s=arc-20160816; b=akWmSnajyFqdmtNhJiooIWq+LmeDPVIlgqw7uXIjWjBHGYnoPzq/5kvSvqHHzFIhdL NXT2HZQroix4mJc93DZ3BE4DKDJPZ/ZkwD9U8SOPjZJuKwk4ma8dzqle2vqG0UqB1pXY gSpaHQSxUehfhkWxE/huZeWskomwKD7BFTK7enfz4urm3/YjvDuHjR7VWeGERdwaaJIq QHrL619l4PBkIs/3sR7NgMDssGTXJZGnaxY4DyZlM1gDE2JcrIshJwgen2OpGlaJp375 lfcAM/lrOi51Dixbp1o1h4b0nSSLYgPciFlDYGX8br+lXjwqNy8S/snv+ASotenhXdCz txjQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=e7SmD7yFaW7cupdfnMf69Nas41lybmIWNy4DUrYdi6w=; b=zIS95XwLS2a3rFCGTuFj7u2nzC0LeDVZzAW7XsH+YBZszguggPXQvGVadhIqBxHgHQ hKsroVrOKq2vpdCKQqbyBS0SP/QQ/VUM/vHLCc2WHOnVgLibO2SVzlFrCvQ4reXZpA3j gFRnB4L/zBWARi1e3g1HRcOFs59SWvryJ3HsjI/+KSWI9pgpLzyNWtBsTej7+KnKpQcE Q26MpzbPfOgufHsZL21OOBTK1Bd0T5WqJtqMdmdtKsbwqtvueJS+C3i/nkCAq7tvuZBG XaBEdRvVU0NMr+VKEa+/M6JyyrTLSEsm6lybYTuv8eEuCoSIASnZfjUpw+o4/zpbKm8t uWyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=lhZy+wh7; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m22si43251318pgh.190.2019.08.04.22.38.18; Sun, 04 Aug 2019 22:38:35 -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=@gmail.com header.s=20161025 header.b=lhZy+wh7; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727233AbfHEFhk (ORCPT + 99 others); Mon, 5 Aug 2019 01:37:40 -0400 Received: from mail-ed1-f68.google.com ([209.85.208.68]:33493 "EHLO mail-ed1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725951AbfHEFhk (ORCPT ); Mon, 5 Aug 2019 01:37:40 -0400 Received: by mail-ed1-f68.google.com with SMTP id i11so13991561edq.0; Sun, 04 Aug 2019 22:37:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=e7SmD7yFaW7cupdfnMf69Nas41lybmIWNy4DUrYdi6w=; b=lhZy+wh7Ot9Dm7RjJrPbQxWLNBhtMeA1F1ai8JvZCvtBjgyJPWXNrw6az1sZNJJuZJ EGtFURcXUhouTqHYbkToePxtWpqowff4TI0EnVDGiko9/Jf4KG880MnQLwHPLxQ/zAlK FBjSbpWnkf7bRP22CnU3Qg7iif2LxF+EcrpGK6Oi0CEzh255FxmYz1LUCuChTMhaxHbj qvTf4BJPR4zhu8r/I5aM7vZzZNpIgK5kblDMP2icLOU3QNouGqimoiAxYgDewZxdWJxa bkW813g+MBoyY3UxvP8vhw/D3app9dzTG7eDewryvRE5t6+AdMHRzomt8LgabueQ0l8s hB5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=e7SmD7yFaW7cupdfnMf69Nas41lybmIWNy4DUrYdi6w=; b=axB0MHRb4o0YVhuQNbpNOgPpBTpSJg2Yzdy8vUif4yrmizcMNrnG20LdDrkJ8Y8qmV xL/0gkADWhe3J3p9fL/opBiRo0BaMG8wWZ0kvXx2psjo5aljKrwo+sniOYpku/o1AOee elklAMmgXXmeHoSvrdje5/biaSiwTyU0AA312WWLx3P5fo9rUMxZLEt0aarKwsqBkxBp BhWr/nneCbSAEIH/yFSv8lnQMqwsx+xr6MYJVbwE2FRrijEyzouKLmGyZaq8vXw+SVtj UIucqzNgwvq7+5KTOrDe+3J06WGqBbyeCT+KKpYRARn1b4AU+UQEcvlZqmvmhJaNsHCX fmMQ== X-Gm-Message-State: APjAAAXM7T5AE/c8H2HFyKK2Uc8FlmAHorMnqZcErbATv//pddFBbpj2 2DEzykh/Kj95Ccu13dmore8csr11J5Hn8kikPp8a7c0hgj0= X-Received: by 2002:aa7:d781:: with SMTP id s1mr86532706edq.20.1564983458349; Sun, 04 Aug 2019 22:37:38 -0700 (PDT) MIME-Version: 1.0 References: <20190805145736.2d39f95b@canb.auug.org.au> In-Reply-To: <20190805145736.2d39f95b@canb.auug.org.au> From: Chuhong Yuan Date: Mon, 5 Aug 2019 13:37:27 +0800 Message-ID: Subject: Re: linux-next: build failure after merge of the crypto tree To: Stephen Rothwell Cc: Herbert Xu , Linux Next Mailing List , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 5, 2019 at 12:57 PM Stephen Rothwell wrote: > > Hi all, > > After merging the crypto tree, today's linux-next build (sparc64 > defconfig) failed like this: > > drivers/char/hw_random/n2-drv.c: In function 'n2rng_probe': > drivers/char/hw_random/n2-drv.c:771:29: error: 'pdev' undeclared (first use in this function); did you mean 'cdev'? > err = 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 > > Caused by commit > > 3e75241be808 ("hwrng: drivers - Use device-managed registration API") > It is my typo, thanks for your fix! Regards, Chuhong > I applied the following patch for today: > > From: Stephen Rothwell > Date: Mon, 5 Aug 2019 14:49:59 +1000 > Subject: [PATCH] hwrng: fix typo in n2-drv.c > > Fixes: 3e75241be808 ("hwrng: drivers - Use device-managed registration API") > Signed-off-by: Stephen Rothwell > --- > drivers/char/hw_random/n2-drv.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > 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 = n2rng_data_read; > np->hwrng.priv = (unsigned long) np; > > - err = devm_hwrng_register(&pdev->dev, &np->hwrng); > + err = devm_hwrng_register(&op->dev, &np->hwrng); > if (err) > goto out_hvapi_unregister; > > -- > 2.20.1 > > -- > Cheers, > Stephen Rothwell