]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
netlabel: Compiler warning and NULL pointer dereference fix
authorPaul Moore <paul.moore@hp.com>
Fri, 12 Dec 2008 05:31:50 +0000 (21:31 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 12 Dec 2008 05:31:50 +0000 (21:31 -0800)
commitec8f2375d7584969501918651241f91eca2a6ad3
treed535c77113d1bce29c6e10c8c2dde1f653994f3f
parent30bb0e0dce78427f3e5cb728d6b5ea73acbefffa
netlabel: Compiler warning and NULL pointer dereference fix

Fix the two compiler warnings show below.  Thanks to Geert Uytterhoeven for
finding and reporting the problem.

 net/netlabel/netlabel_unlabeled.c:567: warning: 'entry' may be used
   uninitialized in this function
 net/netlabel/netlabel_unlabeled.c:629: warning: 'entry' may be used
   uninitialized in this function

Signed-off-by: Paul Moore <paul.moore@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netlabel/netlabel_unlabeled.c