From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
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
Date: Fri, 12 Nov 2021 20:18:20 +0800 [thread overview]
Message-ID: <202111122013.82QdAc0V-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2368 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(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 60802 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: Brian Kim <brian.kim@hardkernel.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
Dongjin Kim <tobetter@gmail.com>, memeka <mihailescu2m@gmail.com>
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
Date: Fri, 12 Nov 2021 20:18:20 +0800 [thread overview]
Message-ID: <202111122013.82QdAc0V-lkp@intel.com> (raw)
[-- 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 --]
next reply other threads:[~2021-11-12 12:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-12 12:18 kernel test robot [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202111122013.82QdAc0V-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.