Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2733791lqp; Mon, 25 Mar 2024 07:52:18 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU9atUzsicSXpdeiPeWJvP65B8KSpMLHcrVmoiY8nWl75ECGfu3r7BWZMYo12jXjUJznj9ygAr1kHhDaW69tWLSbA80IXYnn+xNAYN0hw== X-Google-Smtp-Source: AGHT+IEw0/kCWgZX3oar7EvQHoOEFHOQbYQDqi6xaCGYPSjhgkhblurAHTE+MPZV3JUPQBsdc+zn X-Received: by 2002:a05:6358:33a3:b0:17f:5d19:4e29 with SMTP id i35-20020a05635833a300b0017f5d194e29mr8512079rwd.7.1711378337993; Mon, 25 Mar 2024 07:52:17 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711378332; cv=pass; d=google.com; s=arc-20160816; b=FEXZ4wvlMbfTP4roT3ibjJOdePanbpVpvFdkAQNl8nnnTEEBNFkjQKcTo+fm/ERxlm e7SePaMlCXkCrYak3Z+XjYdi6+j+VfsXQnFu+vbJzr9ALlScHobeCrVdeRyVYMznhJXz PSMBJ31fKfnGlY9WHdc7nTvEVm7WUQwTY0qMuZk5I6TWTx4eHGe6+DJFPvV+eEVsNvOg Q5sDrp/K/XlOFxRwYY94ANeVLDO0VRdhauupVICvLZsPA4p4lPmTeluQLj7cNO7o0D1G TsXFKhJ7y7bc/DKWLhEoD/qJQHng9yv5cJh+18ICSwm+oc60mzMfEKpZCQs7a67+V1kR mJYg== 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=eTSb1j9ApbaT+gTY4PT1HoeTUN/ORKxtWZqTW0cWJ28=; fh=Stt4tO5RDO3ypHUI82wMoPEI1zbIEdbNkG8EnOlaEew=; b=K9DJDRch+n63zr3GkXtPpjsIJSSx4IXl7bCa7V3OS4wOoB2NLM4PBHGmosUxKJ+5BX l46olyDY7i9xqlJGS0RlwWgaHnytm8TrHbJlCj7s5CYPINjH/wXmqME7hiCD3RW6EMSQ V1maTEntm0ZqTJlt/dW3fj4r8lEBEMYLQeJqFCZBLg/uxlij2XE+rB/I1t0GXkqldNqm /tEOo7oIU39KrSIthqqJI7x0rXAggxoRkLNbQ8qBV0euMffpY37ToEKM4neVIXfy+Bip TT/vAFU4gMxdfdZHPg40Lf9+xGUJQoYavcTdhcOxFKpvOJCiqxi5yYvpjVgJVWQA0Tqi 0SCA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=GEFjsp5x; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-5175-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-wireless+bounces-5175-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id a8-20020a630b48000000b005e838a61e38si7809185pgl.140.2024.03.25.07.52.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Mar 2024 07:52:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-5175-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=GEFjsp5x; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-5175-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-wireless+bounces-5175-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 5787F2C4AFB for ; Mon, 25 Mar 2024 14:43:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 23A6D179670; Mon, 25 Mar 2024 11:42:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="GEFjsp5x" 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 53B92194C65 for ; Mon, 25 Mar 2024 10:51:11 +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=1711363873; cv=none; b=SgulVJELMp7g7VZwEqTSccI49CdwSM8XQxnwgjHViYi8x39C9kbFrywIC5WuXLcjQ52X1UmZxF84h65TrRr58cKzXOFKOvDVzQQH8Ylif9h2hKFxlkr3bOV8xNNECTKTmol+hWKAZddn+i0IVbXxgTHAwbZiJfXOMavOw7JKH+M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711363873; c=relaxed/simple; bh=ub1uXUj1mvQNs0RxF/UpntzWqZRVunwZNfbSwsOo7cw=; h=Content-Type:MIME-Version:Subject:From:In-Reply-To:References:To: Cc:Message-ID:Date; b=LhctMVgUHzsriafQQN0Kop+EASZSIeXT0tAd38g93vWrtYm72kCElX0O+BKi82aRrU7idPb32JM62YzF7QH99wnSK8fbjnkPSPBrCnlfmXXlhLQaBrKblXzvD1kqExdG3DKLZsGGdoCvpPEEZS9ZjjaX+4u96wkEcyudEFcLmwY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=GEFjsp5x; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 41F9AC433B2; Mon, 25 Mar 2024 10:51:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711363871; bh=ub1uXUj1mvQNs0RxF/UpntzWqZRVunwZNfbSwsOo7cw=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=GEFjsp5x8s2fxcM0xlhHXv3kALmMYHHsmdcTjRkguow0Tn+dij8ITC2wu02L5QLZa I8RD6JcmHtLmUZIMDj9AYObGz0XLz6VtU9AKzoUUBFwTvME458FwT7Dg7KJ9uL5h6A EhifVzjpKOhk2VJNAiQOekatIQ/kh2vadEAPQ+vvNfS2pQhdzWqCOIHZ/WuImvhtsT CjhYuIPHie94X5RIwg5CX6eiLLzE7hF2G9eTU0WUQAZiUtZzuZE/Y0TIq0bTlHd+4Y zk/YOE6oUihByIgqsAzkyoi2X1Kj6fgwBO04EPZYUcOckIxrPJ5ydqD+JVWGKt+6od 1Yor7hUuDFqeg== 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 1/4] wifi: ath6kl: fix sparse warnings From: Kalle Valo In-Reply-To: <20240320182449.3757215-2-kvalo@kernel.org> References: <20240320182449.3757215-2-kvalo@kernel.org> To: Kalle Valo Cc: linux-wireless@vger.kernel.org User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.11.2 Message-ID: <171136386920.1022746.1645704218279653373.kvalo@kernel.org> Date: Mon, 25 Mar 2024 10:51:11 +0000 (UTC) Kalle Valo wrote: > Sparse warns: > > drivers/net/wireless/ath/ath6kl/htc_pipe.c:241:17: warning: incorrect type in assignment (different base types) > drivers/net/wireless/ath/ath6kl/htc_pipe.c:241:17: expected restricted __le16 x > drivers/net/wireless/ath/ath6kl/htc_pipe.c:241:17: got unsigned short [usertype] > drivers/net/wireless/ath/ath6kl/htc_mbox.c:368:9: warning: incorrect type in assignment (different base types) > drivers/net/wireless/ath/ath6kl/htc_mbox.c:368:9: expected restricted __le16 x > drivers/net/wireless/ath/ath6kl/htc_mbox.c:368:9: got unsigned short [usertype] > > Use put_unaligned_le16() so that the value is converted to little endian before > storing it to the header. > > Compile tested only. > > Signed-off-by: Kalle Valo 4 patches applied to ath-next branch of ath.git, thanks. ed769314f55c wifi: ath6kl: fix sparse warnings fba52950e59d wifi: wcn36xx: buff_to_be(): fix sparse warnings 1eb2ac4a9f3f wifi: wcn36xx: main: fix sparse warnings 1f4672fd1648 wifi: wil6210: fix sparse warnings -- https://patchwork.kernel.org/project/linux-wireless/patch/20240320182449.3757215-2-kvalo@kernel.org/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches