[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160221101553.7fd64e70@madeira.sommer.dynalias.net>
Date: Sun, 21 Feb 2016 10:15:53 +0100
From: Sascha Sommer <saschasommer@...enet.de>
To: SF Markus Elfring <elfring@...rs.sourceforge.net>
Cc: linux-mmc@...r.kernel.org, Ulf Hansson <ulf.hansson@...aro.org>,
LKML <linux-kernel@...r.kernel.org>,
kernel-janitors@...r.kernel.org,
Julia Lawall <julia.lawall@...6.fr>
Subject: Re: [PATCH 2/2] mmc-sdricoh_cs: Less checks in sdricoh_init_mmc()
after, error detection
Hello,
Am Tue, 29 Dec 2015 22:02:37 +0100
schrieb SF Markus Elfring <elfring@...rs.sourceforge.net>:
> From: Markus Elfring <elfring@...rs.sourceforge.net>
> Date: Tue, 29 Dec 2015 21:45:34 +0100
>
> This issue was detected by using the Coccinelle software.
>
> Two pointer checks could be repeated by the sdricoh_init_mmc()
> function during error handling even if the relevant properties can be
> determined for the involved variables before by source code analysis.
>
> * This implementation detail could be improved by adjustments
> for jump targets according to the Linux coding style convention.
>
> * Drop an unnecessary initialisation for the variable "mmc" then.
>
> Signed-off-by: Markus Elfring <elfring@...rs.sourceforge.net>
> ---
Acked-by: Sascha Sommer <saschasommer@...enet.de>
Best regards
Sascha
Powered by blists - more mailing lists