Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1677749ybv; Sun, 23 Feb 2020 12:23:35 -0800 (PST) X-Google-Smtp-Source: APXvYqxvtgUBvp+Di1cf4IQ822SCM97scOCle69mkwFhNIjRFVwjL4A2fzy8zs3Gudt18ILZeAw3 X-Received: by 2002:aca:388:: with SMTP id 130mr9866887oid.89.1582489415838; Sun, 23 Feb 2020 12:23:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582489415; cv=none; d=google.com; s=arc-20160816; b=wM4JNGNJoC4WJ15NokQ+G0CReMPq6GS2Rb4dc5QQH+TAhAg0PTXToduiZ6oExR/5p+ hh3twyfGIA1B4d7BQD7bQZrXY7+22pp4/LRUS1NES58lm0NTJkjbIx0wfY+Gxwc0hbKa yFZSYt4twHa28n4wpto1Yl7T21VCOwgC6lQWiqAyMU56FSowiT2xsDs0LIlxnYDr+bnw RXZz6f6Ee0YYcjfi6MKc67U+La1JjchD9icuSrJFvG57TKFgY9HcGydkKbQSjQgninFF p+ivkR26HT0qohfSf1AOYSaFN3lQopXCFrHGG6H439H4vi66kzXhu8xzUH5jWHvZOQ3T dKZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=lVyMdZhCk+sORVIrUQaBVSmaLB9ffzyY3HC5ai8Eoms=; b=tKQGfwU+8JniGsiNtFecs6PPOorRnWAF/3OgWpsDmbXkCUpNRgj8/hLsQZohF94TU1 YivRAE6iEXgpDZBB8C5XUOQDk5Dln9X6BZMdJ5zPnGFzhhdX3Ju0Hh4Z2EhdSTJB1SWX yxlmJWWSl6BrUJvxM59P0YiPrAzWYipU3eaTOQZuGMvvDlnkI4VW1i4IsnWFMD9BPp7K mi9IpN+FWRVYte+3ul/Mrfk+EpprwCAy4D9YY1ciq6mK54HNlmQdcTz3B0ROf5sSMtef cTa4fIRdmDZ8xvHXzwkfNvaGeoK1OizPGr3DtO2Xvd1fAsbZqETkMYg8H+2rBY0oJONi O6IQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=hDP5rY8T; 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 t128si3853461oie.176.2020.02.23.12.23.23; Sun, 23 Feb 2020 12:23:35 -0800 (PST) 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=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=hDP5rY8T; 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 S1727165AbgBWUWa (ORCPT + 99 others); Sun, 23 Feb 2020 15:22:30 -0500 Received: from mail-qk1-f195.google.com ([209.85.222.195]:40558 "EHLO mail-qk1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726534AbgBWUWa (ORCPT ); Sun, 23 Feb 2020 15:22:30 -0500 Received: by mail-qk1-f195.google.com with SMTP id b7so6984182qkl.7 for ; Sun, 23 Feb 2020 12:22:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=lVyMdZhCk+sORVIrUQaBVSmaLB9ffzyY3HC5ai8Eoms=; b=hDP5rY8TIoLw6Jo6H42eHUp9TSa+DpqwknE0lBMKpV5egFdFq8VKo71g057hDFfAkQ z44PkvJJYcbkFwPkHGZiatzUXFV5yhSDDHrMru0Z98EtNsKe5SmXAGia76o9EAegKUGc v8acKrc4K/7mV3p6BXQl2j6/np1XIuvYLc7rqckAsx2xWBXYNfaVq4kTyGkRnK4w2RXx je4S7tHExunR+6aEpQxSRh0XYrm36XTsssugCKONyCHXk2gLrBUW7gdyciZhl8tcLNIB JczKJG97toLd/VYICNXHXAT7e607XOTenDr3cuKtE/hLrrpNtLSbEQbdYVRXd4qTx3se u7CQ== 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:content-transfer-encoding; bh=lVyMdZhCk+sORVIrUQaBVSmaLB9ffzyY3HC5ai8Eoms=; b=iAHZlVTCDTBQElLPR0YU8CPT/NnIejRRCY0ljNVyfDln5oaO1p4l3VJx5nAV11kQ/P i9X1nVY7jyI+uMHOd2eR+kBa2f5t7apVkozzUDG7j0u1SwcnGQwV0hkVwvkNnGve8xg9 tHbCkoYcJf0Y1fgG6LJkWjyILfgOueyF0+OE2YDgfx7k2LNV4IQT6wuEo9No8VHsAPnH 7WI9amcPosKHCxIYuH9yLn8T/ZJCMjOsdsWnzG6BxHfxZAMn/INQ351C+NlWsE8o1TLM P3NIiAsdVcHrIMTU6sGN9I/U9YW/q2dqGcgDt//vZJwtK/zdIsXzRpvfdKvwm8UMncHV W4BA== X-Gm-Message-State: APjAAAXZafgPJRlz8F1rXGMomyN3p6XshX/HRbRTuA5ysPAVYlAVnJy6 +fjSDVSP6NPqJRssdfPUXJlxD+6ycE39Fu92sZ+CHg== X-Received: by 2002:a37:9e51:: with SMTP id h78mr44838191qke.323.1582489349108; Sun, 23 Feb 2020 12:22:29 -0800 (PST) MIME-Version: 1.0 References: <20200220100141.5905-4-brgl@bgdev.pl> <202002221921.euxJGwes%lkp@intel.com> In-Reply-To: <202002221921.euxJGwes%lkp@intel.com> From: Bartosz Golaszewski Date: Sun, 23 Feb 2020 21:22:18 +0100 Message-ID: Subject: Re: [PATCH v4 3/4] nvmem: increase the reference count of a gpio passed over config To: kbuild test robot Cc: Bartosz Golaszewski , kbuild-all@lists.01.org, Linus Walleij , Srinivas Kandagatla , Khouloud Touil , Geert Uytterhoeven , linux-gpio , LKML Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org sob., 22 lut 2020 o 12:54 kbuild test robot napisa=C5=82(a)= : > > Hi Bartosz, > > I love your patch! Yet something to improve: > > [auto build test ERROR on next-20200221] > [also build test ERROR on v5.6-rc2] > [cannot apply to gpio/for-next linus/master v5.6-rc2 v5.6-rc1 v5.5] > [if your patch is applied to the wrong git tree, please drop us a note to= help > improve the system. BTW, we also suggest to use '--base' option to specif= y the > base tree in git format-patch, please see https://stackoverflow.com/a/374= 06982] > > url: https://github.com/0day-ci/linux/commits/Bartosz-Golaszewski/nvme= m-gpio-fix-resource-management/20200222-054341 > base: bee46b309a13ca158c99c325d0408fb2f0db207f > config: sparc-defconfig (attached as .config) > compiler: sparc-linux-gcc (GCC) 7.5.0 > reproduce: > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbi= n/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > # save the attached .config to linux build tree > GCC_VERSION=3D7.5.0 make.cross ARCH=3Dsparc > > If you fix the issue, kindly add following tag > Reported-by: kbuild test robot > > All errors (new ones prefixed by >>): > > drivers/nvmem/core.c: In function 'nvmem_register': > >> drivers/nvmem/core.c:352:20: error: implicit declaration of function '= gpiod_ref'; did you mean 'gpiod_get'? [-Werror=3Dimplicit-function-declarat= ion] > nvmem->wp_gpio =3D gpiod_ref(config->wp_gpio); > ^~~~~~~~~ > gpiod_get > drivers/nvmem/core.c:352:18: warning: assignment makes pointer from in= teger without a cast [-Wint-conversion] > nvmem->wp_gpio =3D gpiod_ref(config->wp_gpio); > ^ > cc1: some warnings being treated as errors > > vim +352 drivers/nvmem/core.c > Of course I forgot to add the stub... Will fix in next iteration. Bart