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]
Date:   Fri, 2 Sep 2022 21:02:51 +0800
From:   kernel test robot <lkp@...el.com>
To:     Arun Easi <aeasi@...vell.com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        "Martin K. Petersen" <martin.petersen@...cle.com>,
        Himanshu Madhani <himanshu.madhani@...cle.com>,
        Daniel Wagner <dwagner@...e.de>,
        Nilesh Javali <njavali@...vell.com>
Subject: [mkp-scsi:for-next 61/69] drivers/scsi/qla2xxx/qla_os.c:2854:25:
 error: implicit declaration of function 'trace_array_get_by_name'; did you
 mean 'trace_array_set_clr_event'?

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/mkp/scsi.git for-next
head:   e699bb9765cd447ab477e9e888ddbab347dcf35a
commit: 8bfc149ba24cb985d593c0b2ddcf03ce42febe0c [61/69] scsi: qla2xxx: Enhance driver tracing with separate tunable and more
config: ia64-allyesconfig
compiler: ia64-linux-gcc (GCC) 12.1.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://git.kernel.org/pub/scm/linux/kernel/git/mkp/scsi.git/commit/?id=8bfc149ba24cb985d593c0b2ddcf03ce42febe0c
        git remote add mkp-scsi https://git.kernel.org/pub/scm/linux/kernel/git/mkp/scsi.git
        git fetch --no-tags mkp-scsi for-next
        git checkout 8bfc149ba24cb985d593c0b2ddcf03ce42febe0c
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=ia64 SHELL=/bin/bash drivers/scsi/

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

All errors (new ones prefixed by >>):

   drivers/scsi/qla2xxx/qla_os.c: In function 'qla_trace_init':
>> drivers/scsi/qla2xxx/qla_os.c:2854:25: error: implicit declaration of function 'trace_array_get_by_name'; did you mean 'trace_array_set_clr_event'? [-Werror=implicit-function-declaration]
    2854 |         qla_trc_array = trace_array_get_by_name("qla2xxx");
         |                         ^~~~~~~~~~~~~~~~~~~~~~~
         |                         trace_array_set_clr_event
   drivers/scsi/qla2xxx/qla_os.c:2854:23: warning: assignment to 'struct trace_array *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
    2854 |         qla_trc_array = trace_array_get_by_name("qla2xxx");
         |                       ^
   drivers/scsi/qla2xxx/qla_os.c: In function 'qla_trace_uninit':
>> drivers/scsi/qla2xxx/qla_os.c:2869:9: error: implicit declaration of function 'trace_array_put' [-Werror=implicit-function-declaration]
    2869 |         trace_array_put(qla_trc_array);
         |         ^~~~~~~~~~~~~~~
   {standard input}: Assembler messages:
   {standard input}:1130: Error: Register number out of range 0..4
   {standard input}:1130: Warning: Use of 'mov' violates WAW dependency 'GR%, % in 1 - 127' (impliedf), specific resource number is 37
   {standard input}:1124: Warning: This is the location of the conflicting usage
   {standard input}:1133: Error: Register number out of range 0..4
   {standard input}:1134: Error: Register number out of range 0..4
   {standard input}:1134: Warning: Use of 'mov' violates WAW dependency 'GR%, % in 1 - 127' (impliedf), specific resource number is 37
   {standard input}:1133: Warning: This is the location of the conflicting usage
   {standard input}:1291: Error: Register number out of range 0..4
   {standard input}:1291: Warning: Use of 'mov' violates WAW dependency 'GR%, % in 1 - 127' (impliedf), specific resource number is 37
   {standard input}:1285: Warning: This is the location of the conflicting usage
   {standard input}:1294: Error: Register number out of range 0..4
   {standard input}:1295: Error: Register number out of range 0..4
   {standard input}:1295: Warning: Use of 'mov' violates WAW dependency 'GR%, % in 1 - 127' (impliedf), specific resource number is 37
   {standard input}:1294: Warning: This is the location of the conflicting usage
   {standard input}:1997: Error: Register number out of range 0..0
   {standard input}:1997: Warning: Use of 'mov' violates WAW dependency 'GR%, % in 1 - 127' (impliedf), specific resource number is 38
   {standard input}:1997: Warning: Only the first path encountering the conflict is reported
   {standard input}:1996: Warning: This is the location of the conflicting usage
   {standard input}:1998: Error: Register number out of range 0..0
   {standard input}:1998: Warning: Use of 'mov' violates WAW dependency 'GR%, % in 1 - 127' (impliedf), specific resource number is 38
   {standard input}:1998: Warning: Only the first path encountering the conflict is reported
   {standard input}:1996: Warning: This is the location of the conflicting usage
   {standard input}:1998: Warning: Use of 'mov' violates WAW dependency 'GR%, % in 1 - 127' (impliedf), specific resource number is 38
   {standard input}:1998: Warning: Only the first path encountering the conflict is reported
   {standard input}:1997: Warning: This is the location of the conflicting usage
   {standard input}:2000: Error: Register number out of range 0..0
   {standard input}:2000: Warning: Use of 'mov' violates WAW dependency 'GR%, % in 1 - 127' (impliedf), specific resource number is 38
   {standard input}:2000: Warning: Only the first path encountering the conflict is reported
   {standard input}:1996: Warning: This is the location of the conflicting usage
   {standard input}:2000: Warning: Use of 'mov' violates WAW dependency 'GR%, % in 1 - 127' (impliedf), specific resource number is 38
   {standard input}:2000: Warning: Only the first path encountering the conflict is reported
   {standard input}:1997: Warning: This is the location of the conflicting usage
   {standard input}:2000: Warning: Use of 'mov' violates WAW dependency 'GR%, % in 1 - 127' (impliedf), specific resource number is 38
   {standard input}:2000: Warning: Only the first path encountering the conflict is reported
   {standard input}:1998: Warning: This is the location of the conflicting usage
   {standard input}:2001: Error: Register number out of range 0..0
   {standard input}:2001: Warning: Use of 'mov' violates WAW dependency 'GR%, % in 1 - 127' (impliedf), specific resource number is 38
   {standard input}:2001: Warning: Only the first path encountering the conflict is reported
   {standard input}:1996: Warning: This is the location of the conflicting usage
   {standard input}:2001: Warning: Use of 'mov' violates WAW dependency 'GR%, % in 1 - 127' (impliedf), specific resource number is 38
   {standard input}:2001: Warning: Only the first path encountering the conflict is reported
   {standard input}:1997: Warning: This is the location of the conflicting usage
   {standard input}:2001: Warning: Use of 'mov' violates WAW dependency 'GR%, % in 1 - 127' (impliedf), specific resource number is 38
   {standard input}:2001: Warning: Only the first path encountering the conflict is reported
   {standard input}:1998: Warning: This is the location of the conflicting usage
   {standard input}:2001: Warning: Use of 'mov' violates WAW dependency 'GR%, % in 1 - 127' (impliedf), specific resource number is 38
   {standard input}:2001: Warning: Only the first path encountering the conflict is reported
   {standard input}:2000: Warning: This is the location of the conflicting usage
   {standard input}:2002: Error: Register number out of range 0..0
   {standard input}:2002: Warning: Use of 'mov' violates WAW dependency 'GR%, % in 1 - 127' (impliedf), specific resource number is 38
   {standard input}:2002: Warning: Only the first path encountering the conflict is reported
   {standard input}:1996: Warning: This is the location of the conflicting usage
   {standard input}:2002: Warning: Use of 'mov' violates WAW dependency 'GR%, % in 1 - 127' (impliedf), specific resource number is 38
   {standard input}:2002: Warning: Only the first path encountering the conflict is reported
   {standard input}:1997: Warning: This is the location of the conflicting usage
   {standard input}:2002: Warning: Use of 'mov' violates WAW dependency 'GR%, % in 1 - 127' (impliedf), specific resource number is 38
   {standard input}:2002: Warning: Only the first path encountering the conflict is reported
   {standard input}:1998: Warning: This is the location of the conflicting usage
   {standard input}:2002: Warning: Use of 'mov' violates WAW dependency 'GR%, % in 1 - 127' (impliedf), specific resource number is 38
   {standard input}:2002: Warning: Only the first path encountering the conflict is reported
   {standard input}:2000: Warning: This is the location of the conflicting usage
   {standard input}:2002: Warning: Use of 'mov' violates WAW dependency 'GR%, % in 1 - 127' (impliedf), specific resource number is 38
   {standard input}:2002: Warning: Only the first path encountering the conflict is reported
   {standard input}:2001: Warning: This is the location of the conflicting usage
   {standard input}:2005: Error: Register number out of range 0..0
   {standard input}:2006: Error: Register number out of range 0..0
   {standard input}:2006: Warning: Use of 'mov' violates WAW dependency 'GR%, % in 1 - 127' (impliedf), specific resource number is 38
   {standard input}:2006: Warning: Only the first path encountering the conflict is reported
   {standard input}:2005: Warning: This is the location of the conflicting usage
   {standard input}:2189: Error: Register number out of range 0..4
   {standard input}:2189: Warning: Use of 'mov' violates WAW dependency 'GR%, % in 1 - 127' (impliedf), specific resource number is 43
   {standard input}:2183: Warning: This is the location of the conflicting usage
   {standard input}:2192: Error: Register number out of range 0..4
   {standard input}:2193: Error: Register number out of range 0..4
   {standard input}:2193: Warning: Use of 'mov' violates WAW dependency 'GR%, % in 1 - 127' (impliedf), specific resource number is 43
   {standard input}:2192: Warning: This is the location of the conflicting usage
   {standard input}:2349: Error: Register number out of range 0..0
   {standard input}:2349: Warning: Use of 'mov' violates WAW dependency 'GR%, % in 1 - 127' (impliedf), specific resource number is 36
   {standard input}:2349: Warning: Only the first path encountering the conflict is reported
   {standard input}:2348: Warning: This is the location of the conflicting usage
   {standard input}:2350: Error: Register number out of range 0..0
   {standard input}:2350: Warning: Use of 'mov' violates WAW dependency 'GR%, % in 1 - 127' (impliedf), specific resource number is 36
   {standard input}:2350: Warning: Only the first path encountering the conflict is reported
   {standard input}:2348: Warning: This is the location of the conflicting usage
   {standard input}:2350: Warning: Use of 'mov' violates WAW dependency 'GR%, % in 1 - 127' (impliedf), specific resource number is 36
   {standard input}:2350: Warning: Only the first path encountering the conflict is reported
   {standard input}:2349: Warning: This is the location of the conflicting usage
   {standard input}:2352: Error: Register number out of range 0..0
   {standard input}:2352: Warning: Use of 'mov' violates WAW dependency 'GR%, % in 1 - 127' (impliedf), specific resource number is 36
   {standard input}:2352: Warning: Only the first path encountering the conflict is reported
   {standard input}:2348: Warning: This is the location of the conflicting usage
   {standard input}:2352: Warning: Use of 'mov' violates WAW dependency 'GR%, % in 1 - 127' (impliedf), specific resource number is 36
   {standard input}:2352: Warning: Only the first path encountering the conflict is reported
   {standard input}:2349: Warning: This is the location of the conflicting usage
   {standard input}:2352: Warning: Use of 'mov' violates WAW dependency 'GR%, % in 1 - 127' (impliedf), specific resource number is 36
   {standard input}:2352: Warning: Only the first path encountering the conflict is reported
   {standard input}:2350: Warning: This is the location of the conflicting usage


vim +2854 drivers/scsi/qla2xxx/qla_os.c

  2850	
  2851	static void
  2852	qla_trace_init(void)
  2853	{
> 2854		qla_trc_array = trace_array_get_by_name("qla2xxx");
  2855		if (!qla_trc_array) {
  2856			ql_log(ql_log_fatal, NULL, 0x0001,
  2857			       "Unable to create qla2xxx trace instance, instance logging will be disabled.\n");
  2858			return;
  2859		}
  2860	
  2861		QLA_TRACE_ENABLE(qla_trc_array);
  2862	}
  2863	
  2864	static void
  2865	qla_trace_uninit(void)
  2866	{
  2867		if (!qla_trc_array)
  2868			return;
> 2869		trace_array_put(qla_trc_array);
  2870	}
  2871	

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

View attachment "config" of type "text/plain" (318649 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ