[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190903145206.GB3499@localhost.localdomain>
Date: Tue, 3 Sep 2019 11:52:06 -0300
From: Marcelo Ricardo Leitner <marcelo.leitner@...il.com>
To: Baolin Wang <baolin.wang@...aro.org>
Cc: stable@...r.kernel.org, vyasevich@...il.com, nhorman@...driver.com,
davem@...emloft.net, hariprasad.kelam@...il.com,
linux-sctp@...r.kernel.org, netdev@...r.kernel.org, arnd@...db.de,
orsonzhai@...il.com, vincent.guittot@...aro.org,
linux-kernel@...r.kernel.org
Subject: Re: [BACKPORT 4.14.y 4/8] net: sctp: fix warning "NULL check before
some freeing functions is not needed"
On Tue, Sep 03, 2019 at 02:58:16PM +0800, Baolin Wang wrote:
> From: Hariprasad Kelam <hariprasad.kelam@...il.com>
>
> This patch removes NULL checks before calling kfree.
>
> fixes below issues reported by coccicheck
> net/sctp/sm_make_chunk.c:2586:3-8: WARNING: NULL check before some
> freeing functions is not needed.
> net/sctp/sm_make_chunk.c:2652:3-8: WARNING: NULL check before some
> freeing functions is not needed.
> net/sctp/sm_make_chunk.c:2667:3-8: WARNING: NULL check before some
> freeing functions is not needed.
> net/sctp/sm_make_chunk.c:2684:3-8: WARNING: NULL check before some
> freeing functions is not needed.
Hi. This doesn't seem the kind of patch that should be backported to
such old/stable releases. After all, it's just a cleanup.
Marcelo
Powered by blists - more mailing lists