On Mon, 14 May 2018, Randy Dunlap wrote: > On 05/14/2018 03:38 PM, Saeed Mahameed wrote: > > Avoid using the kernel's irq_descriptor and return IRQ vector affinity > > directly from the driver. > > > > This fixes the following build break when CONFIG_SMP=n > > > > 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’ > > > > Fixes: 6082d9c9c94a ("net/mlx5: Fix mlx5_get_vector_affinity function") > > Signed-off-by: Saeed Mahameed <sae...@mellanox.com> > > CC: Randy Dunlap <rdun...@infradead.org> > > CC: Guenter Roeck <li...@roeck-us.net> > > CC: Thomas Gleixner <t...@linutronix.de> > > Tested-by: Israel Rukshin <isra...@mellanox.com> > > Reported-by: kbuild test robot <l...@intel.com> > Reported-by: Randy Dunlap <rdun...@infradead.org> > Tested-by: Randy Dunlap <rdun...@infradead.org>
Acked-by: Thomas Gleixner <t...@linutronix.de>