lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202111122013.82QdAc0V-lkp@intel.com>
Date:   Fri, 12 Nov 2021 20:18:20 +0800
From:   kernel test robot <lkp@...el.com>
To:     Brian Kim <brian.kim@...dkernel.com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        Dongjin Kim <tobetter@...il.com>,
        memeka <mihailescu2m@...il.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

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@...el.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

Download attachment ".config.gz" of type "application/gzip" (60802 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ