Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp5069884pxb; Thu, 14 Oct 2021 18:34:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyZ4VgI4IXDmWyZghpGn6NVb1BiyXTnaD9EY+6zP2Y9XqvWzovkPVnwDTJKiEuOFJn7pzim X-Received: by 2002:a17:903:22cc:b0:13e:fa73:6fef with SMTP id y12-20020a17090322cc00b0013efa736fefmr8508462plg.25.1634261676174; Thu, 14 Oct 2021 18:34:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634261676; cv=none; d=google.com; s=arc-20160816; b=N5XOVlQKXkh665iKFXB5IL+G4EOGaGm4VVEZq46ooMd0aVdtG7+DEnleNhzxnsJFkg YNidTAdvze8i7eyO7j8kvjT40KJ03uSByorRCFJDLGyHJCVs0FDmKD70/NhB0YH4KQqs PZ4K+pa8KGpUvU9eKwJtBptanhof/xVBfLdI34E0qmgoQahFBKK20hSWOmRiJMgiK+kY o5eD9k0owo8/7XujtB3bhNgMB7YQELalArs723HSI/zdLWm/Lbt9aXkK9OMEiB5A5Y9v vg+A9rM3IEflRZwcRizvM9heALjou+Upzez/5tr9FS4KoKXifMYfIn91BJZCNWx1Ah+F y40Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=mKswVKHsYaVmj+miEFc+WAd+jtG8tqDfzq5v7oYhDog=; b=R+wst1Xi3/CcelxEqGgidWWl0SUIkJ+O/5kBtTom94wi67TJ/4kYXgMNdNM3m0eCAz 150qFNNR1SN8ycdDYC93YB1M8592tlT0tyoew5LZFIpIkPU///n+/oNh3VVw+L4TA6+3 M4fbxCyH0/rgMQweRbPFdmeSCO6BGQ0GngZt4PLG0Uoeo9oIoQWDSH0gJiee8PJ0rYYJ tnq0stolWyxVsJ8XGbCt/tXc99tgOlInklbO0M7MItGeq6uFt1kZj4+UcC4TbA6Zqw1D nT/PynYomOegFB/11Oud6GZDbcaLJ3DWYu/EEognnN8n6OPk0CfEjSPS1gQ0o508OPSw kYcw== ARC-Authentication-Results: i=1; mx.google.com; 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 l6si6076553pff.337.2021.10.14.18.34.22; Thu, 14 Oct 2021 18:34:36 -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; 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 S233584AbhJNTlj (ORCPT + 99 others); Thu, 14 Oct 2021 15:41:39 -0400 Received: from mail-ua1-f41.google.com ([209.85.222.41]:38443 "EHLO mail-ua1-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232556AbhJNTli (ORCPT ); Thu, 14 Oct 2021 15:41:38 -0400 Received: by mail-ua1-f41.google.com with SMTP id h19so13541862uax.5; Thu, 14 Oct 2021 12:39:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=mKswVKHsYaVmj+miEFc+WAd+jtG8tqDfzq5v7oYhDog=; b=16PiWEFEbRFaVMrcDdPUz1zP4cjqKbgFLADx9g09QrXstQWEUtXKaHD7cmSAiMXqsr pNrbdytIiZsW8l+UPSIGrk0+dfI3+GOXOIJ0vtWciFuTMy8v5dQ1C3bH9VDFeGlix8SK d0AwiLZMX6+GIud//JZFohyaBUovnAfwzJHeytjT/FmAMevYBO0QXuLqDkYDVfSwWyUv meMrIGeMOwNPXLN3+jN5KKZQKV+rtIWV3RWAa7WFST1lIOVz4dGKunZB7EAKTk3gA3+M WppQ6EIfpNI8h0AsHAuQr+52M1wg1Dkgy9rYkDFFFQVXKT3FX+T6v9+rBI4Y2PS2IN/w dmAg== X-Gm-Message-State: AOAM530f+KG+bhi2KElHwcHDZX4Ays2THfny7GzDirzya1ZoYyRxI43S xr/kw0ROdJKeA2oZ1VTM0FhoGFtyMp/NvM5i X-Received: by 2002:ab0:70d6:: with SMTP id r22mr8702107ual.139.1634240372314; Thu, 14 Oct 2021 12:39:32 -0700 (PDT) Received: from mail-ua1-f49.google.com (mail-ua1-f49.google.com. [209.85.222.49]) by smtp.gmail.com with ESMTPSA id q12sm2465114uae.15.2021.10.14.12.39.31 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 14 Oct 2021 12:39:31 -0700 (PDT) Received: by mail-ua1-f49.google.com with SMTP id f4so13560326uad.4; Thu, 14 Oct 2021 12:39:31 -0700 (PDT) X-Received: by 2002:a05:6102:290c:: with SMTP id cz12mr9646854vsb.35.1634240371444; Thu, 14 Oct 2021 12:39:31 -0700 (PDT) MIME-Version: 1.0 References: <20211007200250.20661-1-nikita.yoush@cogentembedded.com> In-Reply-To: From: Geert Uytterhoeven Date: Thu, 14 Oct 2021 21:39:20 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2] pinctrl: renesas: r8a779[56]x: add MediaLB pins To: Nikita Yushchenko Cc: Linus Walleij , Linux-Renesas , "open list:GPIO SUBSYSTEM" , Linux Kernel Mailing List , Andrey Gusakov , Vladimir Barinov , LUU HOAI Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Nikita, On Thu, Oct 14, 2021 at 9:27 PM Nikita Yushchenko wrote: > > 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 ? No worries, I'll fix it up tomorrow myself (unless you beat me to it, then I'll fold your fix into the original commit ;-) > > 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 Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds