Content-Type: multipart/mixed; boundary="===============0463396978748349702==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: Re: [PATCH] include: linux: Reorganize timekeeping and ktime headers Date: Thu, 27 Jan 2022 06:47:21 +0800 Message-ID: <202201270622.w96GBqWO-lkp@intel.com> In-Reply-To: <20220126200749.12090-1-carlos.bilbao@amd.com> List-Id: --===============0463396978748349702== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Carlos, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on geert-m68k/for-next] [also build test WARNING on tip/timers/core tip/x86/core linus/master v5.17= -rc1 next-20220125] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Carlos-Bilbao/include-linu= x-Reorganize-timekeeping-and-ktime-headers/20220127-041038 base: https://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k.gi= t for-next config: um-i386_defconfig (https://download.01.org/0day-ci/archive/20220127= /202201270622.w96GBqWO-lkp(a)intel.com/config) compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 reproduce (this is a W=3D1 build): # https://github.com/0day-ci/linux/commit/3c432f5cbb3c550c1cef6747c= 4281b65a7d9d708 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Carlos-Bilbao/include-linux-Reorga= nize-timekeeping-and-ktime-headers/20220127-041038 git checkout 3c432f5cbb3c550c1cef6747c4281b65a7d9d708 # save the config file to linux build tree mkdir build_dir make W=3D1 O=3Dbuild_dir ARCH=3Dum SUBARCH=3Di386 SHELL=3D/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> arch/um/kernel/time.c:763:6: warning: no previous prototype for 'read_pe= rsistent_clock64' [-Wmissing-prototypes] 763 | void read_persistent_clock64(struct timespec64 *ts) | ^~~~~~~~~~~~~~~~~~~~~~~ arch/um/kernel/time.c:778:13: warning: no previous prototype for 'time_i= nit' [-Wmissing-prototypes] 778 | void __init time_init(void) | ^~~~~~~~~ vim +/read_persistent_clock64 +763 arch/um/kernel/time.c aceb343464a136e arch/um/kernel/time_kern.c Jeff Dike 2006-07-10 762 = 288fb3d5683f508 arch/um/kernel/time.c Arnd Bergmann 2017-11-02 @763 = void read_persistent_clock64(struct timespec64 *ts) 9f31f5774961a73 arch/um/kernel/time.c John Stultz 2010-07-13 764 = { 065038706f77a56 arch/um/kernel/time.c Johannes Berg 2019-05-27 765 = long long nsecs; 065038706f77a56 arch/um/kernel/time.c Johannes Berg 2019-05-27 766 = 7f3414226b58b0d arch/um/kernel/time.c Johannes Berg 2021-01-15 767 = time_travel_set_start(); 7f3414226b58b0d arch/um/kernel/time.c Johannes Berg 2021-01-15 768 = 2701c1bd91dda81 arch/um/kernel/time.c Johannes Berg 2020-12-02 769 = if (time_travel_mode !=3D TT_MODE_OFF) 065038706f77a56 arch/um/kernel/time.c Johannes Berg 2019-05-27 770 = nsecs =3D time_travel_start + time_travel_time; 065038706f77a56 arch/um/kernel/time.c Johannes Berg 2019-05-27 771 = else 065038706f77a56 arch/um/kernel/time.c Johannes Berg 2019-05-27 772 = nsecs =3D os_persistent_clock_emulation(); b29230769e3482b arch/um/kernel/time.c Thomas Gleixner 2010-08-03 773 = 288fb3d5683f508 arch/um/kernel/time.c Arnd Bergmann 2017-11-02 774 = set_normalized_timespec64(ts, nsecs / NSEC_PER_SEC, 9f31f5774961a73 arch/um/kernel/time.c John Stultz 2010-07-13 775 = nsecs % NSEC_PER_SEC); 9f31f5774961a73 arch/um/kernel/time.c John Stultz 2010-07-13 776 = } 9f31f5774961a73 arch/um/kernel/time.c John Stultz 2010-07-13 777 = --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org --===============0463396978748349702==--