Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1022209rwd; Thu, 1 Jun 2023 09:25:07 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7MfmU2AdXiEfxvVIK2bN4+mkxFh0tC6nvuoYoXKK/lsMVeHNYlf1tTSSz+03rbNTZb0VT9 X-Received: by 2002:a17:902:e891:b0:1b0:42fb:19e6 with SMTP id w17-20020a170902e89100b001b042fb19e6mr2869757plg.6.1685636706724; Thu, 01 Jun 2023 09:25:06 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1685636706; cv=pass; d=google.com; s=arc-20160816; b=bhZ2o3E0LkgcZCv0RDwaW1I9qD+hJBMHg3mRojt5wC3A3V/NvkIfVY62lVbF6pHN9n hVq42MpTj9fDMWOn4xO3LMnFfYqEVDpGzSee8qprVNCIas+3XmVeswkk1YA8B71cySLe 9LY4XvphWXDByBh3Dy9qsHowLrCmC140tvV/tv8B/ooVqbzAv6PAqpbPGSM94dZKdbuo WRBa3xApUYz7SPzXr6NMJMWa1um3xpECBKqtcBIBQN1nQbbukotZ/mPg0VUGKqw1Y8HG ipTRfBkvqc5jj4J+4gjFQBrTruhQmXxYLla6fkSMZUey+aOc4dVpAlHbK4GZtqtyw2dr fYxA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:in-reply-to :content-transfer-encoding:content-disposition:references:message-id :subject:cc:to:from:date:dkim-signature; bh=pcG07Nj/QJPC3HWZ5DTQPmYRG7hShFXnDLxhe5Y/tcY=; b=ewDaPVPZQkINE599XHEPMKrQ3rOmLaL6Zu5KFfdmYR4MpUEabU6Z3ybdxsQMPwOiwB VASrCEnIaarrfv3sEvhSc/0bo66RvlKDB4K29NZtrl90TWzYLNaCK3EJ/GfXz33cC7nv IwgvxWfA5zKa1KUVvN0BLWos4XCF+BObhvdzJfk8TNVG+vdT6EEMjTsB/CErBftEiqvK tGZOd1r14RBgWMS32V9AcorQoHYJWTRHYViICR5CJB052IqQRRNoniELZT+qmmON9K/p uCH86W1emijhC/eu+nvKpZbQ3O2pq3u6YXKEcxlDbLrC1jcRf4+70HuwfpkLpij/VlNH JDcw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@corigine.onmicrosoft.com header.s=selector2-corigine-onmicrosoft-com header.b=k2fUUnpg; arc=pass (i=1 spf=pass spfdomain=corigine.com dkim=pass dkdomain=corigine.com dmarc=pass fromdomain=corigine.com); spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=corigine.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q13-20020a170902bd8d00b001ae0691dff4si1059528pls.630.2023.06.01.09.24.57; Thu, 01 Jun 2023 09:25:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@corigine.onmicrosoft.com header.s=selector2-corigine-onmicrosoft-com header.b=k2fUUnpg; arc=pass (i=1 spf=pass spfdomain=corigine.com dkim=pass dkdomain=corigine.com dmarc=pass fromdomain=corigine.com); spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=corigine.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230525AbjFAQRZ (ORCPT + 64 others); Thu, 1 Jun 2023 12:17:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40694 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230491AbjFAQRW (ORCPT ); Thu, 1 Jun 2023 12:17:22 -0400 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2105.outbound.protection.outlook.com [40.107.243.105]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8C5AEE54; Thu, 1 Jun 2023 09:17:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bHJqoChFk6N8dLI5kBR1tBZawUR7j+Al74ZiJCmBLuynjsA9mcH037WAL4Xy0uEJRWX91Hwo4xV97LTiAbFAby5kesIpnKZ0YM3nR4R39Z5NYzWfCbxJ2oM60d9s7V14NuuUQbW4xE8y3oRrSF11hB+GyEWr7kvU8JjdQQP6Z3ANepR/Ueo5RtXa02vR2N8bTfZ6T0WAdo8mCsNJYRbOaUkJjD8R5p9+WtWXJDTz/j2+pPlTEIkbkG7Lr1Km66ok4P6YxAamz8dvHAo55t5cmiyVlainojZXmuJHmSElWZpInn+4H08SjJbHpPy40/db0/04YduZClSptfLJK+nJVg== 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=pcG07Nj/QJPC3HWZ5DTQPmYRG7hShFXnDLxhe5Y/tcY=; b=l+X0lZabctUeqKSP6zHu6GnTxrFHFPvw6Dhq8yrkCQftE7COIF39I62z8jMOxip8cGaWtOYpQswRk5fKQNgANJfFWiuBNy50uP3eqkhABpeLf37DhKyoh1B59n9vptSqok4RGBBL1iKhwJMKk1Rf4gTYaATgSkaomvy9wqIq9gdNoKrrimQvldIFujTxLjCtts+Oduu8lS/Ht4/lKtqhVkp/KomrNrw0EJM+/logaF87l8z87iyLDFxX42iuxi0SgmRhZ5vR9OFoAJhP0N0e7XJTlu38tCj2RljQBcajLpFZClx0I78LzomuZjCAQ0tp4Omyila4AuDecJYnIVGXVA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=corigine.com; dmarc=pass action=none header.from=corigine.com; dkim=pass header.d=corigine.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=corigine.onmicrosoft.com; s=selector2-corigine-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=pcG07Nj/QJPC3HWZ5DTQPmYRG7hShFXnDLxhe5Y/tcY=; b=k2fUUnpglMQBVPDkS31P5MgIqsQ2F4Ugq1h5YB5uanUr++JCFcZ6Z2KDi7RO9Bkdcb+kg/UMPnJ+4sBvmv3r1ubtPWdBFcZaYYvv0uYDVXVn2t4Rq6r4iQNahqHXHtR/ryHQBEq0l/Dwc/ujrjb7NFjNweRR13YCrhrkbzXlqQk= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=corigine.com; Received: from PH0PR13MB4842.namprd13.prod.outlook.com (2603:10b6:510:78::6) by CO3PR13MB5783.namprd13.prod.outlook.com (2603:10b6:303:166::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6433.23; Thu, 1 Jun 2023 16:17:07 +0000 Received: from PH0PR13MB4842.namprd13.prod.outlook.com ([fe80::5e55:9a39:751f:55f6]) by PH0PR13MB4842.namprd13.prod.outlook.com ([fe80::5e55:9a39:751f:55f6%3]) with mapi id 15.20.6433.024; Thu, 1 Jun 2023 16:17:07 +0000 Date: Thu, 1 Jun 2023 18:16:58 +0200 From: Simon Horman To: Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= Cc: Kalle Valo , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , ath10k@lists.infradead.org, linux-wireless@vger.kernel.org, netdev@vger.kernel.org, kernel@pengutronix.de Subject: Re: [PATCH net-next 1/4] ath10k: Drop cleaning of driver data from probe error path and remove Message-ID: References: <20230601082556.2738446-1-u.kleine-koenig@pengutronix.de> <20230601082556.2738446-2-u.kleine-koenig@pengutronix.de> Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230601082556.2738446-2-u.kleine-koenig@pengutronix.de> X-ClientProxiedBy: AS4P190CA0056.EURP190.PROD.OUTLOOK.COM (2603:10a6:20b:656::27) To PH0PR13MB4842.namprd13.prod.outlook.com (2603:10b6:510:78::6) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PH0PR13MB4842:EE_|CO3PR13MB5783:EE_ X-MS-Office365-Filtering-Correlation-Id: 9eacac8a-f8ca-440e-05d0-08db62bba4fd X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 6bgP8YtzoLcNxlVMub97Dnb4GC2EjwZprrrQ1c5MzxORQIVnZY4yRoU2b7cCKvzm3N5hqrrDVq4J8ssMdW8UOD4rfM4OTmM4fcweYv8t216jXaLGF9unQKJDA+NlQBND0RdrJb53vQdEegAtDhBdTLFy/BWgKaiynNRLyiY390M3hK7dhpICpkDdDy8nV9DEWZ2Xk+kQQT0ta716xddFhrkpZGNtvBkYKL4SGIW0hqrxBi93/kNmtdmbgJUtHSIeeZFO+XVoHg9vtYhe84L6T3dhkQvwtTTSW5Thrf8aHAfQQX9hNAwAN/54o6kHRo1ibHcLAzol9WEvQN9FDqgEGmPgooaTLSfd20WNWhLmnC/SkaiaZJCgt2q9Sc+bgG+bWclgbEcuZOoKFZlh/xkX/EXBa/acBJxt1mtMwnaLwn2ljxw+2SQACJhGBhdRCdfhEE7b7raH2R3nb8B76pykvetgMrELtMRdbPVOUsgTVXQPgdaRVcZ1QWCNV7cYSFg9bUKtc9d90wUsdz3RhUlvo5QjCdP45NqcTvhBUWZQQxNgTDCrXLie8VIgIjEVzR6E X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PH0PR13MB4842.namprd13.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(376002)(346002)(366004)(396003)(136003)(39840400004)(451199021)(7416002)(4744005)(44832011)(186003)(2906002)(2616005)(6512007)(6506007)(5660300002)(478600001)(54906003)(8936002)(8676002)(26005)(38100700002)(4326008)(86362001)(41300700001)(6486002)(316002)(66556008)(6666004)(36756003)(66946007)(66476007)(6916009);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?b2JZRE15L29QZlhsOGRtS3BKbzdodEYrNVRqMzU3QzRsYU43QUFiWXQzeWhZ?= =?utf-8?B?TFRWMjVxM2lMZUlrZ1RzdE10eWJ1M0RhZlhZQzM5bGFoZ2tYNHdndEVVVVdz?= =?utf-8?B?MXRWRUVWSTdXQ3RoeVpaUWZ0QlNjbzFRb1VXVWhkTXMwaWVBSkwvYm1GRC92?= =?utf-8?B?cjZ4QnAzR0pNT2VtMmFkZ0xIVTR0azJtbVJGdWRLM1NQT1kvYnVoSEFFU2ZB?= =?utf-8?B?R1VpcWZuVzdzN2xoVUVRMTFkMkFoRTZRTVRNSG9uUUFKZ2tYQTZGMjhNMmxv?= =?utf-8?B?N1l0akxNd1U3NDJOWDAxKzZTcWhnSGRkVEVRQ2JkbkU0WlV2ZzdyaFNRQWda?= =?utf-8?B?dlBDeFBLWmN5N20wbGtlczdYNmplQUFyRUhRbUw2b01wSm8rTTNxUFV0SlRT?= =?utf-8?B?UlFQbCtIMHV1NlF1U0JlWC9IVkxMaFZRWGhBY0cvV3ZjNmZ2UW5nUU50eFd5?= =?utf-8?B?V2YwSmUyNUZpVE4vSjBKRWg5QTBxSlBkZFZqVDUwY0JaZkZ3dDFoc0lmRE42?= =?utf-8?B?RENUc0swSnNRdm55akxkMkVycllrUlVFeFBqOHR3UHhvNnpwNk94dkwrU0tU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Y3pM?= =?utf-8?B?d0VQTXpFUHdxK05SNUJDdEFKRE5QWWFCQ21qcTZHd25iRUlQSzE1ZW02RjF4?= =?utf-8?B?MzVPUHJNOERPV0ZJNm1lTU4zbkNXSjZPRmh5NTQ1UFA3V2szWlAxd2ozS0hq?= =?utf-8?B?OHp5c1NYTEUrZk5ROHVMdlE3ZGVyeWhXOXlpWkhHbVFKRHJoS2phVzM5bmVw?= =?utf-8?B?aW9ZS1Y5Z2VMZGpxSFVTZ3ZVR2lXZnI4UFQzMnBqTWNScXJ5T3c4MDBGaUd4?= =?utf-8?B?cFBPbVZFUm9kaEZSZWtxWDRQK0FiUjZrakhaaTdUam1YV0VsOTlUQk0vaisv?= =?utf-8?B?bEpwRzFvY3hwSnB3QjJoTzNpdjFEMHBJWFh5RldIS3VzdGpZeG1sK3o0Q3cv?= =?utf-8?B?MlBKWDBzVEZ3Nno0SXF0dFNvd3hnQnV1VE5BWWdLMG1tUTdWYnhma0ZSdnU1?= =?utf-8?B?NEV0QXJCT2N2cnhoSEwydEMrK0dUcHlxdmt2QlVJMW5CZTZPaTE4SlJLb2Ev?= =?utf-8?B?TFJqRnNyMU8zdytKaVAyOHFDWnJlMmtBOGFJWVdHUERLR2JmTnBVMkVyMUtM?= =?utf-8?B?dG9JelAvekJxNjdNT3pyMkhWWlNuY01ILzVPTkJoMEZqcHpMOVBTVUZmTkVj?= =?utf-8?B?NzIya0xiT0ZER2JCUTFMTlFieHlqeTI5dWdvZzliQTlJcFA5a3dWd2F1RnIz?= =?utf-8?B?TEE9PQ==?= X-OriginatorOrg: corigine.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9eacac8a-f8ca-440e-05d0-08db62bba4fd X-MS-Exchange-CrossTenant-AuthSource: PH0PR13MB4842.namprd13.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Jun 2023 16:17:07.0777 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: fe128f2c-073b-4c20-818e-7246a585940c X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: b5sUq3I2IY0W/fEK1O6oY/70q5bRLngFcJ+FduE5a+fX6Fi+U5/8z0sFZR/FW+mSW3eiIdBEzz7t+EPCJ270Zt9aju/fJZMCPhCOGoT4yTU= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO3PR13MB5783 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Thu, Jun 01, 2023 at 10:25:53AM +0200, Uwe Kleine-König wrote: > The driver core cares for resetting driver data if probe fails and after > remove. So drop the explicit and duplicate cleanup in the driver's > functions. > > Signed-off-by: Uwe Kleine-König Reviewed-by: Simon Horman