lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Fri, 11 May 2018 21:38:27 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Israel Rukshin <israelr@...lanox.com>
Cc:     kbuild-all@...org, linux-kernel@...r.kernel.org,
        Saeed Mahameed <saeedm@...lanox.com>,
        Max Gurtovoy <maxg@...lanox.com>,
        Sagi Grimberg <sagi@...mberg.me>
Subject: include/linux/mlx5/driver.h:1299:13: error: 'struct irq_desc' has no
 member named 'affinity_hint'

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

Download attachment ".config.gz" of type "application/gzip" (52947 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ