All of lore.kernel.org
 help / color / mirror / Atom feed
* [jpirko-mlxsw:petrm_8021qaz 1/5] net//sched/sch_drr.c:264:11: error: implicit declaration of function 'drr_priomap'; did you mean 'pci_iomap'?
@ 2019-10-07 10:53 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2019-10-07 10:53 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://github.com/jpirko/linux_mlxsw petrm_8021qaz
head:   5ef8a5463b162fae950cd24a880b1e4f2aefc992
commit: 5811210fce7100a4af703cf306054177e9783aba [1/5] sch_drr: Add defmap [xxx]
config: xtensa-allyesconfig (attached as .config)
compiler: xtensa-linux-gcc (GCC) 7.4.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 5811210fce7100a4af703cf306054177e9783aba
        # save the attached .config to linux build tree
        GCC_VERSION=7.4.0 make.cross ARCH=xtensa 

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

Note: the jpirko-mlxsw/petrm_8021qaz HEAD 5ef8a5463b162fae950cd24a880b1e4f2aefc992 builds fine.
      It only hurts bisectibility.

All errors (new ones prefixed by >>):

   net//sched/sch_drr.c: In function 'drr_dump_class':
>> net//sched/sch_drr.c:264:11: error: implicit declaration of function 'drr_priomap'; did you mean 'pci_iomap'? [-Werror=implicit-function-declaration]
     defmap = drr_priomap(sch, (unsigned long)cl);
              ^~~~~~~~~~~
              pci_iomap
   cc1: some warnings being treated as errors

vim +264 net//sched/sch_drr.c

   252	
   253	static int drr_dump_class(struct Qdisc *sch, unsigned long arg,
   254				  struct sk_buff *skb, struct tcmsg *tcm)
   255	{
   256		struct drr_class *cl = (struct drr_class *)arg;
   257		struct nlattr *nest;
   258		u16 defmap;
   259	
   260		tcm->tcm_parent	= TC_H_ROOT;
   261		tcm->tcm_handle	= cl->common.classid;
   262		tcm->tcm_info	= cl->qdisc->handle;
   263	
 > 264		defmap = drr_priomap(sch, (unsigned long)cl);
   265		nest = nla_nest_start_noflag(skb, TCA_OPTIONS);
   266		if (nest == NULL)
   267			goto nla_put_failure;
   268		if (nla_put_u32(skb, TCA_DRR_QUANTUM, cl->quantum))
   269			goto nla_put_failure;
   270		if (defmap &&
   271		    nla_put_u32(skb, TCA_DRR_DEFMAP, defmap))
   272			goto nla_put_failure;
   273		return nla_nest_end(skb, nest);
   274	
   275	nla_put_failure:
   276		nla_nest_cancel(skb, nest);
   277		return -EMSGSIZE;
   278	}
   279	

---
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: 59361 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-10-07 10:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-07 10:53 [jpirko-mlxsw:petrm_8021qaz 1/5] net//sched/sch_drr.c:264:11: error: implicit declaration of function 'drr_priomap'; did you mean 'pci_iomap'? kbuild test robot

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.