Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp8161666rdb; Thu, 4 Jan 2024 23:57:59 -0800 (PST) X-Google-Smtp-Source: AGHT+IGBHW3tHw8YVP6hYfhjtOf5G8gmC9P8DTUduaSXTx1TCGtBDrMxnvs8mAiXNWIQfCcDW1OG X-Received: by 2002:a05:6830:4108:b0:6db:af22:64e9 with SMTP id w8-20020a056830410800b006dbaf2264e9mr2076252ott.73.1704441479619; Thu, 04 Jan 2024 23:57:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704441479; cv=none; d=google.com; s=arc-20160816; b=eXIscvtyceFNgHEXItrt5024+H9xvy/6fTybc/n+jEEyeD58md9wyy6hCILcv7JXhx PqobqyhJ/vEnPaqnxYVxcTTXLJbkNIu3mNn9jLZK3zpHaf8BmDF6Tu+to3/dupPDbvOB hIMRTs69jJfh3Pc3PKwSrZ57fyoDXQg23LG4R7G/9qV4RpwBO78oOznirBbtU+zdg1fP 6K47ZjxklqCDOnT9HQJ342CtY24iMlI7ZkWner7C2Y1BaMgZp3NMEatVZhfSEzcMBsGx 4C6TXg+MvSFrlKcTbe0oW4uQUGEvlNRDcAPBxwU/x/MVlb3Hy+oFYVv6Lk/8CJioRhK9 kR2Q== 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=ePVzhc7ydJX94hwyc9SvNbbBg0js80IIMVNsWHlS780=; fh=mPOs/O0IEcyTN5lQh0bkCejGHB03ivjM6E6P227s3/I=; b=LWBvl6y/zKdW2xvtKbjDSULQwkYpizvZu4oD2+77y+/hwV4qTiZixhKTjxrTyneiFW ha4kOvoln7JCrRAmgz5rniou7nW2kcDnmFJKt0CacNlgnChgH1rVsgf9brsyGPiJxC1e 6jhV+xyuk557hjeNheO7qt5lN+ngUmtfuagE1egkVxyZnX48C2ng9AMAYaMySwlP/Qfx /25sgHZiQfzj9Cx+CLuY+u5WiH9NawhMB+uwARBUqHAQK/1ihWeLOeC6lW11nuP8vjTh xpd5+5RF/czrNqI3kY9k5Y3DFcI/Z8Y1cQeD7IWY3IGeHhtR4y8pp78/q4JdOroe7d0Y ktdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=Lgk0To0F; spf=pass (google.com: domain of linux-wireless+bounces-1519-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-wireless+bounces-1519-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id g71-20020a636b4a000000b005cdec4c81e8si859642pgc.514.2024.01.04.23.57.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Jan 2024 23:57:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-1519-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=@bootlin.com header.s=gm1 header.b=Lgk0To0F; spf=pass (google.com: domain of linux-wireless+bounces-1519-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-wireless+bounces-1519-linux.lists.archive=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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 48AFE285435 for ; Fri, 5 Jan 2024 07:57:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 832511EB45; Fri, 5 Jan 2024 07:57:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="Lgk0To0F" X-Original-To: linux-wireless@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 723B120B0E; Fri, 5 Jan 2024 07:57:50 +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 DFD191BF208; Fri, 5 Jan 2024 07:57:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1704441468; 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=ePVzhc7ydJX94hwyc9SvNbbBg0js80IIMVNsWHlS780=; b=Lgk0To0FgR4IYIy51TbxoMuEJbKmVjPvFZm6cgofMT3V6duhR8QvMMOZmQLJdDVokyJuE5 jD+Kk7Fk/tMfUdd5/vz16Nj7DhSOwDw81D1xXWWrCNt7zk4ZqrWfgVjMMGvEG7p2nwgR7z UpDkwa4/Rikud3fe2wPEH6caIyszXZRXIv2saRV9HAmRgSZHUr4FEzD0SCApvayFnY5m90 xxb3V0kcUCSBr6ynmSGSv/u5wCDNkWFacLsSo9ugE0kRwr13Ro1seadKWSYAo83xR8vhor AwXIf1607+MG1tyDAw8gJVb9HPpkFHQm3rHAAAcYDv/WzhhdBT0P+tVTMGyGxQ== From: =?UTF-8?q?Alexis=20Lothor=C3=A9?= To: linux-wireless@vger.kernel.org Cc: Ajay Singh , Claudiu Beznea , Kalle Valo , Thomas Petazzoni , linux-kernel@vger.kernel.org, Christophe JAILLET Subject: [PATCH v2 0/2] wifi: wilc1000: fix RCU warning in connect path Date: Fri, 5 Jan 2024 08:57:31 +0100 Message-ID: <20240105075733.36331-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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Changes in v2: - fix leak in early return Alexis Lothoré (2): wifi: wilc1000: fix declarations ordering wifi: wilc1000: fix RCU usage in connect path drivers/net/wireless/microchip/wilc1000/hif.c | 40 ++++++++++++------- 1 file changed, 26 insertions(+), 14 deletions(-) -- 2.42.1