* [tobetter:odroid-5.15.y 1/76] drivers/gpu/drm/exynos/exynos_hdmi.c:165:19: error: 'hdmi_hpd_enable' defined but not used
@ 2021-11-12 12:18 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-11-12 12:18 UTC (permalink / raw)
To: Brian Kim; +Cc: kbuild-all, linux-kernel, Dongjin Kim, memeka
[-- Attachment #1: Type: text/plain, Size: 2306 bytes --]
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
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 60802 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-11-12 12:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-12 12:18 [tobetter:odroid-5.15.y 1/76] drivers/gpu/drm/exynos/exynos_hdmi.c:165:19: error: 'hdmi_hpd_enable' defined but not used kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).