Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp5068426pxb; Thu, 14 Oct 2021 18:31:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyKbiXW9hFBvdxUnLRzQNpK0qkZbx3FO2yHXFUFExASKindHKvGB3yPYD1mcPgNlOSnSWuH X-Received: by 2002:a17:907:7804:: with SMTP id la4mr3033116ejc.359.1634261512676; Thu, 14 Oct 2021 18:31:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634261512; cv=none; d=google.com; s=arc-20160816; b=cd9X6sqH6w8K9DsBEUlboSE8wA/p6pOvnxaCb2mu/GwZK6JpHP6rP03iDch7JL8dLa lxNIDj4ooHC9XRXMqMu8C4r2OnYVxLJe4X2CWXpZmfnW17pHy9wEJCQAlI4TV73tY+Et opGTOkNUfEgAxllPBt5pRLvqun/3ICHgQJoBkAb3HKblaXiOkKrKk9+QIv6zrjHA6IUN KWsdTAzolDvvtFPC8JChS4YzIuZWIrb3PjxU18zOFYeQX72kg7ozQ5BSK6URfR+MfDYk zkqz3dBDNPjRQ15bBDzde1CMj0Hf/26hTwENW5F4cuxtDE7uxryFZiaqnAEvBT/3TCki R9fA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=plSxLdohiawK9v5g/YQxS/w9Rn9HzCKJRyvLQE2YWx8=; b=bZAd2zlYqNRcOW12kdWmOfqM4kxpMj4rHr0R4tvtSOuTXmH7zXVVFC9nQafMUwYqD+ 4QoBKQBgAEXAXFKXtBHTElNyWsvLqYe2u9UB+lgP5fsebm1Q5SeIo3V9D8RZSc1FMR2W tzbzgYfoWvPjF37zq77tY4tQVikd2vdgNLgkTXboMVG3I4VztYgkRLTBswJtfKWf/RY2 qvQAthREu8JZXWoj3oHtbeaNh/EdfI+0qP2ASFxvy03W4ufo8QObV3vp3S86yT3W8tFe 5X+xd7nP8fAw1ufXTdKguVE5pGZVmX4d8nbFr9YXJsOK5OkJLE1rzPjyFUcYd79SuNgv sFQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cogentembedded-com.20210112.gappssmtp.com header.s=20210112 header.b=kZOFJUN4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id nb32si8994389ejc.457.2021.10.14.18.31.28; Thu, 14 Oct 2021 18:31:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@cogentembedded-com.20210112.gappssmtp.com header.s=20210112 header.b=kZOFJUN4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233468AbhJNT3H (ORCPT + 99 others); Thu, 14 Oct 2021 15:29:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52004 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230119AbhJNT3G (ORCPT ); Thu, 14 Oct 2021 15:29:06 -0400 Received: from mail-lf1-x144.google.com (mail-lf1-x144.google.com [IPv6:2a00:1450:4864:20::144]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4D3E8C061570 for ; Thu, 14 Oct 2021 12:27:01 -0700 (PDT) Received: by mail-lf1-x144.google.com with SMTP id p16so31668566lfa.2 for ; Thu, 14 Oct 2021 12:27:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cogentembedded-com.20210112.gappssmtp.com; s=20210112; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=plSxLdohiawK9v5g/YQxS/w9Rn9HzCKJRyvLQE2YWx8=; b=kZOFJUN4j714xJTUzU1dxNFBnaNDBBA58bdY92Z5ZrqC7F2kYWqI/pcg9LdQUsf+o8 DXxtT6jINJTJeAXoRtZP/doSelLOXCL1H1fegOIItUQbYk7juW1GazDumsmw3ORSBvTE 72oTtcriLDfxUaK+MDHrPesf/JXqtLdgLBaaWN1YSD+rgl2I2leR5Zc5+w8d11DY2jYo J1iiRyLBpmpvoFgz/nJkJ3Ut3EQqEm/VovzJI5pkOTZdmaqneVclQZPUpse0yUqMiti+ ZBMe+O3oA7w2+cGmsugwBxW65zEkBRZ5xY8JriFgKVBq29Seo1bYO7pC6MOwNXbsVVar hsLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=plSxLdohiawK9v5g/YQxS/w9Rn9HzCKJRyvLQE2YWx8=; b=isdqeWMQ7McxZ/UqUYoxu0Xz+0eb2utFT3Xm4cLSKgVGT8GQ4emuVrYcdwIqEKLRJC /oFimaFTmL+9IFdTtYsmEnTAz2i+17pkMwPyrQx8nHDnbJtUK092tkjegpx3qYIjHVr9 4MNX2tY+nY6OfAfdxdLNWC1d0m7dIIBADL8OhiWGYkA/nOOrp2TsrpXvMWbluhCXcZoo hQwdlfHXpcrtXB+JaOsCZmwUaUs/Cft06Fo3Yfit6Hkb40YJdIGPuwzbjc9VX94YYqZl JAXqQ5pCx6gcsFzMexYMotOslWA4r9AuoG5ahdjMgRfN5xquMDuEtoH3jMOf6UyZh0mv xnMQ== X-Gm-Message-State: AOAM533efscLiArsd+GMW7X+tSzMsgJ0PvbCY5oCP69/nmtUzNBOp+n1 7cQBky8l91kk6I/4qXIZiX58uA== X-Received: by 2002:a2e:9b4e:: with SMTP id o14mr7856596ljj.278.1634239619670; Thu, 14 Oct 2021 12:26:59 -0700 (PDT) Received: from [192.168.112.17] (nikaet.starlink.ru. [94.141.168.29]) by smtp.gmail.com with ESMTPSA id b25sm297865lfi.151.2021.10.14.12.26.58 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 14 Oct 2021 12:26:59 -0700 (PDT) Subject: Re: [PATCH v2] pinctrl: renesas: r8a779[56]x: add MediaLB pins To: Geert Uytterhoeven Cc: Linus Walleij , Linux-Renesas , "open list:GPIO SUBSYSTEM" , Linux Kernel Mailing List , Andrey Gusakov , Vladimir Barinov , LUU HOAI References: <20211007200250.20661-1-nikita.yoush@cogentembedded.com> From: Nikita Yushchenko Message-ID: Date: Thu, 14 Oct 2021 22:26:58 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, > > Obviously not only the mlb_3pin groups, but also the functions have to > be moved to the automotive[] arrays ;-) > > I'll fix these up while applying, so no need to resend. Looking at error mail from build robot (cited below). Looks like also must put definitions of mlb_3pin_groups[] / mlb_3pin_mux[] / mlb_3pin_pins[] under GEN3 ifdefs. What are the proper steps now - send a v3 of the original patch, or send a fix to what is in linux-next ? Nikita > tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master > head: 8006b911c90a4ec09958447d24c8a4c3538f5723 > commit: 23f87fe82c0341ff79807fb5f92a05a33ce1b055 [7355/7806] pinctrl: renesas: r8a779[56]x: Add MediaLB pins > config: sh-buildonly-randconfig-r002-20211014 (attached as .config) > compiler: sh4-linux-gcc (GCC) 11.2.0 > reproduce (this is a W=1 build): > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=23f87fe82c0341ff79807fb5f92a05a33ce1b055 > git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git > git fetch --no-tags linux-next master > git checkout 23f87fe82c0341ff79807fb5f92a05a33ce1b055 > # save the attached .config to linux build tree > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=sh > > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot > > All errors (new ones prefixed by >>): > >>> drivers/pinctrl/renesas/pfc-r8a77965.c:5030:27: error: 'mlb_3pin_groups' defined but not used [-Werror=unused-const-variable=] > 5030 | static const char * const mlb_3pin_groups[] = { > | ^~~~~~~~~~~~~~~ >>> drivers/pinctrl/renesas/pfc-r8a77965.c:2616:27: error: 'mlb_3pin_mux' defined but not used [-Werror=unused-const-variable=] > 2616 | static const unsigned int mlb_3pin_mux[] = { > | ^~~~~~~~~~~~ >>> drivers/pinctrl/renesas/pfc-r8a77965.c:2613:27: error: 'mlb_3pin_pins' defined but not used [-Werror=unused-const-variable=] > 2613 | static const unsigned int mlb_3pin_pins[] = { > | ^~~~~~~~~~~~~ > cc1: all warnings being treated as errors > -- >>> drivers/pinctrl/renesas/pfc-r8a77951.c:4807:27: error: 'mlb_3pin_groups' defined but not used [-Werror=unused-const-variable=] > 4807 | static const char * const mlb_3pin_groups[] = { > | ^~~~~~~~~~~~~~~ >>> drivers/pinctrl/renesas/pfc-r8a77951.c:2460:27: error: 'mlb_3pin_mux' defined but not used [-Werror=unused-const-variable=] > 2460 | static const unsigned int mlb_3pin_mux[] = { > | ^~~~~~~~~~~~ >>> drivers/pinctrl/renesas/pfc-r8a77951.c:2457:27: error: 'mlb_3pin_pins' defined but not used [-Werror=unused-const-variable=] > 2457 | static const unsigned int mlb_3pin_pins[] = { > | ^~~~~~~~~~~~~ > cc1: all warnings being treated as errors > > > vim +/mlb_3pin_groups +5030 drivers/pinctrl/renesas/pfc-r8a77965.c > > 5029 >> 5030 static const char * const mlb_3pin_groups[] = { > 5031 "mlb_3pin", > 5032 }; > 5033 >