From mboxrd@z Thu Jan 1 00:00:00 1970 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 5163D157A5A; Thu, 13 Feb 2025 15:01:49 +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=1739458909; cv=none; b=bY7Y8X2Xk1TSztjDx8/NCYnY7jQQ76D9KjYI76lS1xLyRXCkglG3whRzSQwH9FLJfW4P8wXPiRRbdTBvXJpgv2YLVvAHn62raqSxsDlf3XJZraafWGgwnRFCQ6q9VjwDuvij3NDAZPPtWpkkxlI5jP47wccvi/jgIWLJ4WpSsl8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1739458909; c=relaxed/simple; bh=3UZHRmezB+IcQGeXEMqu5rYTvOomREzU9W47g3TDf1E=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=ggwPPdKYE89133cfa9+lWftK/tgWHaVEW1ubTPbaaezfoy2d3evb/gv9tOfx3BRMX+o1ZvQo8DxtcBuhujaLNcv9oGmBf6SMvG7PedC1DT8ezmBCI2ZHrYRCnwifi5mn17374taZnZ9djAylwdXXgH3PopQq/IrJfOqatKuoAHw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=LMVUJtLO; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="LMVUJtLO" Received: by smtp.kernel.org (Postfix) with ESMTPSA id AE5ABC4CED1; Thu, 13 Feb 2025 15:01:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1739458909; bh=3UZHRmezB+IcQGeXEMqu5rYTvOomREzU9W47g3TDf1E=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LMVUJtLOc4tH9uXNAl6t4NjtMIqcHFa3wBNmqidnZW4BdtIFqpGCdNbx/4/Gh1DTl 54MQqYeELQtsZJ6sBMyKxmADHljOq3Zfdz5CCSwwbk7voMdNwO4bklJrFMtY/kjgCj AQF7YJqOb0qjpxidS3Z1TQrSTSWFrQpoeWxsUInk= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Christoph Hellwig , Sagi Grimberg , Keith Busch , Sasha Levin Subject: [PATCH 6.13 113/443] nvme: make nvme_tls_attrs_group static Date: Thu, 13 Feb 2025 15:24:38 +0100 Message-ID: <20250213142444.973986170@linuxfoundation.org> X-Mailer: git-send-email 2.48.1 In-Reply-To: <20250213142440.609878115@linuxfoundation.org> References: <20250213142440.609878115@linuxfoundation.org> User-Agent: quilt/0.68 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.13-stable review patch. If anyone has any objections, please let me know. ------------------ From: Keith Busch [ Upstream commit 2d1a2dab95cdc6f2e0c6af3c0514b0bea94af482 ] To suppress the compiler "warning: symbol 'nvme_tls_attrs_group' was not declared. Should it be static?" Fixes: 1e48b34c9bc79a ("nvme: split off TLS sysfs attributes into a separate group") Reviewed-by: Christoph Hellwig Reviewed-by: Sagi Grimberg Signed-off-by: Keith Busch Signed-off-by: Sasha Levin --- drivers/nvme/host/sysfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/nvme/host/sysfs.c b/drivers/nvme/host/sysfs.c index b68a9e5f1ea39..3a41b9ab0f13c 100644 --- a/drivers/nvme/host/sysfs.c +++ b/drivers/nvme/host/sysfs.c @@ -792,7 +792,7 @@ static umode_t nvme_tls_attrs_are_visible(struct kobject *kobj, return a->mode; } -const struct attribute_group nvme_tls_attrs_group = { +static const struct attribute_group nvme_tls_attrs_group = { .attrs = nvme_tls_attrs, .is_visible = nvme_tls_attrs_are_visible, }; -- 2.39.5