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: <202311061056.8cCxGEcI-lkp@intel.com>
Date:   Mon, 6 Nov 2023 11:13:13 +0800
From:   kernel test robot <lkp@...el.com>
To:     Matthew Wilcox <willy@...radead.org>
Cc:     oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org
Subject: lib/test_ida.c:16:6: warning: no previous prototype for 'ida_dump'

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   77fa2fbe87fc605c4bfa87dff87be9bfded0e9a3
commit: 8ab8ba38d48867aac01812e18f48fc9173ccd400 ida: Start new test_ida module
date:   5 years ago
config: x86_64-randconfig-r025-20230725 (https://download.01.org/0day-ci/archive/20231106/202311061056.8cCxGEcI-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231106/202311061056.8cCxGEcI-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202311061056.8cCxGEcI-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> lib/test_ida.c:16:6: warning: no previous prototype for 'ida_dump' [-Wmissing-prototypes]
      16 | void ida_dump(struct ida *ida) { }
         |      ^~~~~~~~


vim +/ida_dump +16 lib/test_ida.c

    14	
    15	#ifdef __KERNEL__
  > 16	void ida_dump(struct ida *ida) { }
    17	#endif
    18	#define IDA_BUG_ON(ida, x) do {						\
    19		tests_run++;							\
    20		if (x) {							\
    21			ida_dump(ida);						\
    22			dump_stack();						\
    23		} else {							\
    24			tests_passed++;						\
    25		}								\
    26	} while (0)
    27	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ