From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=-3.5 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by gnuweeb.org (Postfix) with ESMTPS id CBCFF7E317 for ; Fri, 29 Jul 2022 22:08:32 +0000 (UTC) Authentication-Results: gnuweeb.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=WC1Ls1zG; dkim-atps=neutral DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1659132512; x=1690668512; h=date:from:to:cc:subject:message-id:mime-version; bh=FOAG1AFFLl+h+ks+8I2hpNBymq2OBD3Oz+LgO1hiAFE=; b=WC1Ls1zG9aeCDAjMZ7PWEuZ+d9A7q7/a4pgGh9JMCGAjoyvUp3ZXLhzQ C++RGLIpzFVOxBMuvGHE+KJ3fU5KwRXsgpPATfd0roR3LLtuYyfxUtzPP ysRMw8qL0GqQ4vTU7q0Vp0PEhLKyA5JjaeZqXahDcNnf1c+lF8VDGd4HL aIIRr+HSaG9jfQFaPq5Fb1rII5FB9MRlD8bGiqExKSWj6t5y+jky1HLfk OZhR9/elcc3N4Pr5+sPo4QUh52wpwC399GXD3HzFuN3Aqr8FGQIQ5GXAy 4qcJql2UYweoxJ4HLBuS5P++e4+MBKNPpSeVK1LyYM0RhEp7IonnY77Yb A==; X-IronPort-AV: E=McAfee;i="6400,9594,10423"; a="375161039" X-IronPort-AV: E=Sophos;i="5.93,202,1654585200"; d="scan'208";a="375161039" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Jul 2022 15:08:27 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,202,1654585200"; d="scan'208";a="743668383" Received: from lkp-server01.sh.intel.com (HELO e0eace57cfef) ([10.239.97.150]) by fmsmga001.fm.intel.com with ESMTP; 29 Jul 2022 15:08:26 -0700 Received: from kbuild by e0eace57cfef with local (Exim 4.96) (envelope-from ) id 1oHY9h-000C8X-1C; Fri, 29 Jul 2022 22:08:25 +0000 Date: Sat, 30 Jul 2022 06:08:23 +0800 From: kernel test robot To: "Jason A. Donenfeld" Cc: kbuild-all@lists.01.org, Ammar Faizi , GNU/Weeb Mailing List , linux-kernel@vger.kernel.org Subject: [ammarfaizi2-block:crng/random/jd/vdso 8/8] arch/x86/entry/vdso/vgetrandom.c:10:9: warning: no previous prototype for '__vdso_getrandom' Message-ID: <202207300625.hQvJunv9-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline List-Id: tree: https://github.com/ammarfaizi2/linux-block crng/random/jd/vdso head: 7f252f719a107b2d29b14c2f7143a80d4fa14349 commit: 7f252f719a107b2d29b14c2f7143a80d4fa14349 [8/8] random: implement getrandom() in vDSO config: x86_64-randconfig-a013 (https://download.01.org/0day-ci/archive/20220730/202207300625.hQvJunv9-lkp@intel.com/config) compiler: gcc-11 (Debian 11.3.0-3) 11.3.0 reproduce (this is a W=1 build): # https://github.com/ammarfaizi2/linux-block/commit/7f252f719a107b2d29b14c2f7143a80d4fa14349 git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block git fetch --no-tags ammarfaizi2-block crng/random/jd/vdso git checkout 7f252f719a107b2d29b14c2f7143a80d4fa14349 # save the config file mkdir build_dir && cp config build_dir/.config make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash arch/x86/entry/vdso/ lib/vdso/ If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All warnings (new ones prefixed by >>): In file included from arch/x86/entry/vdso/vgetrandom.c:8: >> arch/x86/entry/vdso/../../../../lib/vdso/getrandom.c:102:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] 102 | static ssize_t __always_inline | ^~~~~~ >> arch/x86/entry/vdso/vgetrandom.c:10:9: warning: no previous prototype for '__vdso_getrandom' [-Wmissing-prototypes] 10 | ssize_t __vdso_getrandom(void **state, void *buffer, size_t len, unsigned long flags) | ^~~~~~~~~~~~~~~~ vim +/__vdso_getrandom +10 arch/x86/entry/vdso/vgetrandom.c 9 > 10 ssize_t __vdso_getrandom(void **state, void *buffer, size_t len, unsigned long flags) 11 { 12 return __cvdso_getrandom(state, buffer, len, flags); 13 } 14 -- 0-DAY CI Kernel Test Service https://01.org/lkp