CC: [email protected] In-Reply-To: <[email protected]> References: <[email protected]> TO: Vladimir Oltean <[email protected]> TO: "David S . Miller" <[email protected]> TO: Jakub Kicinski <[email protected]> TO: [email protected] CC: Andrew Lunn <[email protected]> CC: Florian Fainelli <[email protected]> CC: Vivien Didelot <[email protected]> CC: Richard Cochran <[email protected]> CC: Claudiu Manoil <[email protected]> CC: Alexandre Belloni <[email protected]> CC: Vladimir Oltean <[email protected]>
Hi Vladimir, I love your patch! Perhaps something to improve: [auto build test WARNING on net-next/master] url: https://github.com/0day-ci/linux/commits/Vladimir-Oltean/PTP-for-DSA-tag_ocelot_8021q/20210213-081857 base: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git 3c5a2fd042d0bfac71a2dfb99515723d318df47b :::::: branch date: 2 hours ago :::::: commit date: 2 hours ago config: i386-randconfig-m031-20210209 (attached as .config) compiler: gcc-9 (Debian 9.3.0-15) 9.3.0 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <[email protected]> Reported-by: Dan Carpenter <[email protected]> smatch warnings: net/dsa/tag_ocelot.c:59 ocelot_xmit() warn: should '(((1))) << (dp->index)' be a 64 bit type? net/dsa/tag_ocelot.c:71 seville_xmit() warn: should '(((1))) << (dp->index)' be a 64 bit type? vim +59 net/dsa/tag_ocelot.c 9d88a16c0fc930 Vladimir Oltean 2021-02-13 51 9d88a16c0fc930 Vladimir Oltean 2021-02-13 52 static struct sk_buff *ocelot_xmit(struct sk_buff *skb, 9d88a16c0fc930 Vladimir Oltean 2021-02-13 53 struct net_device *netdev) 9d88a16c0fc930 Vladimir Oltean 2021-02-13 54 { 9d88a16c0fc930 Vladimir Oltean 2021-02-13 55 struct dsa_port *dp = dsa_slave_to_port(netdev); 9d88a16c0fc930 Vladimir Oltean 2021-02-13 56 void *injection; 9d88a16c0fc930 Vladimir Oltean 2021-02-13 57 9d88a16c0fc930 Vladimir Oltean 2021-02-13 58 ocelot_xmit_common(skb, netdev, cpu_to_be32(0x8880000a), &injection); 9d88a16c0fc930 Vladimir Oltean 2021-02-13 @59 ocelot_ifh_set_dest(injection, BIT(dp->index)); 9d88a16c0fc930 Vladimir Oltean 2021-02-13 60 9d88a16c0fc930 Vladimir Oltean 2021-02-13 61 return skb; 9d88a16c0fc930 Vladimir Oltean 2021-02-13 62 } 9d88a16c0fc930 Vladimir Oltean 2021-02-13 63 9d88a16c0fc930 Vladimir Oltean 2021-02-13 64 static struct sk_buff *seville_xmit(struct sk_buff *skb, 9d88a16c0fc930 Vladimir Oltean 2021-02-13 65 struct net_device *netdev) 9d88a16c0fc930 Vladimir Oltean 2021-02-13 66 { 9d88a16c0fc930 Vladimir Oltean 2021-02-13 67 struct dsa_port *dp = dsa_slave_to_port(netdev); 9d88a16c0fc930 Vladimir Oltean 2021-02-13 68 void *injection; 9d88a16c0fc930 Vladimir Oltean 2021-02-13 69 9d88a16c0fc930 Vladimir Oltean 2021-02-13 70 ocelot_xmit_common(skb, netdev, cpu_to_be32(0x88800005), &injection); 9d88a16c0fc930 Vladimir Oltean 2021-02-13 @71 seville_ifh_set_dest(injection, BIT(dp->index)); 9d88a16c0fc930 Vladimir Oltean 2021-02-13 72 8dce89aa5f3274 Vladimir Oltean 2019-11-14 73 return skb; 8dce89aa5f3274 Vladimir Oltean 2019-11-14 74 } 8dce89aa5f3274 Vladimir Oltean 2019-11-14 75 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/[email protected]
.config.gz
Description: application/gzip
_______________________________________________ kbuild mailing list -- [email protected] To unsubscribe send an email to [email protected]
