From: kernel test robot <lkp@intel.com>
To: Shenghao Yang <me@shenghaoyang.info>, netdev@vger.kernel.org
Cc: oe-kbuild-all@lists.linux.dev,
Shenghao Yang <me@shenghaoyang.info>,
f.fainelli@gmail.com, olteanv@gmail.com, pavana.sharma@digi.com,
ashkan.boldaji@digi.com, kabel@kernel.org, andrew@lunn.ch
Subject: Re: [PATCH net 2/3] net: dsa: mv88e6xxx: read cycle counter period from hardware
Date: Tue, 1 Oct 2024 12:17:55 +0800 [thread overview]
Message-ID: <202410011105.XXvEbI6k-lkp@intel.com> (raw)
In-Reply-To: <20240929101949.723658-3-me@shenghaoyang.info>
Hi Shenghao,
kernel test robot noticed the following build warnings:
[auto build test WARNING on net/main]
url: https://github.com/intel-lab-lkp/linux/commits/Shenghao-Yang/net-dsa-mv88e6xxx-group-cycle-counter-coefficients/20240929-182245
base: net/main
patch link: https://lore.kernel.org/r/20240929101949.723658-3-me%40shenghaoyang.info
patch subject: [PATCH net 2/3] net: dsa: mv88e6xxx: read cycle counter period from hardware
config: sparc64-randconfig-r133-20240930 (https://download.01.org/0day-ci/archive/20241001/202410011105.XXvEbI6k-lkp@intel.com/config)
compiler: sparc64-linux-gcc (GCC) 14.1.0
reproduce: (https://download.01.org/0day-ci/archive/20241001/202410011105.XXvEbI6k-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202410011105.XXvEbI6k-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> drivers/net/dsa/mv88e6xxx/ptp.c:35:34: sparse: sparse: symbol 'mv88e6xxx_cc_10ns_coeffs' was not declared. Should it be static?
>> drivers/net/dsa/mv88e6xxx/ptp.c:49:34: sparse: sparse: symbol 'mv88e6xxx_cc_8ns_coeffs' was not declared. Should it be static?
vim +/mv88e6xxx_cc_10ns_coeffs +35 drivers/net/dsa/mv88e6xxx/ptp.c
27
28 /* Family MV88E6250:
29 * Raw timestamps are in units of 10-ns clock periods.
30 *
31 * clkadj = scaled_ppm * 10*2^28 / (10^6 * 2^16)
32 * simplifies to
33 * clkadj = scaled_ppm * 2^7 / 5^5
34 */
> 35 const struct mv88e6xxx_cc_coeffs mv88e6xxx_cc_10ns_coeffs = {
36 .cc_shift = 28,
37 .cc_mult = 10 << 28,
38 .cc_mult_num = 1 << 7,
39 .cc_mult_dem = 3125ULL,
40 };
41
42 /* Other families:
43 * Raw timestamps are in units of 8-ns clock periods.
44 *
45 * clkadj = scaled_ppm * 8*2^28 / (10^6 * 2^16)
46 * simplifies to
47 * clkadj = scaled_ppm * 2^9 / 5^6
48 */
> 49 const struct mv88e6xxx_cc_coeffs mv88e6xxx_cc_8ns_coeffs = {
50 .cc_shift = 28,
51 .cc_mult = 8 << 28,
52 .cc_mult_num = 1 << 9,
53 .cc_mult_dem = 15625ULL
54 };
55
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2024-10-01 4:18 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-29 10:19 [PATCH net 0/3] net: dsa: mv88e6xxx: fix MV88E6393X PHC frequency on internal clock Shenghao Yang
2024-09-29 10:19 ` [PATCH net 1/3] net: dsa: mv88e6xxx: group cycle counter coefficients Shenghao Yang
2024-09-30 15:14 ` Andrew Lunn
2024-09-29 10:19 ` [PATCH net 2/3] net: dsa: mv88e6xxx: read cycle counter period from hardware Shenghao Yang
2024-09-30 15:31 ` Andrew Lunn
2024-10-05 11:17 ` Shenghao Yang
2024-10-01 4:17 ` kernel test robot [this message]
2024-09-29 10:19 ` [PATCH net 3/3] net: dsa: mv88e6xxx: support 4000ps cycle counter period Shenghao Yang
2024-10-01 7:32 ` kernel test robot
2024-09-30 14:51 ` [PATCH net 0/3] net: dsa: mv88e6xxx: fix MV88E6393X PHC frequency on internal clock Andrew Lunn
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202410011105.XXvEbI6k-lkp@intel.com \
--to=lkp@intel.com \
--cc=andrew@lunn.ch \
--cc=ashkan.boldaji@digi.com \
--cc=f.fainelli@gmail.com \
--cc=kabel@kernel.org \
--cc=me@shenghaoyang.info \
--cc=netdev@vger.kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=olteanv@gmail.com \
--cc=pavana.sharma@digi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).