From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A88EFC4361B for ; Tue, 15 Dec 2020 19:27:09 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 211C222ADC for ; Tue, 15 Dec 2020 19:27:08 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 211C222ADC Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 21F0F6B0036; Tue, 15 Dec 2020 14:27:08 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 1A9816B005D; Tue, 15 Dec 2020 14:27:08 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 04A2D6B0068; Tue, 15 Dec 2020 14:27:07 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0107.hostedemail.com [216.40.44.107]) by kanga.kvack.org (Postfix) with ESMTP id E3E1C6B0036 for ; Tue, 15 Dec 2020 14:27:07 -0500 (EST) Received: from smtpin09.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with ESMTP id B2C768249980 for ; Tue, 15 Dec 2020 19:27:07 +0000 (UTC) X-FDA: 77596499694.09.bird20_480191427426 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin09.hostedemail.com (Postfix) with ESMTP id 946BE180AD811 for ; Tue, 15 Dec 2020 19:27:07 +0000 (UTC) X-HE-Tag: bird20_480191427426 X-Filterd-Recvd-Size: 5039 Received: from mail-vs1-f48.google.com (mail-vs1-f48.google.com [209.85.217.48]) by imf14.hostedemail.com (Postfix) with ESMTP for ; Tue, 15 Dec 2020 19:27:07 +0000 (UTC) Received: by mail-vs1-f48.google.com with SMTP id s2so4953238vsk.2 for ; Tue, 15 Dec 2020 11:27:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=jHb6dN+Dvm/IF5o3+njURnTnHGjGNTXkMWxk8SrY1Wc=; b=nWtahZRflvZRlh00XxP+Ayc4R9/Bb8B8EmuCMlQYkyqbk/psLYig/uTTIVPu2ohQgB nPpt77JpD2oqgjDHVtyKFSInNVpwDX+5dprnC3Qv1e+S/YXh8+oFn4heiDKgalpkKIx1 6eJ6V/mAxy7joeuoAx9WsqLS5BKQCwCbSzonpmh0k6DOtGYxKxmlos1aCwTvLvbP2cT8 /9Nf7uPSwda/bjEzMwGE63c45MHM4ZEJjKv2+Eb2SG5XqFsqV3puTB2twncdxEUxY759 pA+pDBt5BkYxbsXjP3hS0ENWK0paiq2RVu0j3eGTVyb0t6hGJL/dhxPrChq0qvnmphDN r3vQ== 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; bh=jHb6dN+Dvm/IF5o3+njURnTnHGjGNTXkMWxk8SrY1Wc=; b=RmhE3EwD5iJDlNLO88BRMqLNcuvWtkV0HZIjllLJYul2bORoPA0RkdbhW1oM1RkvgP N3CcvRO2tedF4TOFAVNZriKsdaIKmv3CbTo4eBMoPfAlCU88x/+M3faD1x3gBiOGYue+ WzAxdem2MrPTgN6TYweL9w1N4/rTf23G9hWT0ZAth1Ku0FIuv6nGT/0Aa8DJACLJQVN0 5+w+9qeHML0mOBE0GlAtsA3Vjc6AjaiB7DY+pfWPwMiEosPp3R3/ex2sC3KqslLvYXl/ DIunBUBx/q9tqRafqN4W1GJ2CEqssk0sMtvFVWzUF1Qvh6x97Y5pVL1LMtQdRL1wlQCw 7tAA== X-Gm-Message-State: AOAM530GSyar/IGgO1a8JlFSdJiVmw442HKfpa4xX16kRHAcQhx8g+BD 9GuWBfIof5+83M74LJaHKcXC9M+vxSwfy0oRyvw= X-Google-Smtp-Source: ABdhPJw7JZCpXXKudFQIrTjr+P8jbOZSGKwEWmu7EtHocJi3YZjJTz3+4geK7ajZfmGE6azG77SCU/DUG50dYMWC9/E= X-Received: by 2002:a67:fad7:: with SMTP id g23mr29499930vsq.9.1608060426438; Tue, 15 Dec 2020 11:27:06 -0800 (PST) MIME-Version: 1.0 References: <202012152316.aox0aByc-lkp@intel.com> In-Reply-To: <202012152316.aox0aByc-lkp@intel.com> From: Souptick Joarder Date: Wed, 16 Dec 2020 00:56:55 +0530 Message-ID: Subject: Re: [linux-next:master 11518/13311] drivers/input/misc/ariel-pwrbutton.c:152:35: warning: unused variable 'ariel_pwrbutton_id_table' To: kernel test robot Cc: Lubomir Rintel , kbuild-all@lists.01.org, clang-built-linux@googlegroups.com, Linux Memory Management List , Dmitry Torokhov Content-Type: text/plain; charset="UTF-8" X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Tue, Dec 15, 2020 at 9:06 PM kernel test robot wrote: > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master > head: 9317f948b0b188b8d2fded75957e6d42c460df1b > commit: 3d82a4d736a662e352027686b8a373bf3e70820e [11518/13311] Input: add driver for power button on Dell Wyse 3020 > config: powerpc-randconfig-r024-20201215 (attached as .config) > compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project a29ecca7819a6ed4250d3689b12b1f664bb790d7) > 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 > # install powerpc cross compiling tool for clang build > # apt-get install binutils-powerpc-linux-gnu > # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=3d82a4d736a662e352027686b8a373bf3e70820e > 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 3d82a4d736a662e352027686b8a373bf3e70820e > # save the attached .config to linux build tree > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=powerpc > > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot > > All warnings (new ones prefixed by >>): > > >> drivers/input/misc/ariel-pwrbutton.c:152:35: warning: unused variable 'ariel_pwrbutton_id_table' [-Wunused-const-variable] > static const struct spi_device_id ariel_pwrbutton_id_table[] = { > ^ > 1 warning generated. ariel_pwrbutton_id_table[] is not used. This can be removed if no plan to use it further. > > vim +/ariel_pwrbutton_id_table +152 drivers/input/misc/ariel-pwrbutton.c > > 151 > > 152 static const struct spi_device_id ariel_pwrbutton_id_table[] = { > 153 { "wyse-ariel-ec-input", 0 }, > 154 {} > 155 }; > 156 MODULE_DEVICE_TABLE(spi, ariel_pwrbutton_id_table); > 157 > > --- > 0-DAY CI Kernel Test Service, Intel Corporation > https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org