LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* include/linux/mlx5/driver.h:1299:13: error: 'struct irq_desc' has no member named 'affinity_hint'
@ 2018-05-17  3:43 kbuild test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kbuild test robot @ 2018-05-17  3:43 UTC (permalink / raw)
  To: Israel Rukshin
  Cc: kbuild-all, linux-kernel, Saeed Mahameed, Max Gurtovoy, Sagi Grimberg

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   e6506eb241871d68647c53cb6d0a16299550ae97
commit: 6082d9c9c94a408d7409b5f2e4e42ac9e8b16d0d net/mlx5: Fix mlx5_get_vector_affinity function
date:   3 weeks ago
config: xtensa-allyesconfig (attached as .config)
compiler: xtensa-linux-gcc (GCC) 7.2.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 6082d9c9c94a408d7409b5f2e4e42ac9e8b16d0d
        # save the attached .config to linux build tree
        make.cross ARCH=xtensa 

All error/warnings (new ones prefixed by >>):

   In file included from drivers/net//ethernet/mellanox/mlx5/core/main.c:43:0:
   include/linux/mlx5/driver.h: In function 'mlx5_get_vector_affinity_hint':
>> include/linux/mlx5/driver.h:1299:13: error: 'struct irq_desc' has no member named 'affinity_hint'
     return desc->affinity_hint;
                ^~
--
   In file included from include/linux/mlx5/port.h:36:0,
                    from drivers/infiniband/hw/mlx5/main.c:52:
   include/linux/mlx5/driver.h: In function 'mlx5_get_vector_affinity_hint':
>> include/linux/mlx5/driver.h:1299:13: error: 'struct irq_desc' has no member named 'affinity_hint'
     return desc->affinity_hint;
                ^~
>> include/linux/mlx5/driver.h:1300:1: warning: control reaches end of non-void function [-Wreturn-type]
    }
    ^

vim +1299 include/linux/mlx5/driver.h

  1285	
  1286	static inline const struct cpumask *
  1287	mlx5_get_vector_affinity_hint(struct mlx5_core_dev *dev, int vector)
  1288	{
  1289		struct irq_desc *desc;
  1290		unsigned int irq;
  1291		int eqn;
  1292		int err;
  1293	
  1294		err = mlx5_vector2eqn(dev, vector, &eqn, &irq);
  1295		if (err)
  1296			return NULL;
  1297	
  1298		desc = irq_to_desc(irq);
> 1299		return desc->affinity_hint;
> 1300	}
  1301	

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* include/linux/mlx5/driver.h:1299:13: error: 'struct irq_desc' has no member named 'affinity_hint'
@ 2018-05-11 13:38 kbuild test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kbuild test robot @ 2018-05-11 13:38 UTC (permalink / raw)
  To: Israel Rukshin
  Cc: kbuild-all, linux-kernel, Saeed Mahameed, Max Gurtovoy, Sagi Grimberg

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

Hi Israel,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   94d7dbf108813ea45a91e27e9a8bd231d5a23fa7
commit: 6082d9c9c94a408d7409b5f2e4e42ac9e8b16d0d net/mlx5: Fix mlx5_get_vector_affinity function
date:   2 weeks ago
config: xtensa-allyesconfig (attached as .config)
compiler: xtensa-linux-gcc (GCC) 7.2.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 6082d9c9c94a408d7409b5f2e4e42ac9e8b16d0d
        # save the attached .config to linux build tree
        make.cross ARCH=xtensa 

All errors (new ones prefixed by >>):

   In file included from include/linux/mlx5/port.h:36:0,
                    from drivers/infiniband/hw/mlx5/main.c:52:
   include/linux/mlx5/driver.h: In function 'mlx5_get_vector_affinity_hint':
>> include/linux/mlx5/driver.h:1299:13: error: 'struct irq_desc' has no member named 'affinity_hint'
     return desc->affinity_hint;
                ^~
   include/linux/mlx5/driver.h:1300:1: warning: control reaches end of non-void function [-Wreturn-type]
    }
    ^
--
   In file included from drivers/infiniband/hw/mlx5/mlx5_ib.h:40:0,
                    from drivers/infiniband/hw/mlx5/cq.c:37:
   include/linux/mlx5/driver.h: In function 'mlx5_get_vector_affinity_hint':
>> include/linux/mlx5/driver.h:1299:13: error: 'struct irq_desc' has no member named 'affinity_hint'
     return desc->affinity_hint;
                ^~

vim +1299 include/linux/mlx5/driver.h

  1285	
  1286	static inline const struct cpumask *
  1287	mlx5_get_vector_affinity_hint(struct mlx5_core_dev *dev, int vector)
  1288	{
  1289		struct irq_desc *desc;
  1290		unsigned int irq;
  1291		int eqn;
  1292		int err;
  1293	
  1294		err = mlx5_vector2eqn(dev, vector, &eqn, &irq);
  1295		if (err)
  1296			return NULL;
  1297	
  1298		desc = irq_to_desc(irq);
> 1299		return desc->affinity_hint;
  1300	}
  1301	

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-05-17  3:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-17  3:43 include/linux/mlx5/driver.h:1299:13: error: 'struct irq_desc' has no member named 'affinity_hint' kbuild test robot
  -- strict thread matches above, loose matches on Subject: below --
2018-05-11 13:38 kbuild test robot

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).