Received: by 2002:a89:48b:0:b0:1f5:f2ab:c469 with SMTP id a11csp508448lqd; Wed, 24 Apr 2024 08:45:09 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWqw7T1FX/sYw+/kpa5QZOxh9Ev8I73E1LNNQagZkNlAjzbZNeTXYqbH53N7Lag+th7/h1UjjiwtFrob05cfGYYjJ2QEmEkWZMTxw94mA== X-Google-Smtp-Source: AGHT+IF3srdiOZLBJCXkIP/5nWc7qCQM6Aw11wgWrejJd3x4CYTzUkk3LsbfhX7961l6liKvG7K+ X-Received: by 2002:a17:906:2e95:b0:a58:871f:8eb0 with SMTP id o21-20020a1709062e9500b00a58871f8eb0mr1767808eji.7.1713973509234; Wed, 24 Apr 2024 08:45:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713973509; cv=pass; d=google.com; s=arc-20160816; b=eYMZOviQ+1mDXYm5sU6ZR+r5RciNLt+C0z2NWr6G5Zr7pMGBBYV4Vqmu5OmKjqngVW Yi9omJz5W2m9cTHOJpWdZsYxLAGZkZp0qvph8Om9MuftPIvN/7R06Ct6bCeV3KhvKvH8 5CGt2gOCHDADFfkWbzmWlGqaadwK6q7InL+wze7NCggiXmTmN6WR+MeOIKhLEe2vm6qO NAANtJQmJIYXEyiJojscQTOH/YiLfyrYuAfQK9wb+57p5u7hIZ1sJ9EvaCK2hqkt5Ybs 1SgDKuSR8hVLcR6V35ZI1xubRZ9kYFHsTZJcklqF9Qc4hRzQgB1hendyr4/vab6lGaJh pJ+w== ARC-Message-Signature: i=2; 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=89bC8gUDeeHi+ICGj+q5ERAF7uAc0qGNQ/4L1l4ZGtw=; fh=tmOjzxS8SWhLJNw7bUaqw9MgK5V8i1sMMWknvCuJ8aw=; b=Kil539E8zHMiGeFA2dii5gQXoar78+bdMVG84zJZVt51gX/O9MZoNn5Clxl2frNxXs BntjMG/Lhvdvi0jzuUS5pry9ifkGjCnPV2thNyEsw7o5dXBfFAl7rRP5JbY9DyBfWhKC p1hBrIy3TCoCi/8bqvGS73BaEyncSZ1G3jq6crGXKaTADLbfPCpPHe58u+K6Fqupcovm cNQl30TQ4COLYka/ENhicg10xp4dIJxlt4n9fsRDB/lSVX7ZBoCBxH+alJv2KpuXFDVq Acs0ww2FCsZJeE4rdgPgmbP5nKQ3H6j6MhGTOQrL2lXSoBZkzv6NOkRoJGl/pkMFL5dL VltA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AXzZwUfS; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-6773-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-wireless+bounces-6773-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id k19-20020a170906579300b00a5876598b05si2630108ejq.551.2024.04.24.08.45.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Apr 2024 08:45:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-6773-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AXzZwUfS; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-6773-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-wireless+bounces-6773-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 am.mirrors.kernel.org (Postfix) with ESMTPS id C3DDF1F2974A for ; Wed, 24 Apr 2024 15:43:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 44ED215EFDB; Wed, 24 Apr 2024 15:40:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="AXzZwUfS" 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 10E741422AF; Wed, 24 Apr 2024 15:40:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713973225; cv=none; b=hOdWGvAJ0K2vObTjkL4llivvkNWDP6wm8K1Yknk6FZ8SDJf1bU97xiGW1HU5caRd6LXgBdStlSdPWz2nKxI4vABWdPo8oRWhwEMGLyguQhDvmy4QcQky6pJE84rE0h2zgwPclJOqEhaBwvmslttTyLCtSdS8ukGuxY1p91ewTBw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713973225; c=relaxed/simple; bh=AC95m6JL1F7JZG8sItYB3WOCvHcTlGuxSvUXzc4cQXo=; h=Content-Type:MIME-Version:Subject:From:In-Reply-To:References:To: Cc:Message-ID:Date; b=ja+JXnbjBIlVZ7TXGgz4hGe5vKEIcmtQrYTMe+JK4pJzXmdEFM0JxyAymF1vROZLTB+TQBTfdJMBrB4/iHeiJvD54e14hAxMZLn98LqgM6dZVhOnyHE9+tjy38etL7tW2I4ogF66z8QYI2xVXqNDz/n4NSEoEatFOSANW+WtlhI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=AXzZwUfS; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 96481C113CD; Wed, 24 Apr 2024 15:40:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1713973224; bh=AC95m6JL1F7JZG8sItYB3WOCvHcTlGuxSvUXzc4cQXo=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=AXzZwUfSlS63aY5NOuVanxUFc/7T2ibF20bWJKX5r7af+OvugTESTc8663kvPxhQv qyX2aUQXJUbWwyxmKga4BZ6Is04QHw9kUbxIThssBEtwu1ts2ZaNFJztqwnmh/zhiD G+s0mBzyM1uFIwFqd6FrXMjFWZa6ELu8hIUPi9gpx2iHulSbOp/jd2HA4kPlrqxnVB NXKEIn3g7LRh3oh89GFmbZ4LXf/HYT9A20nwKidgZ2JjiIs4ENj9uJGgTHdaah57le mW12s6BkIw8IYPiUXUoVDGI+V9LnICatyTiFSG/+g1SnQQMVMSC8MZl+cmjYHtziej 5DmIXM0WF1dRg== 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 wireless v2] wifi: ath10k: Fix an error code problem in ath10k_dbg_sta_write_peer_debug_trigger() From: Kalle Valo In-Reply-To: <20240422034243.938962-1-suhui@nfschina.com> References: <20240422034243.938962-1-suhui@nfschina.com> To: Su Hui Cc: quic_jjohnson@quicinc.com, jjohnson@kernel.org, nathan@kernel.org, ndesaulniers@google.com, morbo@google.com, justinstitt@google.com, Su Hui , c_mkenna@qti.qualcomm.com, linux-wireless@vger.kernel.org, ath10k@lists.infradead.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev, kernel-janitors@vger.kernel.org User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.11.2 Message-ID: <171397321994.2567832.9996590005061868676.kvalo@kernel.org> Date: Wed, 24 Apr 2024 15:40:21 +0000 (UTC) Su Hui wrote: > Clang Static Checker (scan-build) warns: > > 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. > > Fixes: ee8b08a1be82 ("ath10k: add debugfs support to get per peer tids log via tracing") > Signed-off-by: Su Hui > Acked-by: Jeff Johnson > Signed-off-by: Kalle Valo Patch applied to ath-next branch of ath.git, thanks. c511a9c12674 wifi: ath10k: Fix an error code problem in ath10k_dbg_sta_write_peer_debug_trigger() -- https://patchwork.kernel.org/project/linux-wireless/patch/20240422034243.938962-1-suhui@nfschina.com/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches