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 B742EC433EF for ; Fri, 22 Apr 2022 23:43:31 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 0EBDD6B0073; Fri, 22 Apr 2022 19:43:31 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 09AD06B0074; Fri, 22 Apr 2022 19:43:31 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id EA3B66B0075; Fri, 22 Apr 2022 19:43:30 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (relay.hostedemail.com [64.99.140.26]) by kanga.kvack.org (Postfix) with ESMTP id DB24F6B0073 for ; Fri, 22 Apr 2022 19:43:30 -0400 (EDT) Received: from smtpin21.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay13.hostedemail.com (Postfix) with ESMTP id A9C6160469 for ; Fri, 22 Apr 2022 23:43:30 +0000 (UTC) X-FDA: 79386144180.21.2A9D2B3 Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by imf24.hostedemail.com (Postfix) with ESMTP id 8E404180036 for ; Fri, 22 Apr 2022 23:43:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1650671009; x=1682207009; h=date:from:to:cc:subject:message-id:mime-version; bh=zABS5wFkYW6CaRqAD+VBR8WOZmz+FfZuA2c+J9yGMcw=; b=HOpzy6Px4vmlN1VlGOhURheYZG/+hfCbJ6wbbf3sOLahPdpNQloERs27 moeafUTYjl9eA56vGD3+p5y88udo/tpc1pkwEeqmrtuBou8dx1j/DzG4i V+lLzAWlG7Tql0wwNIHbA87ocg0ZFOi3Fui4Fo7p+1VeENX2lDUoybBnd VrLC/yDNizIsM3YD0IBKHEYVe3BdoLZ3qJqMrNYq8A9WgE7VFSBDiaYO0 tjPctKSbqAVC0vafHlze7HW0rf1dk+fq1kbPSnS/lIiPGFJ4op0HfhwXk UD2Go9V/feJILYxXc2EqCVge0uKzJPln2lTYZiKKxiFmN7E8tCjsuan73 g==; X-IronPort-AV: E=McAfee;i="6400,9594,10324"; a="246720598" X-IronPort-AV: E=Sophos;i="5.90,282,1643702400"; d="scan'208";a="246720598" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Apr 2022 16:43:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,282,1643702400"; d="scan'208";a="806202318" Received: from lkp-server01.sh.intel.com (HELO 3abc53900bec) ([10.239.97.150]) by fmsmga006.fm.intel.com with ESMTP; 22 Apr 2022 16:43:26 -0700 Received: from kbuild by 3abc53900bec with local (Exim 4.95) (envelope-from ) id 1ni2vt-000Afo-RV; Fri, 22 Apr 2022 23:43:25 +0000 Date: Sat, 23 Apr 2022 07:42:39 +0800 From: kernel test robot To: Javier Martinez Canillas Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, Linux Memory Management List , Geert Uytterhoeven Subject: [linux-next:master 4698/5845] drivers/gpu/drm/solomon/ssd130x-spi.c:154:35: warning: unused variable 'ssd130x_spi_table' Message-ID: <202204230717.gJP3yZ5j-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Stat-Signature: 7axo3ku1to5h61phh11849us8uxuq9qq X-Rspamd-Server: rspam07 X-Rspamd-Queue-Id: 8E404180036 X-Rspam-User: Authentication-Results: imf24.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=HOpzy6Px; dmarc=pass (policy=none) header.from=intel.com; spf=none (imf24.hostedemail.com: domain of lkp@intel.com has no SPF policy when checking 134.134.136.126) smtp.mailfrom=lkp@intel.com X-HE-Tag: 1650671007-675325 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: tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: e7d6987e09a328d4a949701db40ef63fbb970670 commit: 74373977d2ca26e5735377f8874be70bc2f030f5 [4698/5845] drm/solomon: Add SSD130x OLED displays SPI support config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20220423/202204230717.gJP3yZ5j-lkp@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 5bd87350a5ae429baf8f373cb226a57b62f87280) 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=74373977d2ca26e5735377f8874be70bc2f030f5 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 74373977d2ca26e5735377f8874be70bc2f030f5 # 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=x86_64 SHELL=/bin/bash drivers/gpu/drm/solomon/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> drivers/gpu/drm/solomon/ssd130x-spi.c:154:35: warning: unused variable 'ssd130x_spi_table' [-Wunused-const-variable] static const struct spi_device_id ssd130x_spi_table[] = { ^ 1 warning generated. vim +/ssd130x_spi_table +154 drivers/gpu/drm/solomon/ssd130x-spi.c 145 146 /* 147 * The SPI core always reports a MODALIAS uevent of the form "spi:", even 148 * if the device was registered via OF. This means that the module will not be 149 * auto loaded, unless it contains an alias that matches the MODALIAS reported. 150 * 151 * To workaround this issue, add a SPI device ID table. Even when this should 152 * not be needed for this driver to match the registered SPI devices. 153 */ > 154 static const struct spi_device_id ssd130x_spi_table[] = { 155 { "sh1106", SH1106_ID }, 156 { "ssd1305", SSD1305_ID }, 157 { "ssd1306", SSD1306_ID }, 158 { "ssd1307", SSD1307_ID }, 159 { "ssd1309", SSD1309_ID }, 160 { /* sentinel */ } 161 }; 162 MODULE_DEVICE_TABLE(spi, ssd130x_spi_table); 163 -- 0-DAY CI Kernel Test Service https://01.org/lkp