From mboxrd@z Thu Jan 1 00:00:00 1970 From: SF Markus Elfring Date: Mon, 30 Oct 2017 13:40:25 +0000 Subject: Re: [PATCH 1/5] wlcore: Use common error handling code in wlcore_nvs_cb() Message-Id: <0487c19a-a662-1e74-cba7-12508a0b4307@users.sourceforge.net> List-Id: References: <7b40d50f-cdac-bd47-5070-894140f7ceb3@users.sourceforge.net> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Julian Calaby , linux-wireless , netdev Cc: Arend Van Spriel , Eyal Reizer , Iain Hunter , James Minor , Johannes Berg , Kalle Valo , Maxim Altshul , Pieter-Paul Giesberts , LKML , kernel-janitors >> @@ -6551,6 +6549,11 @@ static void wlcore_nvs_cb(const struct firmware *fw, void *context) >> out: >> release_firmware(fw); >> complete_all(&wl->nvs_loading_complete); >> + return; >> + >> +power_off: > > Name this "out_power_off" to match the other labels. Do you expect a second approach for this patch series then? >> + wl1271_power_off(wl); >> + goto out_free_nvs; > > Why not put this in front of the out_free_nvs label? It seems that I can not really follow this suggestion at the moment. > It looks weird here. Which detail do you not like? Regards, Markus