summaryrefslogtreecommitdiffstats
path: root/drivers/net/xen-netback
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2016-01-15 14:44:31 +0100
committerDavid S. Miller <davem@davemloft.net>2016-01-15 21:11:55 +0100
commitfb3311853c0f23391fc3441d49a46d076de57757 (patch)
tree8a4ddb81f42b974619b54725b00d7ed929008304 /drivers/net/xen-netback
parentipv6: update skb->csum when CE mark is propagated (diff)
downloadlinux-fb3311853c0f23391fc3441d49a46d076de57757.tar.xz
linux-fb3311853c0f23391fc3441d49a46d076de57757.zip
net: sctp: Move sequence start handling into sctp_transport_get_idx()
net/sctp/proc.c: In function ‘sctp_transport_get_idx’: net/sctp/proc.c:313: warning: ‘obj’ may be used uninitialized in this function This is currently a false positive, as all callers check for a zero offset first, and handle this case in the exact same way. Move the check and handling into sctp_transport_get_idx() to kill the compiler warning, and avoid future bugs. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Acked-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/xen-netback')
0 files changed, 0 insertions, 0 deletions