Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp2392020lqt; Mon, 22 Apr 2024 09:24:26 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVZqcZvLBS09C+IB+N6TI7RO0YKNa4ee2nc/gbpNgHG2x/dhujO2RuA2p2v5t5/KwemIF1m0+RzK223EyEOjOKH7FhGAl7Av0s/1WfRiQ== X-Google-Smtp-Source: AGHT+IGVmRJO3VZKX7MxwYwJpKsj0/avRzeqs1RncXPBTYb83/7uNLVndb8ES71GhBhmTdb3J2oV X-Received: by 2002:a05:620a:103a:b0:78d:6e6f:9006 with SMTP id a26-20020a05620a103a00b0078d6e6f9006mr12353525qkk.67.1713803066360; Mon, 22 Apr 2024 09:24:26 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713803066; cv=pass; d=google.com; s=arc-20160816; b=I3y89EJHOjShD1B9dSWcx/OhwRKq8pTK/MmvHbAAxQx53j0Dcx+g8kWKehI03rwvsZ ChlR+UgODzLVbUgwU9Tq48KAH5eS8RIyNZoS4qmre9X8CzrynNCTlZTOcM4hL4f68Iyr Iw+c15E8gdFm+qpn5NFUHpM3Jv61A+wHl1C5l+3q2vGEHVl7vjyUpMAKmSd2/vHpiExH wjwWmo/Kjne/aNh4AvWL/duEMqLq8hac/CgDT6PC8DpjInbl7Y3HX1M2sm7OgoNxkfgm Ld9pZLEjT4OxIdpEOLRFFYQMdBFbYjMiNWBg5EkCRMYXPrxhiCdecCvE2GCAjUitSnOS KATg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=o47mZLlbjZ8BBVjTLMZTKirpl7IfxMDSxPg8gdfsUBg=; fh=8VhzhIK9sLByqMgg+eUh2TMJwGwDjX/5peEIRi1B+W8=; b=Ysx6Ckrv/8xcpCNneDSRWboMurD/0ZnLRGfdp5q4Y0FqbEi9mLZ6NLJlkPSuluHx+p AtA6ljcLFYFH/wNfP1jkduqoL8tvu9Z5TzdBE4YtgkyrkK1WGJfL7ljfjj90lBoFNaXr Yhgg+Wj2c1aPSieM2Lok+okCEWfJz7hUcNQnp8aLUoOldOy0gRUnVj6D/7pfdi/D4e9F 9ati0p31R8aTQ1HJ8En0qNZyN3rO28ATlclxPp9kAzPa91xrLgSxUMNmWjx2Arm1qzLv df53kdFexqclLhwgMrmrChmYm5B/mgr+f4aVI2dVtOv/Gnh6dwrCg2IDc+p9IQNDYp5b RoqA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="QdfJ/DMg"; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-wireless+bounces-6676-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-6676-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id v7-20020a05620a0a8700b0078d61f1059esi10449554qkg.547.2024.04.22.09.24.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Apr 2024 09:24:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-6676-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=@quicinc.com header.s=qcppdkim1 header.b="QdfJ/DMg"; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-wireless+bounces-6676-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-6676-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 1B3771C20979 for ; Mon, 22 Apr 2024 16:24:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A975315359F; Mon, 22 Apr 2024 16:24:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="QdfJ/DMg" X-Original-To: linux-wireless@vger.kernel.org Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.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 690671E49E; Mon, 22 Apr 2024 16:24:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713803057; cv=none; b=qHRmGlN14IWny4m8CRFj3oIyxt9gDuyp8or0ib0VIqVgXqwIPt6u8t8a23uTLRpE2CnensplkxFwpYu+ZXonSw4xSRrRcdHMnTbI4N05EdPuxlr60LU6ZPyGWzQW4QX8luX5/2sM1YETbPaIhWTZkez79ZPVUhkmqNoOfGCywuw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713803057; c=relaxed/simple; bh=kk1vuHdQUapMNM1gmGRk1+FTKW5OjZWy4qpokeEYqNI=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=GHdaiThC38EiVNDkBihAuR0OCjL267Csbg853n2EJ+6ludxENPGSa6dxZ0zUFwnVlzF9MPDzLbgrl2LeSO9MQZtgLBfgUPpBGUN5C2U5y2RSzHQKARmJxx01vH5ixJSIC4c+r6wruuEwQ0LroogmTQZm6L+feF1+t/BorgqBByc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=QdfJ/DMg; arc=none smtp.client-ip=205.220.180.131 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 (m0279870.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 43MEFiH0003144; Mon, 22 Apr 2024 16:24:00 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= message-id:date:mime-version:subject:to:cc:references:from :in-reply-to:content-type:content-transfer-encoding; s= qcppdkim1; bh=o47mZLlbjZ8BBVjTLMZTKirpl7IfxMDSxPg8gdfsUBg=; b=Qd fJ/DMgF1vS/8dT5Ux56kxuVWFO84nRCl+cHgO+bjd/ol555UR7K8CYJPpe0h99nf VvUg2XcJ4ZpdCdfIwL9WWNhi8kf7cgPtE3PWQngEMZ0Sxq8x+YECcG7IUO5NgrcF KatFZvj96TmPrKx5JB4zQNCkLXMiGTBuwOQyxhgDU8CHxSXJoxk8Ru40EN3Ls4hR bjcpM6iQ/xnz+q+RZ3D62GTY5MZAXEPMJGqfoZYXM/4D6e/y6Ao8o0vjYkrZ1nRd 8N1px5e1zK05QSdz9ZhqqCPy0Bjow62xorOmRwpUCIqIU7NgbeG3+7dL/SzXUIoa T6WPLxu8yiQMkyMaHMWg== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3xm5sx4xv0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 22 Apr 2024 16:24:00 +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 43MGNxup010478 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 22 Apr 2024 16:23:59 GMT Received: from [10.227.110.203] (10.80.80.8) 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.1544.9; Mon, 22 Apr 2024 09:23:58 -0700 Message-ID: <5a2bf374-0def-4c41-8260-20fd7428bad6@quicinc.com> Date: Mon, 22 Apr 2024 09:23:58 -0700 Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH wireless v2] wifi: ath10k: Fix an error code problem in ath10k_dbg_sta_write_peer_debug_trigger() Content-Language: en-US To: Su Hui , , , , , , CC: , , , , , References: <20240422034243.938962-1-suhui@nfschina.com> From: Jeff Johnson In-Reply-To: <20240422034243.938962-1-suhui@nfschina.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) 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: dvO7Ruw17PXOuEqElGCj4QLG1BCbc9n0 X-Proofpoint-GUID: dvO7Ruw17PXOuEqElGCj4QLG1BCbc9n0 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-04-22_09,2024-04-22_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 impostorscore=0 phishscore=0 clxscore=1015 suspectscore=0 malwarescore=0 spamscore=0 bulkscore=0 mlxscore=0 lowpriorityscore=0 adultscore=0 mlxlogscore=754 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2404010003 definitions=main-2404220069 On 4/21/2024 8:42 PM, Su Hui wrote: > Clang Static Checker (scan-build) Warning: > drivers/net/wireless/ath/ath10k/debugfs_sta.c:line 429, column 3 > Value stored to 'ret' is never read. > > Return 'ret' rather than 'count' when 'ret' stores an error code. > By the way, remove some useless code. > > Fixes: ee8b08a1be82 ("ath10k: add debugfs support to get per peer tids log via tracing") > Signed-off-by: Su Hui (try that again) Acked-by: Jeff Johnson