From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752035AbdHGF7r (ORCPT ); Mon, 7 Aug 2017 01:59:47 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:38819 "EHLO mail3-relais-sop.national.inria.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751795AbdHGF7q (ORCPT ); Mon, 7 Aug 2017 01:59:46 -0400 X-IronPort-AV: E=Sophos;i="5.41,336,1498514400"; d="scan'208";a="233818753" Date: Mon, 7 Aug 2017 07:59:20 +0200 (CEST) From: Julia Lawall X-X-Sender: jll@hadrien To: dwmw2@infradead.org cc: vndao@altera.com, dwmw2@infradead.org, computersforpeace@gmail.com, boris.brezillon@free-electrons.com, marek.vasut@gmail.com, richard@nod.at, cyrille.pitchen@wedev4u.fr, robh+dt@kernel.org, mark.rutland@arm.com, linux-mtd@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, gregkh@linuxfoundation.org, davem@davemloft.net, mchehab@kernel.org, linux-fpga@vger.kernel.org, kbuild-all@01.org Subject: Re: [PATCH 2/2] mtd: spi-nor: Altera ASMI Parallel II IP Core (fwd) Message-ID: User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org dev_err does not seem possible to use here (line 447). julia ---------- Forwarded message ---------- Date: Mon, 7 Aug 2017 04:45:58 +0800 From: kbuild test robot To: kbuild@01.org Cc: Julia Lawall Subject: Re: [PATCH 2/2] mtd: spi-nor: Altera ASMI Parallel II IP Core Hi Matthew, [auto build test WARNING on next-20170804] [also build test WARNING on v4.13-rc3] [cannot apply to mtd/spi-nor/fixes linus/master mtd/master v4.13-rc3 v4.13-rc2 v4.13-rc1] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/matthew-gerlach-linux-intel-com/dt-bindings-mtd-Altera-ASMI-Parallel-II-IP-Core/20170807-023147 :::::: branch date: 2 hours ago :::::: commit date: 2 hours ago >> drivers/mtd/spi-nor/altera-asmip2.c:447:17-20: ERROR: pdev is NULL but dereferenced. # https://github.com/0day-ci/linux/commit/ec2e26c1b07806d734a2939530e7d4b4d7c67f0c git remote add linux-review https://github.com/0day-ci/linux git remote update linux-review git checkout ec2e26c1b07806d734a2939530e7d4b4d7c67f0c vim +447 drivers/mtd/spi-nor/altera-asmip2.c ec2e26c1 Matthew Gerlach 2017-08-06 443 ec2e26c1 Matthew Gerlach 2017-08-06 444 static int altera_asmip2_remove(struct platform_device *pdev) ec2e26c1 Matthew Gerlach 2017-08-06 445 { ec2e26c1 Matthew Gerlach 2017-08-06 446 if (!pdev) { ec2e26c1 Matthew Gerlach 2017-08-06 @447 dev_err(&pdev->dev, "%s NULL\n", __func__); ec2e26c1 Matthew Gerlach 2017-08-06 448 return -EINVAL; ec2e26c1 Matthew Gerlach 2017-08-06 449 } else { ec2e26c1 Matthew Gerlach 2017-08-06 450 return altera_asmip2_remove_banks(&pdev->dev); ec2e26c1 Matthew Gerlach 2017-08-06 451 } ec2e26c1 Matthew Gerlach 2017-08-06 452 } ec2e26c1 Matthew Gerlach 2017-08-06 453 --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation