[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180725.223821.2249486672657415594.davem@davemloft.net>
Date: Wed, 25 Jul 2018 22:38:21 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: gustavo@...eddedor.com
Cc: ka-cheong.poon@...cle.com, santosh.shilimkar@...cle.com,
netdev@...r.kernel.org, linux-rdma@...r.kernel.org,
rds-devel@....oracle.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] rds: send: Fix dead code in rds_sendmsg
From: "Gustavo A. R. Silva" <gustavo@...eddedor.com>
Date: Wed, 25 Jul 2018 10:22:27 -0500
> Currently, code at label *out* is unreachable. Fix this by updating
> variable *ret* with -EINVAL, so the jump to *out* can be properly
> executed instead of directly returning from function.
>
> Addresses-Coverity-ID: 1472059 ("Structurally dead code")
> Fixes: 1e2b44e78eea ("rds: Enable RDS IPv6 support")
> Signed-off-by: Gustavo A. R. Silva <gustavo@...eddedor.com>
Applied.
Powered by blists - more mailing lists