Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp4669016rdh; Wed, 29 Nov 2023 07:34:35 -0800 (PST) X-Google-Smtp-Source: AGHT+IEagqbGnPX6Oe9tPQa39n/vH9erYYH2/4BCr/gdIh2ar/O991ga+DgzcmKoFmA1k/E8Q58Q X-Received: by 2002:a05:6808:13c6:b0:3b8:927f:6a3f with SMTP id d6-20020a05680813c600b003b8927f6a3fmr4251617oiw.7.1701272075397; Wed, 29 Nov 2023 07:34:35 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1701272075; cv=pass; d=google.com; s=arc-20160816; b=H6OLM2LA4z9xxxpW8QNWMb0YFQrP9h2Q1jRcrW4F7wfLmPRHXGhHAc735v8L6TxWrV a2CErymvspDmpu5VNgnRW5hSD9eKqXoWXHfLmPLtQ6jn1IzySREwSwIIG1BV1c5hd0Dl Dk+PR5kIqdI3Nz4XSLfn8Cm0FuKbVO2bsw5kIpdSLMb+W+Y+cHz5B7PzQ3vaEtcGgGug wNQWrlWKhS/HZ1hCvMhj7ecU88x+aRkQK32aj//VhaBjqxnr9VIqOhkZKmBeD1pmVsQs 29VTgN898ZAFwGXJPil3IN/TmxEgs8/NkWpk9Ihwj3CTbhY/1DHdIzrueaS/5GAUT2OY uz1g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :in-reply-to:from:references:to:content-language:subject:user-agent :date:message-id:dkim-signature; bh=AkBx3d+u+3dMzncLEMOm/rFUGOv1bnHg4tZCu1LQC98=; fh=GFs4cgfsN7N59EsU/PRYabbVclnEkjJAS0jjbnG0ysE=; b=mhl0sxIMqidCh+ktCfhR43BQXsoJCt8vy9ByZf+wlt4Hb5kOIdLC3sddjHeLvxWs2d W5X44J6fgPfqTYikfEpF2Dh7+wNlTOMEPH/dOh0T9d1KMec6VRLj/w/HNrFOMZHz9+Wk i1ChXtjSN0xKeJb2yHQuMKSQtTa9u548LpYQdGSQgFcCOceDcpio3MSE7FwhXu1JBuGj G4DuIczRgfkpiQvz6hasbfL/8aNVhsdzIVD0O4MHR/G+9mhnBecvsfBByn1k3K1RE9pB U4T01HxhDcwfZpRHHWB9h9IDcWSLsOQp789l7nwEDJsyCLg5+etAx0HLwz3r+ThXRv55 CN5w== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@suse.com header.s=selector1 header.b=MRbAGApy; arc=pass (i=1 spf=pass spfdomain=suse.com dkim=pass dkdomain=suse.com dmarc=pass fromdomain=suse.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id ck9-20020a056a02090900b005be2508cde6si13777428pgb.593.2023.11.29.07.34.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Nov 2023 07:34:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.com header.s=selector1 header.b=MRbAGApy; arc=pass (i=1 spf=pass spfdomain=suse.com dkim=pass dkdomain=suse.com dmarc=pass fromdomain=suse.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 8BE2B81EE530; Wed, 29 Nov 2023 07:34:15 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343532AbjK2Pd6 (ORCPT + 99 others); Wed, 29 Nov 2023 10:33:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54908 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234865AbjK2Pd5 (ORCPT ); Wed, 29 Nov 2023 10:33:57 -0500 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2087.outbound.protection.outlook.com [40.107.21.87]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8C6A2D44; Wed, 29 Nov 2023 07:34:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Xpg3dUGGcy+BKya9K7FHhtobx8QF5dVzZpo0qT3M/ASMjYjzqywKPh0iAEVjqxW2iA3U7VZxlqJeSvMQWYf1O+DQr4ZFbVtwJtb3Cuw8x/vLajDFEDi49qFGcCg3KmH5fzfZShoGlWt0zvkz9TOFZWfDK2OXc7vCX2anXtmXt5eo4+i+8W4XRdXohDtO5l9YtNS1UHSYIkySjbRKYPT8ID5aa43uEZmvYaTaHj3ot8WBQAdBWNE3ia9Bs1Q9OueR3bOLU8qwra5cXDcicAdZqhs/EEZFvG4pbp4ffR6JQ8gpsSlDNTa3Lrk6hiq3ACOCgzdUZ9Hm1y0SGAOGKh9W2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=AkBx3d+u+3dMzncLEMOm/rFUGOv1bnHg4tZCu1LQC98=; b=KOqhiJQWVVn5nLjMsWQDlsETyItMkxofZFrsh804zr8g4e/yERKDoddZJI8e/SZ9WWT1LWMJIwm79HqCVOBjzg3KPPmRqz1EAiAow1B5ovCIng/JG4pTj5yPyjDCQWPvAFb6elVwgCBs6DV4RbElu2LcJqiJxCXQwExh93w86i0SfBZf3ArLZI+vUTcPCahoNkPDN3/jMXS4M3Z/fosxZEGMuAsyKg53ghseMMj/UaiUjNJasTjBp5DEgEgWNy2DjYhCX7FBixK92NGTOyZH0v0ZdVaW0DgkLORwTDXCEQe1/149z8uSrIsbhkwaqbfity/E6u9Sum0wlHZYq8QVuQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=AkBx3d+u+3dMzncLEMOm/rFUGOv1bnHg4tZCu1LQC98=; b=MRbAGApywmBvhwXYAubiwzOO1qwNUYf7y72P9pZr14W+Xj13dhxBaYf3kK31sOl0IJ3dVkXPpMskWESvDwvM6St2hGOFFkmAdxmg4/EQGNs7pYEYNTXW+I1dp5P7iajHG6lL0z7v61w6U5XFUqW73nnQIkv5wIkuXLDF6wU+znNtUc58WbhDKPk8HuX+fireodhXbP7tmvd64R6le6VPtVzGXB06Q8JUnltiroMRqA/fjwgaVTV4ge7SnsWPoZIQmixj7EO2y9ibXNcxjQidqumfa1dd5aLdwVzbRT6S6uRqlJ+xJKH4lxS0QsyKhzjp8HKJdctIEslS0BofiYpuxA== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com; Received: from AM0PR04MB6467.eurprd04.prod.outlook.com (2603:10a6:208:16c::20) by AS8PR04MB8787.eurprd04.prod.outlook.com (2603:10a6:20b:42e::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7046.22; Wed, 29 Nov 2023 15:34:01 +0000 Received: from AM0PR04MB6467.eurprd04.prod.outlook.com ([fe80::5c46:ada1:fcf3:68e6]) by AM0PR04MB6467.eurprd04.prod.outlook.com ([fe80::5c46:ada1:fcf3:68e6%7]) with mapi id 15.20.7046.023; Wed, 29 Nov 2023 15:34:00 +0000 Message-ID: Date: Wed, 29 Nov 2023 16:33:58 +0100 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] net: usb: ax88179_178a: avoid failed operations when device is disconnected Content-Language: en-US To: Jose Ignacio Tornos Martinez , davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, linux-usb@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org References: <20231129151618.455618-1-jtornosm@redhat.com> From: Oliver Neukum In-Reply-To: <20231129151618.455618-1-jtornosm@redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: FR4P281CA0004.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:c8::16) To AM0PR04MB6467.eurprd04.prod.outlook.com (2603:10a6:208:16c::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM0PR04MB6467:EE_|AS8PR04MB8787:EE_ X-MS-Office365-Filtering-Correlation-Id: ac9434e1-9a83-48ea-1118-08dbf0f09c2a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 6CPf+PNFZezVTGWAV9zKwpcNIU7Pdztx9cGWgYkiM1aWY6nI2VHrXLHBSypIN0WLibb2Xk3Mv67W4ve+fB+ElNf2tTl78MrptCnlaYP1k81N4LQyQDA4PPKWe5hq+/WCN7vjkDSxfhuYLRXluF8osxTKO6hVRchlRi+5YKVTwqiokYe78TTVgQF/Ws6DqL7/HzGjhZ+9+NilKz8ehw0tu02gyLgX5Ksli/jNxaJ/kJn28hfBoloE2y7qgEU7IvsRiJBWDdDP4l+pje50VYVEExzl8FW5LMvZi5rGQ0nBCitfegAoXpPrqdnqxX/jKgZ/M9uwWVKgWZoaCtL1xmdtZYX8N39yA3BY0SbrUKuYiGVIyHJuNDvWe1X1ogd+gvd+AzpJo9DTKhWZGZXtLg7V3Aqq+mn8QFIktMyMh169ZLn8J8QxtjcwTKUpHRrBZCZPG2MapJFxEAM4Q1gtTM0+SrF6a8YF7r7EmbLcZ+j+CGprebpgmzfs9XYuh2vIAioHm0m66WvR72yXXMEMx5w+fKLfQaM5qWEt4fojkiWqLqmDEUDs6uRIXmragYNnCXtfiS8BoxDf5hNQZDrSj+GcubKoFzUFsus8l2KA+ReJGt9Yj2UCxX6D+F9K62w1qwvG1MLKTsnW7VD2P9cfhqOGCQ== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM0PR04MB6467.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(136003)(366004)(346002)(376002)(396003)(39860400002)(230922051799003)(1800799012)(186009)(64100799003)(451199024)(2616005)(53546011)(478600001)(83380400001)(6512007)(6506007)(5660300002)(4744005)(2906002)(6486002)(8676002)(66556008)(66476007)(66946007)(8936002)(316002)(41300700001)(36756003)(31696002)(86362001)(38100700002)(31686004)(43740500002)(45980500001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?U1BPbFdPRm1IMWxPZ1JqODZHeWtIMEhMQnZsYTJGWWk4Zmx1NGhBU3pzdU9G?= =?utf-8?B?aEtiMkQya3ZpRDhYMVFOaWpzR0hhY1R5TXQ2eTFpUHRQRlE4SnZ6cXhqOWNu?= =?utf-8?B?TVMrT3Z1dnpzSFpROUFUSmVjMFV0NHh0TkVyZ2lkWWFRSzgzZ2d4UVE3bzRp?= =?utf-8?B?U002M3ZucFF0OEQ3N2V6amtxWGJEdjB3dlVUdkM3N1B2eWdEZTNES1loczE0?= =?utf-8?B?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92VXQ0MmRO?= =?utf-8?B?T1lGZmlzUUV2eUVycmVVSVpob3lmM3EzNFovT0RTWWtkNW5vRWd0OXF1UDNh?= =?utf-8?B?RlFBL3VXZk5GZHY2ODF1OTU1ZVo1WUxwZG8xS2JhTXl0SjRhMWF6MVBabmx6?= =?utf-8?Q?dmL5sG08vmBu8D2Jpd1/zrup5XNx9RXwGBXUgUVDEkpF?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: ac9434e1-9a83-48ea-1118-08dbf0f09c2a X-MS-Exchange-CrossTenant-AuthSource: AM0PR04MB6467.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Nov 2023 15:34:00.7840 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: f7a17af6-1c5c-4a36-aa8b-f5be247aa4ba X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: w9PjbO1ZkqGkamvRw/VMsqtjvHbDXkQOBPVMteD62YQ8CjCAnbfbdJp/87t02L0H46g2tGiqph+4QICLnzZjbA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8787 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Wed, 29 Nov 2023 07:34:15 -0800 (PST) On 29.11.23 16:16, Jose Ignacio Tornos Martinez wrote: Hi, > The reason is that although the device is detached, normal stop and > unbind operations are commanded. Avoid these unnecessary operations > when the device is detached (state is USB_STATE_NOTATTACHED) so as > not to get the error messages. I am sorry, but this is a layering violation. You are looking at an internal state of the USB layer to surpress logging -ENODEV. If you think these messages should go away, filter for ENODEV where they are generated. Regards Oliver