From: Or Gerlitz <ogerl...@mellanox.com> Date: Tue, 2 Jun 2015 10:29:48 +0300
> When CONFIG_RFS_ACCEL or SMP aren't set, we fail to build, fix it. > > Also, avoid build warning as of unused function on that setup. > > Fixes: c66fa19c405a ('net/mlx4: Add EQ pool') > Reported-by: Michael Ellerman <m...@ellerman.id.au> > Signed-off-by: Matan Barak <mat...@mellanox.com> > Signed-off-by: Or Gerlitz <ogerl...@mellanox.com> Applied, but this is really silly. The whole reason there are backup non-SMP inline versions of irq_set_affinity_hint() is so that drivers don't have to crap up their drivers with ifdef'ery like this. Just make all of this code unconditional and ignore the error, there isn't anything you can really do if the error happens anyways and this allows you to just silently use the non-SMP variant which unconditionally returns -EINVAL. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html