Messages in this thread | | | Date | Fri, 23 Jul 2021 02:41:10 +0800 | From | kernel test robot <> | Subject | Re: [PATCH v3] include: linux: Reorganize timekeeping and ktime headers |
| |
Hi Carlos,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on tip/timers/core] [also build test WARNING on kvmarm/next abelloni/rtc-next sound/for-next soc/for-next linus/master tip/x86/core v5.14-rc2 next-20210722] [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-linux-Reorganize-timekeeping-and-ktime-headers/20210722-233301 base: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git 2d0a9eb23ccfdf11308bec6db0bc007585d919d2 config: x86_64-randconfig-a011-20210722 (attached as .config) compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 9625ca5b602616b2f5584e8a49ba93c52c141e40) 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 # install x86_64 cross compiling tool for clang build # apt-get install binutils-x86-64-linux-gnu # https://github.com/0day-ci/linux/commit/e35011219261f218feeaea55c97d4d583d9747a9 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Carlos-Bilbao/include-linux-Reorganize-timekeeping-and-ktime-headers/20210722-233301 git checkout e35011219261f218feeaea55c97d4d583d9747a9 # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> arch/x86/kernel/rtc.c:148:5: warning: no previous prototype for function 'update_persistent_clock64' [-Wmissing-prototypes] int update_persistent_clock64(struct timespec64 now) ^ arch/x86/kernel/rtc.c:148:1: note: declare 'static' if the function is not intended to be used outside of this translation unit int update_persistent_clock64(struct timespec64 now) ^ static >> arch/x86/kernel/rtc.c:154:6: warning: no previous prototype for function 'read_persistent_clock64' [-Wmissing-prototypes] void read_persistent_clock64(struct timespec64 *ts) ^ arch/x86/kernel/rtc.c:154:1: note: declare 'static' if the function is not intended to be used outside of this translation unit void read_persistent_clock64(struct timespec64 *ts) ^ static 2 warnings generated.
vim +/update_persistent_clock64 +148 arch/x86/kernel/rtc.c
fe599f9fbc5d47 Thomas Gleixner 2008-01-30 147 e27c49291a7fe9 Arnd Bergmann 2018-04-27 @148 int update_persistent_clock64(struct timespec64 now) fe599f9fbc5d47 Thomas Gleixner 2008-01-30 149 { 3565184ed0c1ea David Vrabel 2013-05-13 150 return x86_platform.set_wallclock(&now); fe599f9fbc5d47 Thomas Gleixner 2008-01-30 151 } fe599f9fbc5d47 Thomas Gleixner 2008-01-30 152 fe599f9fbc5d47 Thomas Gleixner 2008-01-30 153 /* not static: needed by APM */ e27c49291a7fe9 Arnd Bergmann 2018-04-27 @154 void read_persistent_clock64(struct timespec64 *ts) fe599f9fbc5d47 Thomas Gleixner 2008-01-30 155 { 3565184ed0c1ea David Vrabel 2013-05-13 156 x86_platform.get_wallclock(ts); fe599f9fbc5d47 Thomas Gleixner 2008-01-30 157 } fe599f9fbc5d47 Thomas Gleixner 2008-01-30 158
--- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org [unhandled content-type:application/gzip] | |