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=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by gnuweeb.org (Postfix) with ESMTPS id 2B0687E380 for ; Tue, 12 Apr 2022 11:12:28 +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=ezVWmOwv; 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=1649761948; x=1681297948; h=date:from:to:cc:subject:message-id:mime-version; bh=Jel9Ue/TUnUIFCH7U+XPws+iEu8CN+HTDU/wDhRAkhw=; b=ezVWmOwvjys/rIdhq69nDntl8kFgafNgxjgMJD6kaRKbaIeaLvZPjM/O HHpi8plygJjVYF1ycFARljFr28MSTQLeb607c8wBDRPKUtLz6Nqnm3Uw0 K3AKibPFvuFKUrHstNH7R5/lO8q83eJDOP0o0mZQvaAfbfVaQPno7RKnB dg3Kiy5c+oSLGmHl2HfksrH0NBsEEHpyyXihDghsvO0z+Ty103Oxy2t1S in3+R1ftv202ffnqC4Mj8F6oQUd6k3DgKB8GD6LBA2hdjTjkRcYVibYhU zN8v0y0wcRe+oeefcY9UVFlQ+6ul+xCPp65r/wuF2zeosObePdlvY+nDE A==; X-IronPort-AV: E=McAfee;i="6400,9594,10314"; a="244232554" X-IronPort-AV: E=Sophos;i="5.90,253,1643702400"; d="scan'208";a="244232554" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Apr 2022 04:12:27 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,253,1643702400"; d="scan'208";a="724404539" Received: from lkp-server02.sh.intel.com (HELO d3fc50ef50de) ([10.239.97.151]) by orsmga005.jf.intel.com with ESMTP; 12 Apr 2022 04:12:26 -0700 Received: from kbuild by d3fc50ef50de with local (Exim 4.95) (envelope-from ) id 1neERd-0002nY-Ec; Tue, 12 Apr 2022 11:12:25 +0000 Date: Tue, 12 Apr 2022 19:12:15 +0800 From: kernel test robot To: "Jason A. Donenfeld" Cc: kbuild-all@lists.01.org, GNU/Weeb Mailing List , linux-kernel@vger.kernel.org Subject: [ammarfaizi2-block:crng/random/jd/not-zero-entropy 3/12] kernel/time/timekeeping.c:2388: warning: expecting prototype for random_read_entropy_fallback(). Prototype was for random_get_entropy_fallback() instead Message-ID: <202204121944.p7MPjuCv-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: tree: https://github.com/ammarfaizi2/linux-block crng/random/jd/not-zero-entropy head: 4ee3bf173a552cd996e048d57f65bb5b471ab577 commit: aeeed98e20910aeafd5db8c56b449810b60bad9f [3/12] timekeeping: add raw clock fallback for random_get_entropy() config: arc-buildonly-randconfig-r003-20220411 (https://download.01.org/0day-ci/archive/20220412/202204121944.p7MPjuCv-lkp@intel.com/config) compiler: arceb-elf-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/ammarfaizi2/linux-block/commit/aeeed98e20910aeafd5db8c56b449810b60bad9f git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block git fetch --no-tags ammarfaizi2-block crng/random/jd/not-zero-entropy git checkout aeeed98e20910aeafd5db8c56b449810b60bad9f # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arc SHELL=/bin/bash kernel/time/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): kernel/time/timekeeping.c:1684: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst * We have three kinds of time sources to use for sleep time kernel/time/timekeeping.c:1705: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst * 1) can be determined whether to use or not only when doing >> kernel/time/timekeeping.c:2388: warning: expecting prototype for random_read_entropy_fallback(). Prototype was for random_get_entropy_fallback() instead kernel/time/timekeeping.c:2396: warning: Function parameter or member 'txc' not described in 'do_adjtimex' kernel/time/timekeeping.c:2462: warning: Function parameter or member 'phase_ts' not described in 'hardpps' kernel/time/timekeeping.c:2462: warning: Function parameter or member 'raw_ts' not described in 'hardpps' vim +2388 kernel/time/timekeeping.c 2382 2383 /** 2384 * random_read_entropy_fallback - Returns the raw clock source value, 2385 * used by random.c for platforms with no valid random_get_entropy(). 2386 */ 2387 unsigned long random_get_entropy_fallback(void) > 2388 { 2389 return tk_clock_read(&tk_core.timekeeper.tkr_mono); 2390 } 2391 -- 0-DAY CI Kernel Test Service https://01.org/lkp