Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp2394526lqt; Mon, 22 Apr 2024 09:28:34 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWDmfObvdSrgmPg4JSlyBiWQcI4sBNH206YkWLa/2RD9/0H7OHw3ERU7qyZBKd9DX1GzLcz0D9yIJx8l+ewTz/mqVgKAwBoUynd58bS+A== X-Google-Smtp-Source: AGHT+IEVxRI2IDo9Fy/DkjBAesNGjPwL+qzxyfYvVPZH5IJ6mcyPUkSdE2d2RmZR/eR+kqeGpb7E X-Received: by 2002:a05:6871:822:b0:239:ca50:9790 with SMTP id q34-20020a056871082200b00239ca509790mr8902479oap.47.1713803314112; Mon, 22 Apr 2024 09:28:34 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713803314; cv=pass; d=google.com; s=arc-20160816; b=zniFv66kr+aqF0RLRiQTdbP6/XGidFpfA7uhtNjLSMHO9YnWw6ccb1k4LQHACZpmoZ nIddEyX/Z48HLU8X4LG+4goS4i/p7uFar++mhB+RUlasWwzPkyQcBUJrfhqhDnhMrD3P aukOnoxdFxbu+M32kjYoYCjwdjpE8hvW0BxbCo9dZM7PCGR0jSfNk+vpTTTnYD3hbck4 AZO1eJq8FHFn8teYdBW5JLGXqtfvRFUQ9/rDezvrro5G3EsuBNBclrpUPOZthGFNaSNs NqCZESwNMCzD7iqYzUl3chdCCNCtX8hUFddH988IbQ1mcZTqwcfEDtetfl6E9CDm2IjF Me0w== 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=BeB6ld/0x9MpnPNJNCXzKwtz17XBbhkY2cn9Yw1AGC8=; fh=8VhzhIK9sLByqMgg+eUh2TMJwGwDjX/5peEIRi1B+W8=; b=l6IBocPYc0y2FDeNYcKnxHaPoErsMFFUdIlWbFakt0pIDFxYEGM6lZfpIVCRIf5+Ap 8JsrOuqmzF83ZuKIR06ZSOX2ib/CEiTfKYbYaULDoOmtNkFf3iNGgE4fefgszIM7qb8p 5wI7HHMnBZf+2KwQxag7QGh9/2lBb3VSLdSvmwPePdRS57jq2zT9AU/DCywP4xmrCKKd xabYcU1LVsUWZRIS7EObK1f3Dz61sLFeZ98AV6FchE+wgB3N7VywzvcaqODng7xxkAS1 FPvAvpkQklfBgdqkgwzxy3hcQLshviIMhNZsXMFmxMioK+EURVRYzbcBJCAWi9T/KmmH mRRQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=ZIMCKvpL; 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-6675-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-wireless+bounces-6675-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id k192-20020a633dc9000000b005fd89007e7dsi3289124pga.825.2024.04.22.09.28.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Apr 2024 09:28:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-6675-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=ZIMCKvpL; 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-6675-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-wireless+bounces-6675-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 37198B24968 for ; Mon, 22 Apr 2024 16:22:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 935B115383C; Mon, 22 Apr 2024 16:21:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="ZIMCKvpL" 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 B4D92153837; Mon, 22 Apr 2024 16:21:19 +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=1713802881; cv=none; b=u2CPU9Qg7CG7jxJnaWnEQ+IC9R40XCQ5CGl43FuWpqt8ve+ZnHwiyEdCdd61DaIuXNXFE0xBOQYb482rEFfftRwY52iLY0T22j/yHR972eEJ8sNHXNcfoBYiD+gmPYajUkb+Ty5U7rxYjJV2w7wx+0m6bqWLjt3KOtAJWEa3+GE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713802881; c=relaxed/simple; bh=0UobfBGE+SyjW5hpf/zsJLUNrWOzqshbd4AmR8Z7g9Q=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=JiegcIsxaOuUWoF9SEWHZOAGxXoDKHrusFu+K2zkfDT5b1Gr22UVQcYUTW98+zmJaDbqghZ/FURfkNGqx1NV4iC6vJmT+CpEVkaapuL0Sp52R6wE4X6jTNizvZ8gMTt3RkfG49PJybGJw1GYtbwYcpUKkYEvT/67yy0ECkKw2iE= 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=ZIMCKvpL; 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 (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 43MFfaaI008025; Mon, 22 Apr 2024 16:21:05 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=BeB6ld/0x9MpnPNJNCXzKwtz17XBbhkY2cn9Yw1AGC8=; b=ZI MCKvpLQmoLhxmEjIgFn4mexrYRZ9l6voRX8g2Zwukc2crYxm8nuv/dFZ4yDLUoJb GpfeUs7CrET0JYFfXIG6HIVLkS6oe1HNFYgdLwFGbHJD74TZDSJavzuPGWW9H77N EexLlBUKDZ90/0OlZ3OAnbRe7p9ofYj+iEMyPtmiQ005ZHuvWCS+V+TkhxLzXJnZ NCv1c+yqZ0G+ceH0r2FZPcuM1017vTHFBmU+X2NCBHj0X4u5eDtJK14DF6sC424d i/9T2RBZf/fZxix+Wtz/sIN9eMi0rrf+n+rlmIC9Fmu9LmoIwdbVky8aMBqx/RPH MWUEhp4RTAEoJOjubQwg== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3xm4qdd2a2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 22 Apr 2024 16:21:05 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 43MGL2X7027898 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 22 Apr 2024 16:21:02 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:21:01 -0700 Message-ID: <9fc9866b-b2fb-40ee-97ea-0e819f05dc15@quicinc.com> Date: Mon, 22 Apr 2024 09:21:01 -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: nasanex01b.na.qualcomm.com (10.46.141.250) 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-GUID: 0A8r2vmO4FIBEAzjcwXp__E0KoBsziKC X-Proofpoint-ORIG-GUID: 0A8r2vmO4FIBEAzjcwXp__E0KoBsziKC 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 spamscore=0 impostorscore=0 lowpriorityscore=0 mlxscore=0 adultscore=0 mlxlogscore=762 bulkscore=0 suspectscore=0 malwarescore=0 clxscore=1015 phishscore=0 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 Acked-by: Jeff Johnson