Re: [PATCH] hostfs: Add const qualifier to host_root in hostfs_fill_super()

2024-06-13 Thread Christian Brauner
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

Re: [PATCH] hostfs: Add const qualifier to host_root in hostfs_fill_super()

2024-06-11 Thread Richard Weinberger
quot;Nathan Chancellor" > Gesendet: Dienstag, 11. Juni 2024 21:58:41 > Betreff: [PATCH] hostfs: Add const qualifier to host_root in > hostfs_fill_super() > After the recent conversion to the new mount API, there is a warning > when building hostfs (which may be upgraded to an e

[PATCH] hostfs: Add const qualifier to host_root in hostfs_fill_super()

2024-06-11 Thread Nathan Chancellor
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