From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mout.web.de ([212.227.17.11]:60784 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752159AbdJ3Nkn (ORCPT ); Mon, 30 Oct 2017 09:40:43 -0400 Subject: Re: [PATCH 1/5] wlcore: Use common error handling code in wlcore_nvs_cb() 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 References: <7b40d50f-cdac-bd47-5070-894140f7ceb3@users.sourceforge.net> From: SF Markus Elfring Message-ID: <0487c19a-a662-1e74-cba7-12508a0b4307@users.sourceforge.net> (sfid-20171030_144109_379827_F97A5EF7) Date: Mon, 30 Oct 2017 14:40:25 +0100 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Sender: linux-wireless-owner@vger.kernel.org List-ID: >> @@ -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