fix warning in fs/dlm/netlink.c
authorIngo Molnar <mingo@elte.hu>
Wed, 26 Nov 2008 00:51:45 +0000 (16:51 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 26 Nov 2008 00:51:45 +0000 (16:51 -0800)
commit180b65df7ba1e700e28aabfbddbad84b7beebe4b
tree2563802614050480f4b85dd7b0559b4aa7d49bc6
parentd3f644da909549a4cf0ad27541df342f75158cc0
fix warning in fs/dlm/netlink.c

this warning:

  fs/dlm/netlink.c: In function ‘dlm_timeout_warn’:
  fs/dlm/netlink.c:131: warning: ‘send_skb’ may be used uninitialized in this function

triggers because GCC does not recognize the (correct) error flow
between prepare_data() and send_skb.

Annotate it.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: David S. Miller <davem@davemloft.net>
fs/dlm/netlink.c