[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20240613-saugt-hebamme-d4c3ce553856@brauner>
Date: Thu, 13 Jun 2024 14:12:35 +0200
From: Christian Brauner <brauner@...nel.org>
To: Nathan Chancellor <nathan@...nel.org>
Cc: Christian Brauner <brauner@...nel.org>,
Hongbo Li <lihongbo22@...wei.com>,
Richard Weinberger <richard@....at>,
Anton Ivanov <anton.ivanov@...bridgegreys.com>,
Johannes Berg <johannes@...solutions.net>,
linux-um@...ts.infradead.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] hostfs: Add const qualifier to host_root in hostfs_fill_super()
On Tue, 11 Jun 2024 12:58:41 -0700, Nathan Chancellor wrote:
> After the recent conversion to the new mount API, there is a warning
> when building hostfs (which may be upgraded to an error via
> CONFIG_WERROR=y):
>
> fs/hostfs/hostfs_kern.c: In function 'hostfs_fill_super':
> fs/hostfs/hostfs_kern.c:942:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
> 942 | char *host_root = fc->source;
> | ^~
>
> [...]
Applied to the vfs.mount.api branch of the vfs/vfs.git tree.
Patches in the vfs.mount.api branch should appear in linux-next soon.
Please report any outstanding bugs that were missed during review in a
new review to the original patch series allowing us to drop it.
It's encouraged to provide Acked-bys and Reviewed-bys even though the
patch has now been applied. If possible patch trailers will be updated.
Note that commit hashes shown below are subject to change due to rebase,
trailer updates or similar. If in doubt, please check the listed branch.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git
branch: vfs.mount.api
[1/1] hostfs: Add const qualifier to host_root in hostfs_fill_super()
https://git.kernel.org/vfs/vfs/c/104eef133fd9
Powered by blists - more mailing lists