lkml.org 
[lkml]   [2022]   [May]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[martyn:imx8mp 8/9] drivers/gpu/drm/panel/panel-simple.c:2143:38: warning: unused variable 'innolux_g121x1_l03_mode'
tree:   https://gitlab.collabora.com/martyn/linux imx8mp
head: 9a43f7e1df323f21d01d689adc7966d695aeb7f3
commit: fa301efda2e4746d122dcde65453454851fef2dd [8/9] Convert innolux g121x1 to timing
config: i386-randconfig-a013 (https://download.01.org/0day-ci/archive/20220525/202205250438.KP96c0zm-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 10c9ecce9f6096e18222a331c5e7d085bd813f75)
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
git remote add martyn https://gitlab.collabora.com/martyn/linux
git fetch --no-tags martyn imx8mp
git checkout fa301efda2e4746d122dcde65453454851fef2dd
# 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=i386 SHELL=/bin/bash drivers/gpu/drm/panel/

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

>> drivers/gpu/drm/panel/panel-simple.c:2143:38: warning: unused variable 'innolux_g121x1_l03_mode' [-Wunused-const-variable]
static const struct drm_display_mode innolux_g121x1_l03_mode = {
^
1 warning generated.


vim +/innolux_g121x1_l03_mode +2143 drivers/gpu/drm/panel/panel-simple.c

d731f661b5d2dd5 Lucas Stach 2014-11-06 2142
f8fa17ba812b7df Akshay Bhat 2015-11-18 @2143 static const struct drm_display_mode innolux_g121x1_l03_mode = {
f8fa17ba812b7df Akshay Bhat 2015-11-18 2144 .clock = 65000,
f8fa17ba812b7df Akshay Bhat 2015-11-18 2145 .hdisplay = 1024,
f8fa17ba812b7df Akshay Bhat 2015-11-18 2146 .hsync_start = 1024 + 0,
f8fa17ba812b7df Akshay Bhat 2015-11-18 2147 .hsync_end = 1024 + 1,
f8fa17ba812b7df Akshay Bhat 2015-11-18 2148 .htotal = 1024 + 0 + 1 + 320,
f8fa17ba812b7df Akshay Bhat 2015-11-18 2149 .vdisplay = 768,
f8fa17ba812b7df Akshay Bhat 2015-11-18 2150 .vsync_start = 768 + 38,
f8fa17ba812b7df Akshay Bhat 2015-11-18 2151 .vsync_end = 768 + 38 + 1,
f8fa17ba812b7df Akshay Bhat 2015-11-18 2152 .vtotal = 768 + 38 + 1 + 0,
2e8c5eb9ef938a0 Akshay Bhat 2016-03-01 2153 .flags = DRM_MODE_FLAG_NHSYNC | DRM_MODE_FLAG_NVSYNC,
f8fa17ba812b7df Akshay Bhat 2015-11-18 2154 };
f8fa17ba812b7df Akshay Bhat 2015-11-18 2155

:::::: The code at line 2143 was first introduced by commit
:::::: f8fa17ba812b7df1535f6bb75d7264670f5997a6 drm/panel: simple: Add support for Innolux G121X1-L03

:::::: TO: Akshay Bhat <akshay.bhat@timesys.com>
:::::: CC: Thierry Reding <treding@nvidia.com>

--
0-DAY CI Kernel Test Service
https://01.org/lkp

\
 
 \ /
  Last update: 2022-05-24 23:01    [W:0.312 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site