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 Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 88949C43334 for ; Thu, 14 Jul 2022 08:21:49 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id E4F29940197; Thu, 14 Jul 2022 04:21:48 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id E0024940134; Thu, 14 Jul 2022 04:21:48 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id CF12D940197; Thu, 14 Jul 2022 04:21:48 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by kanga.kvack.org (Postfix) with ESMTP id BF0EC940134 for ; Thu, 14 Jul 2022 04:21:48 -0400 (EDT) Received: from smtpin20.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay02.hostedemail.com (Postfix) with ESMTP id 9513F34763 for ; Thu, 14 Jul 2022 08:21:48 +0000 (UTC) X-FDA: 79685011896.20.E4E7E65 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf22.hostedemail.com (Postfix) with ESMTP id 28C24C007A for ; Thu, 14 Jul 2022 08:21:48 +0000 (UTC) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 2C24E61D9B for ; Thu, 14 Jul 2022 08:21:47 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 97069C341C6 for ; Thu, 14 Jul 2022 08:21:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1657786906; bh=cM75EalaE+G14WuLgMcrVWjKyhz/7cDyHwijh6Jtasg=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=OhHh5uUe638RHZec3dbAmSHIQiyvnWpzF7rtrOCIUu+Hrqc81Yc0/a3NypvXCW37P f8uqoz7cIIqIbq59K4rHU6ig4DgxpYXaBKKNVcQLaptb6Tu+zOql3jLJLiIJ+IEGBy rNphs3jpuXEk91sS6FBEUrC2kcfzF5NJcnlieamAkq7yDpyQ5Tg6zdYkaWha8QYTpD lBM7Pw6o87DA72ZIy3+aDkwqr3Zxp6AOAfp0h0Rf5kHUGKdf8/WKDu8gqDRspu9wS1 soN/Iw723SbFC0v3bVVVa7NVeBX1TwHy2z4zGZwgcgA+oNMvEPoCKPkJCcwsCnTQJ8 lMm+zq+hNXGlg== Received: by mail-yb1-f173.google.com with SMTP id y195so2066813yby.0 for ; Thu, 14 Jul 2022 01:21:46 -0700 (PDT) X-Gm-Message-State: AJIora//COIHbtkxC0BsNKkmVNwYEN8RVqraOCbTlz3NM7Pb64hpmcOx jQpbQIPePb3LY7csnnWdQqFLRrbnvkwKUmf4c40= X-Google-Smtp-Source: AGRyM1vNAsuZTeUDqx1iRB/kszrma7xNtlq70IydZXwh7aO+rcZXmioVzIDb5iN8TdenLJrWOpQ35WoR4SNoswx+7ig= X-Received: by 2002:a25:73d1:0:b0:66e:aee4:feb3 with SMTP id o200-20020a2573d1000000b0066eaee4feb3mr7674687ybc.452.1657786905666; Thu, 14 Jul 2022 01:21:45 -0700 (PDT) MIME-Version: 1.0 References: <202207141406.IF2aPRxC-lkp@intel.com> In-Reply-To: <202207141406.IF2aPRxC-lkp@intel.com> From: Arnd Bergmann Date: Thu, 14 Jul 2022 10:21:28 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [linux-next:master 4365/10347] drivers/net/dsa/microchip/ksz_spi.c:132:34: warning: unused variable 'ksz_dt_ids' To: kernel test robot Cc: Arun Ramadoss , clang-built-linux , kbuild-all@lists.01.org, Linux Memory Management List Content-Type: text/plain; charset="UTF-8" ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1657786908; a=rsa-sha256; cv=none; b=Zy9ZgU1ZuOwUaE4VNMd6+p7s6YachK+K0K1jKj87hyahMPoKsqMVCtktqpw/Y5Pmz9A/n4 5CsfZ1TvYnJquTOxmRXbxsiM9jVvvcMYVm3mJzCMZuks12VbQmTDbfelNFIrNoRDX1I6ep yeOJXgIjjxOQ5zPJQmOE8VVnWSxmmME= ARC-Authentication-Results: i=1; imf22.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=OhHh5uUe; dmarc=pass (policy=none) header.from=kernel.org; spf=pass (imf22.hostedemail.com: domain of arnd@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=arnd@kernel.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1657786908; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=2QW+OpX9bcY6qhANrQ/ExGP97DHQi69KlLq8GU2+4NM=; b=b+3bgyVzG99T1fAaDkihkh9afZyKFFp4jFLumIfwvoj1P7gVXxnRoDtQ2XkIImqYsefW3n UPIKRZ2mdsQXKlVgQfiftz7PNqs7wXvgBKM8fmA9T+Oeg+0Zghhuq/5DXjAD1PQv6aLgQg m9fFVcGd1Y/IuBetIGfSZr9QQAJC4X0= X-Stat-Signature: xp57x9bdy3qb4qmnwm9dkigt4ie5xzua X-Rspamd-Queue-Id: 28C24C007A Authentication-Results: imf22.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=OhHh5uUe; dmarc=pass (policy=none) header.from=kernel.org; spf=pass (imf22.hostedemail.com: domain of arnd@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=arnd@kernel.org X-Rspam-User: X-Rspamd-Server: rspam10 X-HE-Tag: 1657786908-341503 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 Thu, Jul 14, 2022 at 8:16 AM kernel test robot wrote: > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master > head: 4662b7adea50bb62e993a67f611f3be625d3df0d > commit: 4658f2fe8fbcb12c1db0577ad9c46b67f10d09f1 [4365/10347] net: dsa: microchip: common ksz_spi_probe for ksz switches > config: hexagon-randconfig-r023-20220714 (https://download.01.org/0day-ci/archive/20220714/202207141406.IF2aPRxC-lkp@intel.com/config) > compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 5e61b9c556267086ef9b743a0b57df302eef831b) > 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=4658f2fe8fbcb12c1db0577ad9c46b67f10d09f1 > 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 4658f2fe8fbcb12c1db0577ad9c46b67f10d09f1 > # save the config file > mkdir build_dir && cp config build_dir/.config > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon SHELL=/bin/bash drivers/net/dsa/microchip/ > > If you fix the issue, kindly add following tag where applicable > Reported-by: kernel test robot > > All warnings (new ones prefixed by >>): > > >> drivers/net/dsa/microchip/ksz_spi.c:132:34: warning: unused variable 'ksz_dt_ids' [-Wunused-const-variable] > static const struct of_device_id ksz_dt_ids[] = { > ^ The problem is the extraneous of_match_ptr() when referencing the ID table, just remove that. Arnd