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:   Sun, 2 Oct 2022 15:52:01 +0800
From:   kernel test robot <lkp@...el.com>
To:     Mark Rutland <mark.rutland@....com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: [mark:arm64/insn/rework-redo 32/42]
 arch/arm64/lib/test_insn.c:2483:6: warning: no previous prototype for
 'test_insn_add_imm'

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git arm64/insn/rework-redo
head:   920a24e057dcddd37161019dda2ebb3c311f81ce
commit: a5996e5e65d28d81183e87ae576c3f7ae2b7000d [32/42] arm64: insn: rework ADD / SUB (immediate)
config: arm64-allyesconfig
compiler: aarch64-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/mark/linux.git/commit/?id=a5996e5e65d28d81183e87ae576c3f7ae2b7000d
        git remote add mark https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git
        git fetch --no-tags mark arm64/insn/rework-redo
        git checkout a5996e5e65d28d81183e87ae576c3f7ae2b7000d
        # 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=arm64 SHELL=/bin/bash

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

All warnings (new ones prefixed by >>):

   arch/arm64/lib/test_insn.c:1762:6: warning: no previous prototype for 'test_insn_ldp_pre' [-Wmissing-prototypes]
    1762 | void test_insn_ldp_pre(struct kunit *test)
         |      ^~~~~~~~~~~~~~~~~
   arch/arm64/lib/test_insn.c:1831:6: warning: no previous prototype for 'test_insn_stp_pre' [-Wmissing-prototypes]
    1831 | void test_insn_stp_pre(struct kunit *test)
         |      ^~~~~~~~~~~~~~~~~
   arch/arm64/lib/test_insn.c:1938:6: warning: no previous prototype for 'test_insn_ldp_post' [-Wmissing-prototypes]
    1938 | void test_insn_ldp_post(struct kunit *test)
         |      ^~~~~~~~~~~~~~~~~~
   arch/arm64/lib/test_insn.c:2001:6: warning: no previous prototype for 'test_insn_stp_post' [-Wmissing-prototypes]
    2001 | void test_insn_stp_post(struct kunit *test)
         |      ^~~~~~~~~~~~~~~~~~
>> arch/arm64/lib/test_insn.c:2483:6: warning: no previous prototype for 'test_insn_add_imm' [-Wmissing-prototypes]
    2483 | void test_insn_add_imm(struct kunit *test)
         |      ^~~~~~~~~~~~~~~~~
>> arch/arm64/lib/test_insn.c:2491:6: warning: no previous prototype for 'test_insn_adds_imm' [-Wmissing-prototypes]
    2491 | void test_insn_adds_imm(struct kunit *test)
         |      ^~~~~~~~~~~~~~~~~~
>> arch/arm64/lib/test_insn.c:2499:6: warning: no previous prototype for 'test_insn_sub_imm' [-Wmissing-prototypes]
    2499 | void test_insn_sub_imm(struct kunit *test)
         |      ^~~~~~~~~~~~~~~~~
>> arch/arm64/lib/test_insn.c:2507:6: warning: no previous prototype for 'test_insn_subs_imm' [-Wmissing-prototypes]
    2507 | void test_insn_subs_imm(struct kunit *test)
         |      ^~~~~~~~~~~~~~~~~~


vim +/test_insn_add_imm +2483 arch/arm64/lib/test_insn.c

  2482	
> 2483	void test_insn_add_imm(struct kunit *test)
  2484	{
  2485		TEST_ADSB_IMM_CASES(test,
  2486				    add,
  2487				    AARCH64_INSN_VARIANT_64BIT,
  2488				    AARCH64_INSN_ADSB_ADD);
  2489	}
  2490	
> 2491	void test_insn_adds_imm(struct kunit *test)
  2492	{
  2493		TEST_ADSB_IMM_CASES(test,
  2494				    adds,
  2495				    AARCH64_INSN_VARIANT_64BIT,
  2496				    AARCH64_INSN_ADSB_ADD_SETFLAGS);
  2497	}
  2498	
> 2499	void test_insn_sub_imm(struct kunit *test)
  2500	{
  2501		TEST_ADSB_IMM_CASES(test,
  2502				    sub,
  2503				    AARCH64_INSN_VARIANT_64BIT,
  2504				    AARCH64_INSN_ADSB_SUB);
  2505	}
  2506	
> 2507	void test_insn_subs_imm(struct kunit *test)
  2508	{
  2509		TEST_ADSB_IMM_CASES(test,
  2510				    subs,
  2511				    AARCH64_INSN_VARIANT_64BIT,
  2512				    AARCH64_INSN_ADSB_SUB_SETFLAGS);
  2513	}
  2514	

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ