From: David Miller <davem@davemloft.net>
To: geert@linux-m68k.org
Cc: vyasevich@gmail.com, nhorman@tuxdriver.com, lucien.xin@gmail.com,
linux-sctp@vger.kernel.org, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] net: sctp: Move sequence start handling into sctp_transport_get_idx()
Date: Fri, 15 Jan 2016 15:12:13 -0500 (EST) [thread overview]
Message-ID: <20160115.151213.2258553264727846515.davem@davemloft.net> (raw)
In-Reply-To: <1452865471-32509-1-git-send-email-geert@linux-m68k.org>
From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: Fri, 15 Jan 2016 14:44:31 +0100
> 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>
Applied, thanks Geert.
prev parent reply other threads:[~2016-01-15 20:12 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-15 13:44 Geert Uytterhoeven
2016-01-15 19:05 ` Marcelo Ricardo Leitner
2016-01-15 20:12 ` David Miller [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160115.151213.2258553264727846515.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=geert@linux-m68k.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sctp@vger.kernel.org \
--cc=lucien.xin@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=nhorman@tuxdriver.com \
--cc=vyasevich@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®