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: 18714 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:6f82:b0:100:9c79:88ff with SMTP id tb2csp5651330dyb; Thu, 4 Jan 2024 06:42:24 -0800 (PST) X-Google-Smtp-Source: AGHT+IEEZeZ7Wf76hQOp/bOnaLixHAz4AwPcR1zJ6Dt+5Nbh0/7JrHSJPHcvQYy0OUuvcoqyByAi X-Received: by 2002:a9d:62d8:0:b0:6db:b23f:ea99 with SMTP id z24-20020a9d62d8000000b006dbb23fea99mr879186otk.71.1704379344426; Thu, 04 Jan 2024 06:42:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704379344; cv=none; d=google.com; s=arc-20160816; b=umoSsIDtB8uACakIc3jNQTjhQcVF22C02cSrNEAmtG9npway8HJ+jLRMpGYB2+O2C1 d49s4t67IGa2Ifkjlo/zm48JdGryeRVG9oAL94G+ET/Z/0r4XkYPIh69ArHIBdh2PEYK 2xgNV4sAOGkrEV6LTEjYpP+BUiP9HNi67QPi9OjNVm10KQMvC6pJ/EsG9lG6942naKbS pUFBm+tRps8+7ebs/L6C33e4zQCFcia1RT+jqQw72GCc+tRKrdTk0NG4l6/p/WtsN98m vOaX/EkanKPVjeWIwM/alATuvZUYAmQSoqP7uX5TR7FAMnogeTIrj3sc5GD90LZdHOVw j8Bw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=ZXpk62HaSyYdfa/hmfto+HT7WneHwbXkDqb2eRkEPoA=; fh=ppmudv7yEhmWm8DtJQwxo4d1aAkZiUXkUHIF4M5Za9U=; b=Yf/wSVwurv+J4Cjl25ohtZ6SxX0PR80bdzR2MXFRvPiIKZMELqaUv3I+8Ow5PDCvJX ykwzhrucyAlMAPVP0SEw54kfS5bbWCPaFS1KMMacOFEeTvjEHbEbJVBFlilDUz40DQgS hwvuVOJZf1rzEtGNC+RpWjuoCxsyEfx79pVza7NTC2toJ82vZKIq84vhOUtUgNN2f+rm WO7c1IAwzxOF9Z7QXjEEbsmiqL22+u2n8Rof0x6I7Xr4OapjaxAPZTMUQBaxgT6fqokq mEJ/gAidofMLSmOXTjMZpLuR7UQWEfvlS3/ulZsUYgce0g8krxBa8+k7vuBIK00PguO3 ZWQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b="cn/XPIp2"; spf=pass (google.com: domain of linux-kernel+bounces-16798-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-16798-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id z64-20020a636543000000b005c6707eedb1si22854841pgb.679.2024.01.04.06.42.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Jan 2024 06:42:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-16798-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b="cn/XPIp2"; spf=pass (google.com: domain of linux-kernel+bounces-16798-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-16798-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com 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 44AD2B23243 for ; Thu, 4 Jan 2024 14:42:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2A4AC2420C; Thu, 4 Jan 2024 14:41:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="cn/XPIp2" X-Original-To: linux-kernel@vger.kernel.org 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 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-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-GND-Sasl: alexis.lothore@bootlin.com X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1787171275522868110 X-GMAIL-MSGID: 1787171275522868110 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(-)