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.8 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 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 46B47C4361B for ; Tue, 15 Dec 2020 19:00:38 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id B5F3C22ADC for ; Tue, 15 Dec 2020 19:00:37 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B5F3C22ADC 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 CCF526B0036; Tue, 15 Dec 2020 14:00:36 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id C7F716B005D; Tue, 15 Dec 2020 14:00:36 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id B962B6B0068; Tue, 15 Dec 2020 14:00:36 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0243.hostedemail.com [216.40.44.243]) by kanga.kvack.org (Postfix) with ESMTP id A45ED6B0036 for ; Tue, 15 Dec 2020 14:00:36 -0500 (EST) Received: from smtpin22.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id 6AEE33637 for ; Tue, 15 Dec 2020 19:00:36 +0000 (UTC) X-FDA: 77596432872.22.cats18_5115aa927425 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin22.hostedemail.com (Postfix) with ESMTP id 2F12318038E68 for ; Tue, 15 Dec 2020 19:00:36 +0000 (UTC) X-HE-Tag: cats18_5115aa927425 X-Filterd-Recvd-Size: 5177 Received: from mail-vk1-f196.google.com (mail-vk1-f196.google.com [209.85.221.196]) by imf33.hostedemail.com (Postfix) with ESMTP for ; Tue, 15 Dec 2020 19:00:34 +0000 (UTC) Received: by mail-vk1-f196.google.com with SMTP id d6so2488721vkb.13 for ; Tue, 15 Dec 2020 11:00:34 -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=tqvjG3LHN+UnAhAiqOmxkv4SND0IGGUCBI5vxhhXVhk=; b=Zxne49qojZOfMt9QLVmdYnC/mgLf64CBlpCiZTP5C0EspcLBFD4G71aGguRj8oXaFo dO+L8uHF1B6IgfGYPoK3pl7OMwthdKltlgULzPIroC9en2WqD/Agx7QpJjBML+r9N5fU GkU1fZP6U9C1Z6IS8fkgPLaHHJpsL9EtIaRbal0sfosUtsgamV/EcSjyG7KppC8ihjUO wf0PWgwvD/sxyKOO2hjRClms6FgRhEHQAkPhBze7RNNqpbCit6r8sYnoWGe8wpGHGx2J 0dTjL3YHeYSlB3nSOKjjA6vPjlWjfgtWSnN7YWNB5X4tvgYzBTQtCMWk9t7CQhjm5xPa 655Q== 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=tqvjG3LHN+UnAhAiqOmxkv4SND0IGGUCBI5vxhhXVhk=; b=QjlS+31XX2G0TaRZknZQvZaKj/GXzVgS1aSDZi2CHR3aFO9lISWkTn6+NuQ4Z2/2T9 pVLZdmKptsq75aUkYciLWzyeHu7PRxVboi3khFSf2mOE9KZltzk/YQYSCzIHy/YDpTJ2 SGwer6AIxNZgtkLlqqIWKcTRs+nNS6qMNUU4NVr1pMSP1Y3wyQ57qd9ddQ4D5AVKeLZ6 oiU4jjD49ZbeynHYJ1WAUwCfcvI1eq6Tmgh+XbRG74VWomOn17YZAe1BXMLjnJvslRu4 01e55zfVuqgA55SCRR0P/8z9e8tUYo4+NINvskBUrbBLfYfYY0G5OPoIGb8forTUSPJs Ev6A== X-Gm-Message-State: AOAM533uFSex1/mohKqOrvGR4/7869rxUjFX9Es9HZGBMkLUJ2B+R4xC G0J5CINFQyRNhPcQFaD2snb/taXMW3c+vHvUuuE= X-Google-Smtp-Source: ABdhPJyHUPyNafBiP1WRGYk8IqFEoc8VJI4/IANwEXqkZfAmzxF68t86De301sN6F2z0V+tnI76qFaVoFZNf6cQEI0M= X-Received: by 2002:a1f:4595:: with SMTP id s143mr31025286vka.6.1608058833485; Tue, 15 Dec 2020 11:00:33 -0800 (PST) MIME-Version: 1.0 References: <202012150402.NnbPvD05-lkp@intel.com> In-Reply-To: <202012150402.NnbPvD05-lkp@intel.com> From: Souptick Joarder Date: Wed, 16 Dec 2020 00:30:21 +0530 Message-ID: Subject: Re: [linux-next:master 6404/13375] drivers/i3c/master/mipi-i3c-hci/core.c:780:34: warning: unused variable 'i3c_hci_of_match' To: kernel test robot Cc: Nicolas Pitre , kbuild-all@lists.01.org, clang-built-linux@googlegroups.com, Linux Memory Management List , Boris Brezillon 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 1:31 AM kernel test robot wrote: > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master > head: 7bba37a1591369e2e506d599b8f5d7d0516b2dbc > commit: 9ad9a52cce2828d932ae9495181e3d6414f72c07 [6404/13375] i3c/master: introduce the mipi-i3c-hci driver > config: x86_64-randconfig-a013-20201215 (attached as .config) > compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project d38205144febf4dc42c9270c6aa3d978f1ef65e1) > 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 x86_64 cross compiling tool for clang build > # apt-get install binutils-x86-64-linux-gnu > # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=9ad9a52cce2828d932ae9495181e3d6414f72c07 > 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 9ad9a52cce2828d932ae9495181e3d6414f72c07 > # save the attached .config to linux build tree > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 > > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot > > All warnings (new ones prefixed by >>): > > >> drivers/i3c/master/mipi-i3c-hci/core.c:780:34: warning: unused variable 'i3c_hci_of_match' [-Wunused-const-variable] > static const struct of_device_id i3c_hci_of_match[] = { > ^ > 1 warning generated. CONFIG_OF not enabled. Does it make sense to remove of_match_ptr() ? static struct platform_driver i3c_hci_driver = { .probe = i3c_hci_probe, .remove = i3c_hci_remove, .driver = { .name = "mipi-i3c-hci", .of_match_table = of_match_ptr(i3c_hci_of_match), }, > > vim +/i3c_hci_of_match +780 drivers/i3c/master/mipi-i3c-hci/core.c > > 779 > > 780 static const struct of_device_id i3c_hci_of_match[] = { > 781 { .compatible = "mipi-i3c-hci", }, > 782 {}, > 783 }; > 784 MODULE_DEVICE_TABLE(of, i3c_hci_of_match); > 785 > > --- > 0-DAY CI Kernel Test Service, Intel Corporation > https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org