Explorar o código

dcb: fix sparse warnings

Add header with function definitions to quiet warnings and avoid future errors.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
stephen hemminger %!s(int64=12) %!d(string=hai) anos
pai
achega
23bdbc80e1
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      net/dcb/dcbevent.c

+ 1 - 0
net/dcb/dcbevent.c

@@ -20,6 +20,7 @@
 #include <linux/rtnetlink.h>
 #include <linux/notifier.h>
 #include <linux/export.h>
+#include <net/dcbevent.h>
 
 static ATOMIC_NOTIFIER_HEAD(dcbevent_notif_chain);