All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH 6/7] net: dsa: b53: Add logic for TX timestamping
Date: Fri, 05 Nov 2021 19:56:59 +0800	[thread overview]
Message-ID: <202111051915.ouwSefyf-lkp@intel.com> (raw)
In-Reply-To: <20211104133204.19757-7-martin.kaistra@linutronix.de>

[-- Attachment #1: Type: text/plain, Size: 4292 bytes --]

Hi Martin,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on net-next/master]
[also build test ERROR on net/master linus/master next-20211105]
[cannot apply to tip/timers/core v5.15]
[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/Martin-Kaistra/Add-PTP-support-for-BCM53128-switch/20211104-213538
base:   https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git 84882cf72cd774cf16fd338bdbf00f69ac9f9194
config: csky-randconfig-r002-20211105 (attached as .config)
compiler: csky-linux-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/0day-ci/linux/commit/b484f272339c8b2fd87f5d3493849439003c0026
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Martin-Kaistra/Add-PTP-support-for-BCM53128-switch/20211104-213538
        git checkout b484f272339c8b2fd87f5d3493849439003c0026
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=csky 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

>> drivers/net/dsa/b53/b53_common.c:2304:35: error: initialization of 'void (*)(struct dsa_switch *, int,  struct sk_buff *)' from incompatible pointer type 'bool (*)(struct dsa_switch *, int,  struct sk_buff *)' {aka '_Bool (*)(struct dsa_switch *, int,  struct sk_buff *)'} [-Werror=incompatible-pointer-types]
    2304 |         .port_txtstamp          = b53_port_txtstamp,
         |                                   ^~~~~~~~~~~~~~~~~
   drivers/net/dsa/b53/b53_common.c:2304:35: note: (near initialization for 'b53_switch_ops.port_txtstamp')
   cc1: some warnings being treated as errors


vim +2304 drivers/net/dsa/b53/b53_common.c

  2262	
  2263	static const struct dsa_switch_ops b53_switch_ops = {
  2264		.get_tag_protocol	= b53_get_tag_protocol,
  2265		.setup			= b53_setup,
  2266		.teardown		= b53_teardown,
  2267		.get_strings		= b53_get_strings,
  2268		.get_ethtool_stats	= b53_get_ethtool_stats,
  2269		.get_sset_count		= b53_get_sset_count,
  2270		.get_ethtool_phy_stats	= b53_get_ethtool_phy_stats,
  2271		.phy_read		= b53_phy_read16,
  2272		.phy_write		= b53_phy_write16,
  2273		.adjust_link		= b53_adjust_link,
  2274		.phylink_validate	= b53_phylink_validate,
  2275		.phylink_mac_link_state	= b53_phylink_mac_link_state,
  2276		.phylink_mac_config	= b53_phylink_mac_config,
  2277		.phylink_mac_an_restart	= b53_phylink_mac_an_restart,
  2278		.phylink_mac_link_down	= b53_phylink_mac_link_down,
  2279		.phylink_mac_link_up	= b53_phylink_mac_link_up,
  2280		.port_enable		= b53_enable_port,
  2281		.port_disable		= b53_disable_port,
  2282		.get_mac_eee		= b53_get_mac_eee,
  2283		.set_mac_eee		= b53_set_mac_eee,
  2284		.port_bridge_join	= b53_br_join,
  2285		.port_bridge_leave	= b53_br_leave,
  2286		.port_pre_bridge_flags	= b53_br_flags_pre,
  2287		.port_bridge_flags	= b53_br_flags,
  2288		.port_stp_state_set	= b53_br_set_stp_state,
  2289		.port_fast_age		= b53_br_fast_age,
  2290		.port_vlan_filtering	= b53_vlan_filtering,
  2291		.port_vlan_add		= b53_vlan_add,
  2292		.port_vlan_del		= b53_vlan_del,
  2293		.port_fdb_dump		= b53_fdb_dump,
  2294		.port_fdb_add		= b53_fdb_add,
  2295		.port_fdb_del		= b53_fdb_del,
  2296		.port_mirror_add	= b53_mirror_add,
  2297		.port_mirror_del	= b53_mirror_del,
  2298		.port_mdb_add		= b53_mdb_add,
  2299		.port_mdb_del		= b53_mdb_del,
  2300		.port_max_mtu		= b53_get_max_mtu,
  2301		.port_change_mtu	= b53_change_mtu,
  2302		.get_ts_info		= b53_get_ts_info,
  2303		.port_rxtstamp		= b53_port_rxtstamp,
> 2304		.port_txtstamp		= b53_port_txtstamp,
  2305	};
  2306	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 40792 bytes --]

  parent reply	other threads:[~2021-11-05 11:56 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-04 13:31 [PATCH 0/7] Add PTP support for BCM53128 switch Martin Kaistra
2021-11-04 13:31 ` [PATCH 1/7] net: dsa: b53: Add BroadSync HD register definitions Martin Kaistra
2021-11-06  2:29   ` Florian Fainelli
2021-11-04 13:31 ` [PATCH 2/7] net: dsa: b53: Move struct b53_device to include/linux/dsa/b53.h Martin Kaistra
2021-11-04 13:31 ` [PATCH 3/7] timecounter: allow for non-power of two overflow Martin Kaistra
2021-11-04 13:31 ` [PATCH 4/7] net: dsa: b53: Add PHC clock support Martin Kaistra
2021-11-04 17:28   ` Richard Cochran
2021-11-04 17:49     ` Richard Cochran
2021-11-06  2:32   ` Florian Fainelli
2021-11-08 15:00     ` Martin Kaistra
2021-11-04 13:31 ` [PATCH 5/7] net: dsa: b53: Add logic for RX timestamping Martin Kaistra
2021-11-06  2:36   ` Florian Fainelli
2021-11-04 13:32 ` [PATCH 6/7] net: dsa: b53: Add logic for TX timestamping Martin Kaistra
2021-11-05 11:17   ` kernel test robot
2021-11-05 11:17     ` kernel test robot
2021-11-05 12:59     ` Martin Kaistra
2021-11-05 12:59       ` Martin Kaistra
2021-11-05 13:37       ` Vladimir Oltean
2021-11-05 13:37         ` Vladimir Oltean
2021-11-05 13:48         ` Martin Kaistra
2021-11-05 13:48           ` Martin Kaistra
2021-11-05 11:56   ` kernel test robot [this message]
2021-11-06  2:50   ` Florian Fainelli
2021-11-08  9:57     ` Martin Kaistra
2021-11-04 13:32 ` [PATCH 7/7] net: dsa: b53: Expose PTP timestamping ioctls to userspace Martin Kaistra
2021-11-04 17:42   ` Richard Cochran
2021-11-05 13:38     ` Martin Kaistra
2021-11-05 14:13       ` Richard Cochran
2021-11-05 14:14         ` Richard Cochran
2021-11-05 14:28         ` Vladimir Oltean
2021-11-05 15:09           ` Jakub Kicinski
2021-11-05 17:25             ` Vladimir Oltean
2021-11-06  0:18           ` Richard Cochran
2021-11-06  0:36             ` Vladimir Oltean
2021-11-07 14:05               ` Richard Cochran
2021-11-07 14:27                 ` Vladimir Oltean
2021-11-08 14:48                   ` Richard Cochran
2021-11-25 17:05                     ` Vladimir Oltean
2021-11-26  8:42                       ` Kurt Kanzenbach
2021-11-26 16:31                         ` Richard Cochran
2021-11-26 16:42                           ` Vladimir Oltean
2021-11-26 17:03                             ` Richard Cochran
2021-11-26 17:18                               ` Vladimir Oltean
2021-11-04 17:29 ` [PATCH 0/7] Add PTP support for BCM53128 switch Jakub Kicinski
2021-11-05 13:08   ` Martin Kaistra

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=202111051915.ouwSefyf-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.