diff options
author | Cong Wang <amwang@redhat.com> | 2013-01-22 17:39:11 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-01-22 23:18:59 -0500 |
commit | e39363a9def53dd4086be107dc8b3ebca09f045d (patch) | |
tree | a2ce29eef0b7781852f5700c969b3814502c522d /arch/m32r | |
parent | 9647bb80a501a34f06132a04e240156950570005 (diff) | |
download | op-kernel-dev-e39363a9def53dd4086be107dc8b3ebca09f045d.zip op-kernel-dev-e39363a9def53dd4086be107dc8b3ebca09f045d.tar.gz |
netpoll: fix an uninitialized variable
Fengguang reported:
net/core/netpoll.c: In function 'netpoll_setup':
net/core/netpoll.c:1049:6: warning: 'err' may be used uninitialized in this function [-Wmaybe-uninitialized]
in !CONFIG_IPV6 case, we may error out without initializing
'err'.
Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Cc: David S. Miller <davem@davemloft.net>
Signed-off-by: Cong Wang <amwang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/m32r')
0 files changed, 0 insertions, 0 deletions