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]
Message-ID: <201805171140.uzJ268i2%fengguang.wu@intel.com>
Date:   Thu, 17 May 2018 11:43:45 +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'

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ