Subject: Re: [PATCH v16 3/9] ptp: Reorganize ptp_kvm module to make it arch-independent.

From: kernel test robot <[email-masked]>
Date: Wed, 9 Dec 2020 18:23:21 +0800

Hi Jianyong,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on kvmarm/next]
[also build test WARNING on linus/master v5.10-rc7 next-20201208]
[cannot apply to tip/timers/core kvm/linux-next]
[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/Jianyong-Wu/Enable-ptp_kvm-for-arm-arm64/20201209-141506
base:   https://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git next
config: i386-randconfig-s001-20201209 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.3-179-ga00755aa-dirty
        # https://github.com/0day-ci/linux/commit/35c13e9c526d0900f8d80f4b3f6a34234d29a911
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Jianyong-Wu/Enable-ptp_kvm-for-arm-arm64/20201209-141506
        git checkout 35c13e9c526d0900f8d80f4b3f6a34234d29a911
        # save the attached .config to linux build tree
        make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=i386 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <[email-masked]>

"sparse warnings: (new ones prefixed by >>)"
>> drivers/ptp/ptp_kvm_x86.c:18:13: sparse: sparse: symbol 'clock_pair_gpa' was not declared. Should it be static?
>> drivers/ptp/ptp_kvm_x86.c:19:26: sparse: sparse: symbol 'clock_pair' was not declared. Should it be static?

Please review and possibly fold the followup patch.

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/[email-masked]