Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp4503676rdh; Wed, 29 Nov 2023 03:26:33 -0800 (PST) X-Google-Smtp-Source: AGHT+IEIhtbxr6L/+4xAm6xPkwoi0Ah0P1rRA5+fY31q7H+AyLeZyFPBsJCFU+7W8yyWDOlh6Koe X-Received: by 2002:a05:690c:3145:b0:5d0:bd82:a87d with SMTP id fc5-20020a05690c314500b005d0bd82a87dmr8313562ywb.9.1701257192995; Wed, 29 Nov 2023 03:26:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701257192; cv=none; d=google.com; s=arc-20160816; b=CunI1RMdSkdGfN6fvQUuZIZhVWnOxwzUU3VmymvfF33kB42Wyg32XIX3SSNXvGueCw y36IAsE6pb7V76bpKi+sQpLPPiyO0y7Zo7tikmDeOf6XWNZiWBMg9MSvRInFNDPPHlGb 2w3AW+f7F5fgbwCF/YFoCvYhskCQe9B1wAJpSI9fp/sejEi8sm40HW/gMlNyBV9QY77N ao0wiLIc9cM5Ml4xuTI9OXRoEkQKJ84poc1HK4jJKKMPELLUXuaGN5T9zgz7CL2C8SFO B5z+munZhOli7liPAlGYHTwbA4b9DQzBIsGSoDHp0G7ObIO4e/NZSl9eSK1EOTu+yHa6 sU8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=date:message-id:user-agent:cc:to:references:in-reply-to:from :subject:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=7v9Turz8U/GP4Ipk1dQ2Q5GhQII7ws+b/QbxGTj2Fl8=; fh=029kuYAq1hc6mF1SMOQ2x0i7+BRmAYgL/pzlnEU+puQ=; b=HFZ1fEPvcpCm8ZnTqQafLjdU1Wes87QMsP5kcCymE//B5wYD6Cz1YTMZOSbMR95pJu HcI8ytjfXvRMeXm3lCq/X+ZXPZNxOFJCSbnxhMYue1hHH1OK6HgJsAdQ8F9kt1swgJui rqbkzvT2fPBllsAu8ohE9QwDJPN7xvWXnreIfazxgeYM0G2sLZ8Gex49w2w7bSZkNvWA VK/JjPoL8OemTzFGcJ9wGOWY0Oe8wcQ6U8VIJncUovWgFem2RzteLLqUjpRJOHINgNbj k4mlm6oJkCe8dHnx3RevhRQaaDPhT2rZ+GzwfUwT0LHJOCY2bW9xGAPshxvsZtkxvMRz kqFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=IX8gLQWy; spf=pass (google.com: domain of linux-wireless+bounces-212-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-212-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id 9-20020a0562140d6900b0067a5b2b8a12si3211262qvs.555.2023.11.29.03.26.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Nov 2023 03:26:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-212-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=IX8gLQWy; spf=pass (google.com: domain of linux-wireless+bounces-212-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-212-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id A8A111C20C2D for ; Wed, 29 Nov 2023 11:26:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id ECB331C2A3; Wed, 29 Nov 2023 11:26:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="IX8gLQWy" X-Original-To: linux-wireless@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 D1670156CD for ; Wed, 29 Nov 2023 11:26:29 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7A8A4C433C8; Wed, 29 Nov 2023 11:26:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701257189; bh=C2g/NoIOeJ82J2MCFOfvwn8dCdNu1Honw/rWebiTskM=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=IX8gLQWyt9mzZHtGiOkC0ikLxq4s02xI23hf1qNGl+1WpvXy7tuLeNA349EXa70rK nXO8pO7j/ugs7wrHNvOXAUvgMkTn7PNqF/46cZJVePcrVJAj5Kh/e8pC1fqavw1ujH ukpfqb3ysB0bcqvBY1W3mj1YfaOceGb+zoBXP2UKpynUFDM/aso30/oG7kepfCIob3 FdDABbCCmU2WnYMM6xYCFiaca5WWHPibY8V7HjLGNQcN8LrXB/rx89pEPaK0K0J3DT GP2PCFvvrIdao1K33XYZcVk2uDHepn9hMUQAceoowTPFGThYd4JuB35ZCD/Ov9/X/G RRDTKLzaXcVow== Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH v2] wifi: ath12k: fix the error handler of rfkill config From: Kalle Valo In-Reply-To: <20231111040107.18708-1-quic_periyasa@quicinc.com> References: <20231111040107.18708-1-quic_periyasa@quicinc.com> To: Karthikeyan Periyasamy Cc: , , Karthikeyan Periyasamy User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.11.2 Message-ID: <170125718623.1070846.8149698389070338560.kvalo@kernel.org> Date: Wed, 29 Nov 2023 11:26:28 +0000 (UTC) Karthikeyan Periyasamy wrote: > When the core rfkill config throws error, it should free the > allocated resources. Currently it is not freeing the core pdev > create resources. Avoid this issue by calling the core pdev > destroy in the error handler of core rfkill config. > > Found this issue in the code review and it is compile tested only. > > Fixes: 004ccbc0dd49 ("wifi: ath12k: add support for hardware rfkill for WCN7850") > Signed-off-by: Karthikeyan Periyasamy > Acked-by: Jeff Johnson > Signed-off-by: Kalle Valo Patch applied to ath-next branch of ath.git, thanks. 898d8b3e1414 wifi: ath12k: fix the error handler of rfkill config -- https://patchwork.kernel.org/project/linux-wireless/patch/20231111040107.18708-1-quic_periyasa@quicinc.com/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches