Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp2492982rbb; Wed, 28 Feb 2024 03:45:41 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCU+p5RdYVZ8q2QxedgVy+4FfjHhigxNfbsnmjO82jS2dD9FmwKTJPXpIpx/qXMu3NXPYdJJY/xvYQbyDib6tBEFF2w7ELq+sW3shAbAYg== X-Google-Smtp-Source: AGHT+IHDXGzyfNUO/OjHGcYWGXiFnsdJ+RjJW6GU2/V6Mz5A7TARg1neOO1rjC+K4rSugJS6cwFG X-Received: by 2002:a05:620a:3c1:b0:787:c8fd:3646 with SMTP id r1-20020a05620a03c100b00787c8fd3646mr4625173qkm.31.1709120741313; Wed, 28 Feb 2024 03:45:41 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709120741; cv=pass; d=google.com; s=arc-20160816; b=jG/gTeklGcdhUwAdpCBEIkiwULv2lF4MJ7dCCCHqlbuI9lZ7PQDVVLUYlM8kO3EJod tlQq3L0QGC624vKomsr0ze3yZjrJ5Dt+aON7LZXe1gY427GfIIKDwPqMUV99/H23XjbR W4w7IkkJ/5UjFZZvMJGPSoEtcVsn69CvG5fyMJmir4/kTAqlIZ84JZ/n0205CecDwR6n KOiPUEIC/93vkFMAnbb4+JoKSahE7Ji+pUnQprIGegYfR87KTjVD8aC39cyLlczDfB9D KwokwMFk4tc+3eGbliotzGiQqx8aRTbYhrS0LucpbmngXTbvMuI3RF3sYJB1CPamuUXM h7VQ== 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=TvqXooRJWfCIiCXH66mCkCl40B1Js8wptFh0kF4ezco=; fh=FSdMzUV6a/43251jd0uRm1pstrhC96rzTfirIGbYbRw=; b=TXLmljJRyjiL4FtRFIImXP6aLenOINPSU5oyNRQraxz4BNokot8WF7nR8j7r2/1CJ/ s7QHhPJdkXb7ls8OwIZKcF2nvji/AFphjhOBA7vXEYGd0mZoipi2tAbRqpFjDWVPH5Wt Kg17bcObBKgMyvdmbbcnBG+3oHQbwCiKIiRaSAmRKr5sKufiJIGa0eJmOfdNd+fDvFp8 HTdtYDqT6Ydao0GoIghMyG9N1rUMd2oJXwFSNXlUP0bFmEPzgOJbjr47yfEuGwqAXvEM dBe/o8N5wCH0tzmKJc6/GqPa2MR55R6ygqUjuqZmpPuzHLhUShuHoN0i+ymOZSLStGtO sUMg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=WvmBIxtN; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-4186-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-4186-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id pa32-20020a05620a832000b00785d7f24cb9si9227491qkn.640.2024.02.28.03.45.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Feb 2024 03:45:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-4186-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=@kernel.org header.s=k20201202 header.b=WvmBIxtN; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-4186-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-4186-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 14B931C20BA7 for ; Wed, 28 Feb 2024 11:45:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5872013DB9B; Wed, 28 Feb 2024 11:38:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="WvmBIxtN" 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 31C0C130AFC; Wed, 28 Feb 2024 11:38:12 +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=1709120293; cv=none; b=F9y4DFXC2adCbTqMwowyiIEVJ/AFsZiwulKcqiD5pRuyDWmsKHESXWrJHiZP3pm4jRiUFCC0c2PwLrWisQIgaLzGAY2ZWekfGQvp+sckuPMAv1NRHsa30vusrz3FEpkJgUWS9ONq6M0qYNH6tn7K5+WeHGP7+ZsvmR+wUKJvxJc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709120293; c=relaxed/simple; bh=I5yAhgbZLSun2xf7QlAHb8DWwr7otE2Ffvo7tBSEwOM=; h=Content-Type:MIME-Version:Subject:From:In-Reply-To:References:To: Cc:Message-ID:Date; b=Q5dr29pnYuCHov4dvrWZ2Iyhe+EWWRpdGky0rtirG399bQ2vntOfY1eqPJht7+7TAFcGwdOLevi7ctl9bAhPLEgOIey/pQFYyg+gxKPGK5clUcxfzFkktiGsuJxcfdK6Hy/QT04yVymzmg2/LqE1mFIGXjgJpYAIjO8/TTujcDg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=WvmBIxtN; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id A34BDC433F1; Wed, 28 Feb 2024 11:38:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709120292; bh=I5yAhgbZLSun2xf7QlAHb8DWwr7otE2Ffvo7tBSEwOM=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=WvmBIxtNHoAkWNTil8JM7xuUS+kuOdReNgfC78lmo/ux2D+NS6boy90VYV+aRRnfi qMzUpS4OoSBcZXXNeTTfSfPsfTMHHWJTDo11VdFlQgNvrD/gB6IBObTqv/mfw++8Pr jxjstfUVNoAZFWHMztLJBri4C4+aGaWt4AAKPnt7l/3t488ToQD8evW7sAD93kMo0w WIAysEpsclfKSGXIqNrQdJmWz6HWXEac7AYdlj3igeVZfa3snRq7yPkzEYtOEH/QQR viY9A5VE9Rac6rhXwW2xDSU6YFCDkoRK4gDUFgEJh/R8gZG5ZZCISpMm1Ji18LW7nV l3xLEqEUpb8YQ== 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: rtl8xxxu: fix mixed declarations in rtl8xxxu_set_aifs() From: Kalle Valo In-Reply-To: References: To: Shiji Yang Cc: linux-wireless@vger.kernel.org, Jes Sorensen , linux-kernel@vger.kernel.org, Shiji Yang User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.11.2 Message-ID: <170912028951.3742961.9627228372705923099.kvalo@kernel.org> Date: Wed, 28 Feb 2024 11:38:11 +0000 (UTC) Shiji Yang wrote: > Moving struct ieee80211_sta *sta variable definition to the front > of the code to fix the ISO C90 forbids mixed declarations and code > warning. > > Fixes: 43532c050f8e ("wifi: rtl8xxxu: support multiple interfaces in set_aifs()") > Signed-off-by: Shiji Yang > Reviewed-by: Ping-Ke Shih Patch applied to wireless-next.git, thanks. a7e178259c5b wifi: rtl8xxxu: fix mixed declarations in rtl8xxxu_set_aifs() -- https://patchwork.kernel.org/project/linux-wireless/patch/TYAP286MB03157A408E0D69F2F6FBD88ABC552@TYAP286MB0315.JPNP286.PROD.OUTLOOK.COM/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches