Received: from relay7-d.mail.gandi.net (relay7-d.mail.gandi.net [217.70.183.200]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BE41515AAB1; Wed, 28 Aug 2024 08:49:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.200 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724834991; cv=none; b=Y1ah0tUgOu2PwUuUrIaG8l2kG6Yd+BH+rpBjzE8XpvNe7FenYIjg7BuWBkVdDgifWDSKVGe3qvT1v0FzQeo3HCwWvn0ttCyyMeFGbCD31DNBXHdP1JAoz5wwQxn8uNylAy+sw74ipY71FWmH4welC7YqE+CtqV+pNSKOdn5ZZEY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724834991; c=relaxed/simple; bh=w3UQh3YjOmm1mjxe74WKMB2wV1Vo9ThjngJkm+amIsg=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=bOyeWDp59AJ2wj4BPtqiO1avINQnhZ5Evg7ZsfoFVKmsks+ssuoW0lejKIypNsABmYS2ZdciGiBhey6IXNrDqOWmks5tmkVtga8zSenZsyYoks/h9qwI5hMNf+dtoNZps1ju2vmjLCTz/RtWRpOZzZqm5nlDXAA4Fi/IDIrslwY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=GX76gNlC; arc=none smtp.client-ip=217.70.183.200 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="GX76gNlC" Received: by mail.gandi.net (Postfix) with ESMTPSA id 355F020003; Wed, 28 Aug 2024 08:49:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1724834981; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=4gq8FrzeR468IgCrdCZ/Q+Fpyxok8NZVzdlwUV3fWpc=; b=GX76gNlC35bLanfJ8uA1k45wFD8QcQz+pisBD4LzNth7RVHIzVJ+g2SADaajCI5WMdzCuB 98BSZEoig7WsZIt7uLEpXuM/layn2VkLu2UkLkdGF0u8vdfTM/G1dCqYcIPJRtqgTf0x32 tmh2At9COXdwpMKCleGomayjtDsSQccAW8KDn8p0pSDQWbwTvLNGnZ2aCG7alSpsmM4TNL oPzxCSI64H0PAc4u1Cn36CtYc3HOkLq0fxnyGw6MPgNQ8kMTwL58mRzMOFXjH38TOPsa4H M3jm/uaEmxlXFx5PD58kk3C4zLBp9d0EMRoGWy/FYGH++dmA9wmDKVl9Wln7Rg== Message-ID: <0493044b-3e9f-40ef-8bd5-cc7ffdb035cc@bootlin.com> Date: Wed, 28 Aug 2024 10:49:39 +0200 Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 4/5] wifi: wilc1000: Fill in missing error handling To: Marek Vasut , linux-wireless@vger.kernel.org Cc: "David S. Miller" , Adham Abozaeid , Ajay Singh , Claudiu Beznea , Conor Dooley , Eric Dumazet , Jakub Kicinski , Kalle Valo , Krzysztof Kozlowski , Paolo Abeni , Rob Herring , devicetree@vger.kernel.org, netdev@vger.kernel.org References: <20240827164042.53698-1-marex@denx.de> <20240827164042.53698-4-marex@denx.de> From: =?UTF-8?Q?Alexis_Lothor=C3=A9?= Content-Language: en-US In-Reply-To: <20240827164042.53698-4-marex@denx.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-GND-Sasl: alexis.lothore@bootlin.com On 8/27/24 18:37, Marek Vasut wrote: > Add error handling to chip_wakeup() and propagate the errors throughout > the entire driver. Add error handling to acquire_bus()/release_bus() and > host_sleep_notify()/host_wakeup_notify() functions as a result as well. > Fill the error handling to all call sites. > > Signed-off-by: Marek Vasut > --- > Cc: "David S. Miller" > Cc: Adham Abozaeid > Cc: Ajay Singh > Cc: Alexis Lothoré > Cc: Claudiu Beznea > Cc: Conor Dooley > Cc: Eric Dumazet > Cc: Jakub Kicinski > Cc: Kalle Valo > Cc: Krzysztof Kozlowski > Cc: Marek Vasut > Cc: Paolo Abeni > Cc: Rob Herring > Cc: devicetree@vger.kernel.org > Cc: linux-wireless@vger.kernel.org > Cc: netdev@vger.kernel.org Reviewed-by: Alexis Lothoré -- Alexis Lothoré, Bootlin Embedded Linux and Kernel engineering https://bootlin.com