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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4DB83ECAAA1 for ; Thu, 15 Sep 2022 13:01:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229735AbiIONBR (ORCPT ); Thu, 15 Sep 2022 09:01:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36862 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229452AbiIONBN (ORCPT ); Thu, 15 Sep 2022 09:01:13 -0400 Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5438B9C22C for ; Thu, 15 Sep 2022 06:01:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1663246872; x=1694782872; h=date:from:to:cc:subject:message-id:mime-version; bh=uL2gBKd29t2XU9a/qhUBN4xNsydVhG0XYgJYOwM/2IA=; b=P8VUHGjpMxr+wV1lNL7XFmlS5JWgFM6Cocm3paECo1KzyH41zd2YmPNu DZtfJGIqYWkkoVpOyFJA1ZMynJJtP6lQFdtaFi9jNYAeIcAVLKM5QvVIK gcQuto+Yzqg1PUwR5S9PpouL2JfCvyHFtcnKLVdzbijwKXwdwpCOV8cio pBLiZ+djgpiAwSqzUJJP2goczP8pnxytAFOZcqxJRc4ZPBYWOF6S9ULez /OGE1yaIkV+6dJ8QzQsugadPFuGcULGJm2qDbFV20c7IjwA8iYFCt5lSp jfHcB6DjDFJoOnLn2HDtJ12iInOFJuFYoEtzixQhoJjMLmxlOJWIXy2lY Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10470"; a="285744260" X-IronPort-AV: E=Sophos;i="5.93,318,1654585200"; d="scan'208";a="285744260" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Sep 2022 06:01:11 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,318,1654585200"; d="scan'208";a="945939490" Received: from lkp-server02.sh.intel.com (HELO 41300c7200ea) ([10.239.97.151]) by fmsmga005.fm.intel.com with ESMTP; 15 Sep 2022 06:01:10 -0700 Received: from kbuild by 41300c7200ea with local (Exim 4.96) (envelope-from ) id 1oYoUP-0000a9-1D; Thu, 15 Sep 2022 13:01:09 +0000 Date: Thu, 15 Sep 2022 21:00:44 +0800 From: kernel test robot To: Andy Yan Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, Heiko Stuebner , Sascha Hauer Subject: drivers/gpu/drm/rockchip/rockchip_vop2_reg.c:248:34: warning: unused variable 'vop2_dt_match' Message-ID: <202209152038.HNZxMRUG-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Andy, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 3245cb65fd91cd514801bf91f5a3066d562f0ac4 commit: 604be85547ce4d61b89292d2f9a78c721b778c16 drm/rockchip: Add VOP2 driver date: 4 months ago config: hexagon-randconfig-r001-20220915 (https://download.01.org/0day-ci/archive/20220915/202209152038.HNZxMRUG-lkp@intel.com/config) compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 72e7575ffe60bc396f207c0b278b8b1a017e87bb) 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/torvalds/linux.git/commit/?id=604be85547ce4d61b89292d2f9a78c721b778c16 git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git fetch --no-tags linus master git checkout 604be85547ce4d61b89292d2f9a78c721b778c16 # 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/gpu/drm/rockchip/ If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> drivers/gpu/drm/rockchip/rockchip_vop2_reg.c:248:34: warning: unused variable 'vop2_dt_match' [-Wunused-const-variable] static const struct of_device_id vop2_dt_match[] = { ^ 1 warning generated. vim +/vop2_dt_match +248 drivers/gpu/drm/rockchip/rockchip_vop2_reg.c 247 > 248 static const struct of_device_id vop2_dt_match[] = { 249 { 250 .compatible = "rockchip,rk3566-vop", 251 .data = &rk3566_vop, 252 }, { 253 .compatible = "rockchip,rk3568-vop", 254 .data = &rk3568_vop, 255 }, { 256 }, 257 }; 258 MODULE_DEVICE_TABLE(of, vop2_dt_match); 259 -- 0-DAY CI Kernel Test Service https://01.org/lkp