Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B7131C25B50 for ; Mon, 23 Jan 2023 20:04:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231864AbjAWUE5 (ORCPT ); Mon, 23 Jan 2023 15:04:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37672 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233149AbjAWUEx (ORCPT ); Mon, 23 Jan 2023 15:04:53 -0500 Received: from viti.kaiser.cx (viti.kaiser.cx [IPv6:2a01:238:43fe:e600:cd0c:bd4a:7a3:8e9f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D52FCA3 for ; Mon, 23 Jan 2023 12:04:51 -0800 (PST) Received: from martin by viti.kaiser.cx with local (Exim 4.89) (envelope-from ) id 1pK33c-0008P0-NC; Mon, 23 Jan 2023 21:04:44 +0100 Date: Mon, 23 Jan 2023 21:04:44 +0100 From: Martin Kaiser To: Pavel Skripkin Cc: Greg Kroah-Hartman , Larry Finger , Phillip Potter , Michael Straube , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH 4/4] staging: r8188eu: always process urb status Message-ID: <20230123200444.wrix3bldpalxzcgz@viti.kaiser.cx> References: <20230110205626.183516-1-martin@kaiser.cx> <20230110205626.183516-5-martin@kaiser.cx> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170113 (1.7.2) Sender: Martin Kaiser Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Pavel, Thus wrote Pavel Skripkin (paskripkin@gmail.com): > Not sure if it matters but we still have that weird rule that after 5 failed > usb read/writes bSurpriseRemoved will be set to true > Maybe also worth removing above logic? thanks for making we aware of this retry counter. It does really look strange. Still, I'm not sure that I understand this well enough to submit a patch for removal. I'll play around with this as time permits... Best regards, Martin