netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Leandro Dorileo <leandro.maciel.dorileo@intel.com>
Cc: kbuild-all@01.org, netdev@vger.kernel.org,
	Jamal Hadi Salim <jhs@mojatatu.com>,
	Cong Wang <xiyou.wangcong@gmail.com>,
	Jiri Pirko <jiri@resnulli.us>,
	"David S . Miller" <davem@davemloft.net>,
	Vinicius Costa Gomes <vinicius.gomes@intel.com>,
	f.fainelli@gmail.com, vedang.patel@intel.com,
	andre.guedes@intel.com
Subject: Re: [PATCH net V5 1/2] net/sched: taprio: fix picos_per_byte miscalculation
Date: Sat, 30 Mar 2019 04:46:48 +0800	[thread overview]
Message-ID: <201903300437.1QdoH7tU%lkp@intel.com> (raw)
In-Reply-To: <20190329001906.18594-2-leandro.maciel.dorileo@intel.com>

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

Hi Leandro,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on net/master]

url:    https://github.com/0day-ci/linux/commits/Leandro-Dorileo/net-sched-taprio-fix-picos_per_byte-miscalculation/20190329-185809
config: i386-randconfig-l0-03292131 (attached as .config)
compiler: gcc-5 (Debian 5.5.0-3) 5.4.1 20171010
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   net/sched/sch_taprio.o: In function `ktime_compare':
>> include/linux/ktime.h:116: undefined reference to `__divdi3'
   net/sched/sch_taprio.o: In function `__write_once_size':
>> include/linux/compiler.h:219: undefined reference to `__divdi3'
>> include/linux/compiler.h:219: undefined reference to `__divdi3'

vim +116 include/linux/ktime.h

97fc79f9 Thomas Gleixner 2006-01-09  101  
398f382c Daniel Borkmann 2012-10-28  102  /**
398f382c Daniel Borkmann 2012-10-28  103   * ktime_compare - Compares two ktime_t variables for less, greater or equal
398f382c Daniel Borkmann 2012-10-28  104   * @cmp1:	comparable1
398f382c Daniel Borkmann 2012-10-28  105   * @cmp2:	comparable2
398f382c Daniel Borkmann 2012-10-28  106   *
36019265 Yacine Belkadi  2013-07-24  107   * Return: ...
398f382c Daniel Borkmann 2012-10-28  108   *   cmp1  < cmp2: return <0
398f382c Daniel Borkmann 2012-10-28  109   *   cmp1 == cmp2: return 0
398f382c Daniel Borkmann 2012-10-28  110   *   cmp1  > cmp2: return >0
398f382c Daniel Borkmann 2012-10-28  111   */
398f382c Daniel Borkmann 2012-10-28  112  static inline int ktime_compare(const ktime_t cmp1, const ktime_t cmp2)
398f382c Daniel Borkmann 2012-10-28  113  {
2456e855 Thomas Gleixner 2016-12-25  114  	if (cmp1 < cmp2)
398f382c Daniel Borkmann 2012-10-28  115  		return -1;
2456e855 Thomas Gleixner 2016-12-25 @116  	if (cmp1 > cmp2)
398f382c Daniel Borkmann 2012-10-28  117  		return 1;
398f382c Daniel Borkmann 2012-10-28  118  	return 0;
398f382c Daniel Borkmann 2012-10-28  119  }
398f382c Daniel Borkmann 2012-10-28  120  

:::::: The code at line 116 was first introduced by commit
:::::: 2456e855354415bfaeb7badaa14e11b3e02c8466 ktime: Get rid of the union

:::::: TO: Thomas Gleixner <tglx@linutronix.de>
:::::: CC: Thomas Gleixner <tglx@linutronix.de>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

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

  parent reply	other threads:[~2019-03-29 20:47 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-29  0:19 [PATCH net V5 0/2] net/sched: taprio: fix picos_per_byte miscalculation Leandro Dorileo
2019-03-29  0:19 ` [PATCH net V5 1/2] " Leandro Dorileo
2019-03-29  1:12   ` Cong Wang
2019-03-29 19:20     ` Leandro Dorileo
2019-03-29 20:46   ` kbuild test robot [this message]
2019-03-30  6:19   ` kbuild test robot
2019-03-29  0:19 ` [PATCH net V5 2/2] net/sched: cbs: fix port_rate miscalculation Leandro Dorileo

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=201903300437.1QdoH7tU%lkp@intel.com \
    --to=lkp@intel.com \
    --cc=andre.guedes@intel.com \
    --cc=davem@davemloft.net \
    --cc=f.fainelli@gmail.com \
    --cc=jhs@mojatatu.com \
    --cc=jiri@resnulli.us \
    --cc=kbuild-all@01.org \
    --cc=leandro.maciel.dorileo@intel.com \
    --cc=netdev@vger.kernel.org \
    --cc=vedang.patel@intel.com \
    --cc=vinicius.gomes@intel.com \
    --cc=xiyou.wangcong@gmail.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).