Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp528091ybz; Fri, 17 Apr 2020 05:39:45 -0700 (PDT) X-Google-Smtp-Source: APiQypKel4mZnDfIuDVfwAO/WoxjkRbXCQl2WlmTHKM5c3TDyux469gRBtX/oYF7SPRLM0PwVWlB X-Received: by 2002:a50:d0d5:: with SMTP id g21mr2865444edf.92.1587127184359; Fri, 17 Apr 2020 05:39:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587127184; cv=none; d=google.com; s=arc-20160816; b=gmU3755fMyCeGvTlqv9AJQzMV95EkxbWuWz8FT3RDu/1VW1XXOMF180ZTb8YWy3AR6 yHHxQXrNWalBZuhrcoG6XA5AqSKzUfv5eo7W9bgyZL44yrgJp5uZyVgNhvXQXzAAAFo2 r5DLJK+Z3JF8usKfz3c5L939ZCExB731zGHsD5V2NtnXZTrRcC2V8u8zdiMyUcxpduS7 XsAfrkABy23JSzzfBYnXueU4/IqSZwfCsidoq/WjNGWfwv20X/nvz4wbfHntZsaEYm4t IhTZnGnNDdOxAcN5obG4ty3J4ReEiYYlyXKc8f6SvfCrog4RPCtElpKaKyYPMSR6xs1P f24Q== 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; bh=D1MHAowSehLHX7xdaibVTqjYzkilFuVsKGLz5K/oGgU=; b=uXNhB2eU10hOMqb9uVT6Kb/MhpNkfQn51IsOMWrWIhX7TDHApE5QOsz0aFvTStD6hq Ed81F5s4FYRBk/TBAZyaeUlYlDog8WYn5D7xNem1bKe8nMzy21nIas8haJAz6J8fBkBz /Pl9RYv4E3bzQznD//37rc18wHQEg55J1CpVZSvB9Vb061bBrnLDWtijAAJsuf/s2YYv Vaz9vi6Iqb11lPEEtSZjNg6oIsrl/RZuaqs8vw83tXHxupAMEN4CaR6ZbMVJMGCPbISl 1BwLEZMbSBaruMPGxxpgbsKjY6F/jSaTw//sgVg4Q0BYC55n8T/vJ6M7GcyInWDjPKzh Qa9A== 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 n10si8456795edw.426.2020.04.17.05.39.20; Fri, 17 Apr 2020 05:39:44 -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 S1729290AbgDQMiA convert rfc822-to-8bit (ORCPT + 99 others); Fri, 17 Apr 2020 08:38:00 -0400 Received: from mail-ot1-f65.google.com ([209.85.210.65]:40523 "EHLO mail-ot1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727877AbgDQMh7 (ORCPT ); Fri, 17 Apr 2020 08:37:59 -0400 Received: by mail-ot1-f65.google.com with SMTP id i27so1268123ota.7; Fri, 17 Apr 2020 05:37:59 -0700 (PDT) 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=Gwu1rFcuaic1j0b6tK1OdMvf4DIWDJJOupEm/uBluyw=; b=p77FKrWHgF4FIdK7TuirX8L6POd6bPjWItGc104acxj8tzP4FtmSHkC72U6ChOuTkP DPFr9DAzw0eQxg3grNP8ziWLKNWZpFHs7f9v1oyBYwaCR338LqLzLuLwq5SdZ55Zpu7Q G+Ey70ikFb+pFuBlAATuoDRfn8ExPBoYNxrtUJS53AeTHrIT644np1Df5iOS8qRxfhfq Xgv8A/9IRy8jnisjzyaEDla/VHH7IOTRIw6cS+NoWB+Pqs9gstNZnhGmr35m0xaBMcGS KcUxbaw8pVmPVMvEE9sTVBaXbVz70AAplFlxZimYA3x9VDfdncG7BmOxUDVEUz4bKfNf np9w== X-Gm-Message-State: AGi0PuavNX8qNg2J9aDo7lC+mxymnXtUEYYVVZyhLlX5Hh/x/bs5GUqM 1+daKWupSWYSwZ5fhQo0CVo65Qlsow0IMxbDyTM= X-Received: by 2002:a9d:6299:: with SMTP id x25mr2206719otk.107.1587127078809; Fri, 17 Apr 2020 05:37:58 -0700 (PDT) MIME-Version: 1.0 References: <20200417111604.19143-1-yanaijie@huawei.com> In-Reply-To: <20200417111604.19143-1-yanaijie@huawei.com> From: Geert Uytterhoeven Date: Fri, 17 Apr 2020 14:37:47 +0200 Message-ID: Subject: Re: [PATCH] pinctrl: rza1: fix wrong array assignment of rza1l_swio_entries To: Jason Yan Cc: Linus Walleij , Nishka Dasgupta , Linux-Renesas , "open list:GPIO SUBSYSTEM" , Linux Kernel Mailing List , Hulk Robot Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 17, 2020 at 12:50 PM Jason Yan wrote: > The rza1l_swio_entries refered to the wrong array rza1h_swio_pins, which > was intended to be rza1l_swio_pins. So let's fix it. > > This is detected by the following gcc warning: > > drivers/pinctrl/pinctrl-rza1.c:401:35: warning: ‘rza1l_swio_pins’ > defined but not used [-Wunused-const-variable=] > static const struct rza1_swio_pin rza1l_swio_pins[] = { > ^~~~~~~~~~~~~~~ > > Reported-by: Hulk Robot Fixes: 039bc58e73b77723 ("pinctrl: rza1: Add support for RZ/A1L") > Signed-off-by: Jason Yan Reviewed-by: Geert Uytterhoeven i.e. will queue in sh-pfc-for-v5.8. 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