projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0450243
)
dcbnl: Silence harmless gcc warning about uninitialized reply_nlh
author
Thomas Graf
<tgraf@suug.ch>
Wed, 13 Jun 2012 22:34:03 +0000
(22:34 +0000)
committer
David S. Miller
<davem@davemloft.net>
Thu, 14 Jun 2012 08:45:46 +0000
(
01:45
-0700)
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dcb/dcbnl.c
patch
|
blob
|
blame
|
history
diff --git
a/net/dcb/dcbnl.c
b/net/dcb/dcbnl.c
index 70bba3eb4ae95d86fe5e1b5e0837c741381b4bda..da6ee81ce51f4067b919618a766031cc18de99df 100644
(file)
--- a/
net/dcb/dcbnl.c
+++ b/
net/dcb/dcbnl.c
@@
-1664,7
+1664,7
@@
static int dcb_doit(struct sk_buff *skb, struct nlmsghdr *nlh, void *arg)
u32 pid = skb ? NETLINK_CB(skb).pid : 0;
int ret = -EINVAL;
struct sk_buff *reply_skb;
- struct nlmsghdr *reply_nlh;
+ struct nlmsghdr *reply_nlh
= NULL
;
const struct reply_func *fn;
if (!net_eq(net, &init_net))