From patchwork Thu Jan 4 14:39:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alexis_Lothor=C3=A9?= X-Patchwork-Id: 760679 Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [217.70.183.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 C80F223745; Thu, 4 Jan 2024 14:41:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="cn/XPIp2" Received: by mail.gandi.net (Postfix) with ESMTPSA id 0543B1BF204; Thu, 4 Jan 2024 14:41:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1704379284; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ZXpk62HaSyYdfa/hmfto+HT7WneHwbXkDqb2eRkEPoA=; b=cn/XPIp2Yaaea23I+TyzRR3R6zJW4HSxNWU9xcApY8Zgii2v7xNmb0GdQr+pQXlzR34xXX QnbYBc3XsI2XVWastIy+32ChXUnu0X4slBi/01ZJDELOvqd5rtQdMmiP48Nx2sHqumJgI4 k6aUX53ib0j/XutsEw7NRbW/iuBmdfjD1EJI130JRZWZxVdsW0CLsDIilWxFj03YI5/7ns 60vyz2m++LB/+zbiaAoZCO6tNp0v9L/hBa9Dz2wdL5zckpTp7fF7N/K+QFx+KUfXzc5XwT pkeoEXWzxXXpCRDvKLPsg60E9b3SvKw9wXnND91HqXw1FodPelhi7ZxinlW24g== From: =?utf-8?q?Alexis_Lothor=C3=A9?= To: linux-wireless@vger.kernel.org Cc: Ajay Singh , Claudiu Beznea , Kalle Valo , Thomas Petazzoni , linux-kernel@vger.kernel.org Subject: [PATCH 0/2] wifi: wilc1000: fix RCU warning in connect path Date: Thu, 4 Jan 2024 15:39:23 +0100 Message-ID: <20240104143925.194295-1-alexis.lothore@bootlin.com> X-Mailer: git-send-email 2.42.1 Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-GND-Sasl: alexis.lothore@bootlin.com Hello, this small series aims to fix a RCU warning due to RCU pointer dereference outside of a RCU critical read section. Fix is in the second commit, the first one is a mere declarations reordering before touching declared variables in wilc_parse_join_bss_param Alexis Lothoré (2): wifi: wilc1000: fix declarations ordering wifi: wilc1000: fix RCU usage in connect path drivers/net/wireless/microchip/wilc1000/hif.c | 39 ++++++++++++------- 1 file changed, 25 insertions(+), 14 deletions(-)