From nobody Sun Feb 8 12:58:21 2026 Received: from imap5.colo.codethink.co.uk (imap5.colo.codethink.co.uk [78.40.148.171]) (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 6AF2D33971F for ; Fri, 16 Jan 2026 15:08:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=78.40.148.171 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768576082; cv=none; b=t3u01Dn5xRPjn3VGqdTyu+yQISGCh9S3XQvaRuJwA3Vqrmi1aeUn2lsWuR1uyULojRd/XjEICXp7BJP425yon77vT0pubfMI0Y/0STLgMYw1fyk6KuntR7gbFrwjFELCGwlkthcDRHpM8GGsbBujUsQFTli24W/TtMLS59kV0TI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768576082; c=relaxed/simple; bh=5q93py2+Piewgtac9r9yGcfJPJBB2Req0c4+lvwFQIw=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=Gi9FWnlO46Lhnl8IOV5MlH1vwRl0pESf7Tpg+ILIYbPWpurPQCwgspqS7ddWVh0nt6BhHAj+WMkxHccGygwojPFiCDSPTIZ+N39DtN1aCA79qYuceOWU3SFqEAoYP74kO1xX0zavSoxmfi+4BKFYCS39psBDEy4Qs4o7hU9uWGs= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=codethink.co.uk; spf=pass smtp.mailfrom=codethink.com; dkim=pass (2048-bit key) header.d=codethink.co.uk header.i=@codethink.co.uk header.b=6ObU+Z8Z; arc=none smtp.client-ip=78.40.148.171 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=codethink.co.uk Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=codethink.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=codethink.co.uk header.i=@codethink.co.uk header.b="6ObU+Z8Z" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=codethink.co.uk; s=imap5-20230908; h=Sender:Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Reply-To:In-Reply-To: References; bh=nDccnxFR2FKoyB1OQmZXOfaUDNbYbcD+Tf4+46YyAO0=; b=6ObU+Z8Zs+V4sf 7OYLMJgH3rGBadENsc/ACvoNA2aki/SWbQtNnfOlYbINBbWb3XEB7Om8hEZRPq7h/RxhTrNct0Izd hH0ofu2XzJS420JGI9YBecG4nyyGDl6P6iDSGmAwGp0zDWZT6mVeMpYDA7B0Z0XK89pOfSEP+uZGc rHp0xoC3QCLmSUEAL+SXcCqS/2OwNnKRSaODELK2qNhEJccb1mU04yqD8C9wq79ozp0eJ+3zHSQHI zKd/reWmLd0lIRFVZzIHvMrkU17vkTOC3/bRrVSpcNvhnZi3fgPxM7f/kid8nN4aI6M9I69l69WHs yrp6e2EQJDKIKsfgCI9g==; Received: from [167.98.27.226] (helo=rainbowdash) by imap5.colo.codethink.co.uk with esmtpsa (Exim 4.94.2 #2 (Debian)) id 1vglQW-0058bS-BY; Fri, 16 Jan 2026 15:07:52 +0000 Received: from ben by rainbowdash with local (Exim 4.99.1) (envelope-from ) id 1vglQW-00000005a2A-0bGE; Fri, 16 Jan 2026 15:07:52 +0000 From: Ben Dooks To: linux-kernel@vger.kernel.org Cc: dakr@kernel.org, rafael@kernel.org, gregkh@linuxfoundation.org, Ben Dooks Subject: [PATCH] devtmpfs: make 'devtmpfs_context_ops' static Date: Fri, 16 Jan 2026 15:07:45 +0000 Message-Id: <20260116150745.1330145-1-ben.dooks@codethink.co.uk> X-Mailer: git-send-email 2.37.2.352.g3c44437643 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sender: srv_ts003@codethink.com Content-Type: text/plain; charset="utf-8" The 'devtmpfs_context_ops' object is not exported outside the devtmpfs.c file nor defined anywhere for use outside. Make this static to remove the following sparse warning: drivers/base/devtmpfs.c:88:30: warning: symbol 'devtmpfs_context_ops' was n= ot declared. Should it be static? Signed-off-by: Ben Dooks --- drivers/base/devtmpfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/base/devtmpfs.c b/drivers/base/devtmpfs.c index 194b44075ac7..748ad3698107 100644 --- a/drivers/base/devtmpfs.c +++ b/drivers/base/devtmpfs.c @@ -85,7 +85,7 @@ static int devtmpfs_get_tree(struct fs_context *fc) } =20 /* Ops are filled in during init depending on underlying shmem or ramfs ty= pe */ -struct fs_context_operations devtmpfs_context_ops =3D {}; +static struct fs_context_operations devtmpfs_context_ops =3D {}; =20 /* Call the underlying initialization and set to our ops */ static int devtmpfs_init_fs_context(struct fs_context *fc) --=20 2.37.2.352.g3c44437643