lkml.org 
[lkml]   [2021]   [Nov]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[tobetter:odroid-5.15.y 1/76] drivers/gpu/drm/exynos/exynos_hdmi.c:165:19: error: 'hdmi_hpd_enable' defined but not used
tree:   https://github.com/tobetter/linux odroid-5.15.y
head: 678861f23d9c5a26fb838c37ec2f4112749f6a17
commit: d5f4cb5822810fb9310d976216330c988e94848d [1/76] ODROID-XU4: drm/exynos/hdmi: add 'HPD' and 'vout' as boot parameters
config: nios2-allmodconfig (attached as .config)
compiler: nios2-linux-gcc (GCC) 11.2.0
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://github.com/tobetter/linux/commit/d5f4cb5822810fb9310d976216330c988e94848d
git remote add tobetter https://github.com/tobetter/linux
git fetch --no-tags tobetter odroid-5.15.y
git checkout d5f4cb5822810fb9310d976216330c988e94848d
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=nios2

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

All errors (new ones prefixed by >>):

>> drivers/gpu/drm/exynos/exynos_hdmi.c:165:19: error: 'hdmi_hpd_enable' defined but not used [-Werror=unused-function]
165 | static int __init hdmi_hpd_enable(char *str)
| ^~~~~~~~~~~~~~~
>> drivers/gpu/drm/exynos/exynos_hdmi.c:151:19: error: 'dvi_force_enable' defined but not used [-Werror=unused-function]
151 | static int __init dvi_force_enable(char *str)
| ^~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors


vim +/hdmi_hpd_enable +165 drivers/gpu/drm/exynos/exynos_hdmi.c

150
> 151 static int __init dvi_force_enable(char *str)
152 {
153 if (!strcmp(str, "dvi")) {
154 gdvi_mode = true;
155 pr_info("hdmi: using DVI mode\n");
156 } else {
157 gdvi_mode = false;
158 pr_info("hdmi: using HDMI mode\n");
159 }
160
161 return 0;
162 }
163 __setup("vout=", dvi_force_enable);
164
> 165 static int __init hdmi_hpd_enable(char *str)
166 {
167 if (!strcmp(str, "false")) {
168 gEnableHPD = false;
169 }
170
171 return 0;
172 }
173 __setup("HPD=", hdmi_hpd_enable);
174

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[unhandled content-type:application/gzip]
\
 
 \ /
  Last update: 2021-11-12 13:19    [W:0.288 / U:0.776 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site