Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp1820416rdd; Thu, 11 Jan 2024 10:06:19 -0800 (PST) X-Google-Smtp-Source: AGHT+IH27wYlGxICGG3F+FI9caUZwwFJyJOhOv+/skLIkw02D5X0KzFxCvapsy+oC73X9z8FC2Ad X-Received: by 2002:a17:902:a3c7:b0:1d0:6ffe:1ea7 with SMTP id q7-20020a170902a3c700b001d06ffe1ea7mr109543plb.138.1704996379497; Thu, 11 Jan 2024 10:06:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704996379; cv=none; d=google.com; s=arc-20160816; b=YJIt4DDAVPPSm02jpceDTaN8OErS2d47L+XXMXSXfAgFN07/gvJPUowt+xlU0SofF5 JnQSQTX/+4EfiNknN36402asNh4DtXlQ29K7M9oZSzOcX1MRT9liMUbYdIFywBmPnPJa YlfpI+ScFjA++9wdFwJNIFZUd6MBY2N9FHAtMHzFFEB2gHB5modsWCUDmtGGI6k0IZ+f NVD5Nu712NITHGZY2u+PXwf8+txPalQ12UIXKOrJkaj8Lz0T7k7CVRf0vHBg5zeyc5AR licNQOSzcOU07gwfTFUX1sAdNSlruAqV7FV2hu3NMUYkgO2DagNX1bhzLhEUZkkHQFMv RBCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:from :dkim-signature; bh=M5IsFLVWoaIOBfbWdK4konAtXheWq+0SyN45h3LMVcg=; fh=zk45RCUja+fG2qErTrzKZbReie8ti2xK63kQZtZdEuk=; b=UiyyD//DuhWz9y4L1riIL8bdXER7uSfcJ0ipKf0B0FeOyWFOlC6Bgmz4tbd6wHCpOD p2vjtvGWJKTXMC17HmERB/36db+Xoz6AafuVlEiIBW4edbDXwScLCtlZkgPGoZTxV2/A MZtZJva3PJ2g9FqIfBz7lUkoMZrEYKJH2dBnpx/IRcBNyNFuUx9tBJqAkelWeKAzJ199 vh8dgAulilFlrmsJr31XMhNZtFG8qFWIpLt8Dgw3qJbNwHD5YlfKMZwZUjYicEsMOP3P zkR4k2PySRzRTsJWY7siiUwl6hyhbUt88ale4Oa/X3p5gpMuVD0KVnPPqhpwpdTbxzSf m2+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=fLoQ5pKt; spf=pass (google.com: domain of linux-wireless+bounces-1748-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-1748-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id p6-20020a1709026b8600b001d09278b856si1464544plk.347.2024.01.11.10.06.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jan 2024 10:06:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-1748-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=fLoQ5pKt; spf=pass (google.com: domain of linux-wireless+bounces-1748-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-1748-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 8993328780D for ; Thu, 11 Jan 2024 18:06:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D575454BC1; Thu, 11 Jan 2024 18:05:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="fLoQ5pKt" X-Original-To: linux-wireless@vger.kernel.org Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (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 8FB7E537F3; Thu, 11 Jan 2024 18:05:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 40BDBViZ029340; Thu, 11 Jan 2024 18:05:43 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= from:subject:date:message-id:mime-version:content-type :content-transfer-encoding:to:cc; s=qcppdkim1; bh=M5IsFLVWoaIOBf bWdK4konAtXheWq+0SyN45h3LMVcg=; b=fLoQ5pKtlBUZKib6qJ+A6DBzvj0Se/ LWyiBz5+OHceNhzCXx4okXSEWtKJJ0rb7zTOf+2AyrVJvJG3AmaE6D51hiM4BOv2 VIHwhrTbw2VIFt4KlA+uLzhKdqC8tOW2uf1QpVdQDAHCAv0FgOXtl91f25HBZh2a wAwrlhIDL74qtL83rc2OAQboPqCwZMiowweqT020wJfshY8lnfHKUAg9XAKiStlK eFDhhUcH19KIjY41ZuoXPsdryyg5CDjZorkK2OUcykEIQpIjXh/0ImJ/hBwqbbn5 DWegDMGtmewmL29PT0La7vKGTSICBj5h5ZF05z/2okdNIBw73RkbdhGw== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3vj6c8j64j-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 11 Jan 2024 18:05:42 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 40BI5gOR003813 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 11 Jan 2024 18:05:42 GMT Received: from [169.254.0.1] (10.49.16.6) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Thu, 11 Jan 2024 10:05:41 -0800 From: Jeff Johnson Subject: [PATCH v2 0/3] wifi: ath12k: Cleanup QMI messaging functions Date: Thu, 11 Jan 2024 10:05:29 -0800 Message-ID: <20240111-qmi-cleanup-v2-0-53343af953d5@quicinc.com> Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAOktoGUC/22M0Q6CIBRAf8XxHO1CgthT/9F8UIS8W6JCuprj3 0PXS6vHc7ZzVhKMRxPIOVuJNwsGHFwCfsiI7mp3MxTbxIQDz4GBoFOPVN9N7eaRAgArdZtbxRl JxeiNxed+u1aJOwyPwb/2+cI2+/+zMArUFo1SbSNAwukyzajR6aMe+m38qcrfSkLRMFBCCSm/q irG+AaDG/8S3gAAAA== To: Kalle Valo , Jeff Johnson CC: , , X-Mailer: b4 0.12.3 X-ClientProxiedBy: nalasex01a.na.qualcomm.com (10.47.209.196) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: CAmqVnNDzDkrVCYTJsOsl46omAaFBruC X-Proofpoint-GUID: CAmqVnNDzDkrVCYTJsOsl46omAaFBruC X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-12-09_02,2023-12-07_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 mlxscore=0 clxscore=1015 mlxlogscore=269 adultscore=0 malwarescore=0 lowpriorityscore=0 bulkscore=0 spamscore=0 suspectscore=0 priorityscore=1501 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2311290000 definitions=main-2401110142 Correct some issues in the QMI messaging functions found during code review. --- Changes in v2: - Fixed rookie mistake -- added S-O-B to all patches - Link to v1: https://lore.kernel.org/r/20240109-qmi-cleanup-v1-0-607b10858566@quicinc.com --- Jeff Johnson (3): wifi: ath12k: Remove unnecessary struct qmi_txn initializers wifi: ath12k: Add missing qmi_txn_cancel() calls wifi: ath12k: Use initializers for QMI message buffers drivers/net/wireless/ath/ath12k/qmi.c | 63 +++++++++++++++-------------------- 1 file changed, 26 insertions(+), 37 deletions(-) --- base-commit: e7ab40b733094dfc50dad58bbce81f544af1d8cc change-id: 20240105-qmi-cleanup-00019cd4f821