Received: by 2002:a89:2c3:0:b0:1ed:23cc:44d1 with SMTP id d3csp627841lqs; Tue, 5 Mar 2024 11:23:07 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWo76iD4zvmL7DQYjcM5r1J+UGEWxY40EsPzz+3TJUJIZKwbz9dy+K6exKVAWkFdOzsbSwATFxqINvCUPlaZpUs7d2T5Uysa+x567gIxw== X-Google-Smtp-Source: AGHT+IE/AFVxFjQTs8SSazlw9HTO9QvlIWtxR45l5U9j/ruEG1jEY5zg6oeXJxeymc77eOLPcd9Z X-Received: by 2002:a05:6a00:1806:b0:6e6:1fca:1483 with SMTP id y6-20020a056a00180600b006e61fca1483mr7403760pfa.13.1709666587480; Tue, 05 Mar 2024 11:23:07 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709666587; cv=pass; d=google.com; s=arc-20160816; b=lEBjmSgmyNeSMY0Um0PNaP39kSs4H+DVOzMIn56F+syNHz7/uoftLhzMRMA/41915f q9luh6WV85c+QxzrNP702O9FeshkADfO+m4G7H+uU6FeP8BjR8Zn/KARBLhLaJnZzwwr DGvHZuM1nnITkRybPBtvGPJy2hLAfpXGZfmOzSKIOxjzKqXa8vWA7zgoKwIrKZUvjBa4 l5rRCkxKO6XOZDlQFYGawbSz7I+2zPZ2qYxZsSgtcf2SgozCgQ/Ete6r8Xd3pEaIsjlX XmIqKxGabCszlT5f/RKZfWYVzV7Vz4iuJ+cta8LeiPB9es3m7BzNWdvkgsu/2a5JTqVd JndA== 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=ePLjyiM51OsbdoKzoJBCi5CrQwGMo0xxS0qBramHs4E=; fh=UanOD8uSqtj7lv3Ii1MValkGHtqdXz9Igx6xxxNIKOY=; b=aj7HewbSu2xCV1lHZfhAm4G0nvGzdC8Dt8XnvoiL0dISVOjN56hebWgZkKRjMY2tz2 xeCiqqb/z4iYT6+0SWZB8yUqsnBKv1HZtVFLvU5TV+temZ6JOY5Ti8u2DQ4BF33jm4Ra JsXpHucUHCGCGvpArgHVrbfBIR9Kkl+RC9DKTJUnluqsE7DGIzmwt3HzRMyhQQqHPAML hVYZvhklN6oJS5G7sTXmt9KABbqJw8UyJrtGxqqbCPdwyTDv6KUpyuhGIzH7JXqTkM2l AmmFu889FfGenrlklbt7Yd6FN5Cwst+iQx8TYO9JvH/cSKw+zAivr/UqyKtiZJqjplec cRqA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bMN0TxcD; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-4396-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-wireless+bounces-4396-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id k35-20020a634b63000000b005dccf9c665csi10480582pgl.664.2024.03.05.11.23.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Mar 2024 11:23:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-4396-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=@kernel.org header.s=k20201202 header.b=bMN0TxcD; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-4396-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-wireless+bounces-4396-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id A98FBB20C48 for ; Tue, 5 Mar 2024 18:54:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A400918E28; Tue, 5 Mar 2024 18:54:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="bMN0TxcD" 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 8045A7C092 for ; Tue, 5 Mar 2024 18:54:23 +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=1709664863; cv=none; b=TxGXX8mP8n9V3hsat41dqLypmjxoZOotUPP0tlgxcsrj2h+YcDk0vCVZ3BpE7z/SzeVHkPrejaCyz2VgeHUYAukfhi/02PErDt3cMOKQ0D31kN6j8nLNCkb6gxrHIrlRKY1yWrXMvw2cnSSEbAG7gxvqSaTUVges99czwOc8+oU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709664863; c=relaxed/simple; bh=3lY4m/6cJGW8FKoKv7kry2BGRk7q/bXXnh/7Lg083AA=; h=Content-Type:MIME-Version:Subject:From:In-Reply-To:References:To: Cc:Message-ID:Date; b=ExHvkvz8v+uLdJP0fxF1FtkZL/qYE4uRrwQ5m+APbPqjqbi9Dld/EdlxZ0/oXeXnTM7+8OoIeeCOQwKwqHYd77EPjSu40uw5+eJeP6YyXRWGYvP2tuVNhTgkquH15ho5NWncIQVhsbMF9UdSMTjvj7TImbUfur6Z1PrEAxqU/iA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=bMN0TxcD; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id A0B0AC433C7; Tue, 5 Mar 2024 18:54:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709664863; bh=3lY4m/6cJGW8FKoKv7kry2BGRk7q/bXXnh/7Lg083AA=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=bMN0TxcDK7arqjbK2YQxyQisbBZjPGJPKLBsclWJdtIPX3wqCdcXKTKjepuJ7+75j 715dDeN+Um/pWlsxPnYCo28as8G/EtFJBfF1grqj41Al095ndXSCz/IfZTT+pM1l6x c+qdt20mcFCrg5uHD1npeb0xQwYUUc7sdMiyWaTz1XfFJAUA/tDiIm3XIvl4uu9ckE 6/ON2C7ir8APhsAEcbR/1qqcTw/bT0UsOzWqcY4uux61yc397LCZi1mfAn4XK3UzqV PGzVzGrTYA0ycp2CrewzlKjDBjz9jDrzLru7ogoKZd5mQmXrOw2Yeyz3AT6fVbdADj b20pNa2t1DUCw== 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] wifi: cw1200: restore endian swapping From: Kalle Valo In-Reply-To: <20240228121156.62f820aa6dfb.Ia63314e4d0ed1ee76f100846d68f0722abf6b793@changeid> References: <20240228121156.62f820aa6dfb.Ia63314e4d0ed1ee76f100846d68f0722abf6b793@changeid> To: Johannes Berg Cc: linux-wireless@vger.kernel.org, Johannes Berg User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.11.2 Message-ID: <170966486094.424347.11119875384963522018.kvalo@kernel.org> Date: Tue, 5 Mar 2024 18:54:22 +0000 (UTC) Johannes Berg wrote: > From: Johannes Berg > > The code here looks well thought-out, so it seems likely > that the byte-swaps are actually needed, due to SPI bus > and device behaviour. Restore the byte-swapping, in a way > that doesn't result in sparse warnings. > > Fixes: 7ceade653429 ("wifi: cw1200: fix __le16 sparse warnings") > Signed-off-by: Johannes Berg Patch applied to wireless-next.git, thanks. 81e060584f1d wifi: cw1200: restore endian swapping -- https://patchwork.kernel.org/project/linux-wireless/patch/20240228121156.62f820aa6dfb.Ia63314e4d0ed1ee76f100846d68f0722abf6b793@changeid/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches