summaryrefslogtreecommitdiff
path: root/net/sched/cls_api.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2016-10-06 15:41:49 +0200
committerDavid S. Miller <davem@davemloft.net>2016-10-12 01:51:49 -0400
commit6d3a4c404648e415e7d96e285d723936d4df7ed0 (patch)
tree3f99b17ecba4fc4c7d35fb786e524d20134fcea9 /net/sched/cls_api.c
parent6b25e21fa6f26d0f0d45f161d169029411c84286 (diff)
downloadlwn-6d3a4c404648e415e7d96e285d723936d4df7ed0.tar.gz
lwn-6d3a4c404648e415e7d96e285d723936d4df7ed0.zip
strparser: Propagate correct error code in strp_recv()
With m68k-linux-gnu-gcc-4.1: net/strparser/strparser.c: In function ‘strp_recv’: net/strparser/strparser.c:98: warning: ‘err’ may be used uninitialized in this function Pass "len" (which is an error code when negative) instead of the uninitialized "err" variable to fix this. Fixes: 43a0c6751a322847 ("strparser: Stream parser for messages") Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/cls_api.c')
0 files changed, 0 insertions, 0 deletions