On Sat, Jan 28, 2017 at 04:13:11AM +0100, Linus Lüssing wrote:
On Wed, Dec 14, 2016 at 08:23:19PM +0100, Sven Eckelmann wrote:
diff --git a/net/batman-adv/bat_v_elp.c b/net/batman-adv/bat_v_elp.c index 712bd428..a69614f5 100644 --- a/net/batman-adv/bat_v_elp.c +++ b/net/batman-adv/bat_v_elp.c @@ -19,10 +19,10 @@ #include "main.h" #include <crypto/hash.h> -#include <crypto/sha.h> #include <linux/atomic.h> +#include <linux/bug.h> #include <linux/byteorder/generic.h> -#include <linux/err.h> +#include <linux/device.h> #include <linux/errno.h> #include <linux/etherdevice.h> #include <linux/ethtool.h>
Hm, do you remember what you were adding bug.h and device.h for? Also, err.h seems to be needed for IS_ERR() and PTR_ERR().
Ok, found bug.h is needed for WARN_ON() in the third patch. The device.h addition and err.h removal still leave me clueless though.