linux-block.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH -next] fs/Kconfig: Fix compile error for romfs
       [not found] <20230803130738.999853-1-lizetao1@huawei.com>
@ 2023-08-04  2:01 ` Jens Axboe
  0 siblings, 0 replies; only message in thread
From: Jens Axboe @ 2023-08-04  2:01 UTC (permalink / raw)
  To: Li Zetao, mcgrof, johannes.thumshirn; +Cc: hch, linux-block@vger.kernel.org

On 8/3/23 7:07?AM, Li Zetao wrote:
> There are some compile errors reported by kernel test robot:
> 
> arm-linux-gnueabi-ld: fs/romfs/storage.o: in function `romfs_dev_read':
> storage.c:(.text+0x64): undefined reference to `__brelse'
> arm-linux-gnueabi-ld: storage.c:(.text+0x9c): undefined reference to `__bread_gfp'
> arm-linux-gnueabi-ld: fs/romfs/storage.o: in function `romfs_dev_strnlen':
> storage.c:(.text+0x128): undefined reference to `__brelse'
> arm-linux-gnueabi-ld: storage.c:(.text+0x16c): undefined reference to `__bread_gfp'
> arm-linux-gnueabi-ld: fs/romfs/storage.o: in function `romfs_dev_strcmp':
> storage.c:(.text+0x22c): undefined reference to `__bread_gfp'
> arm-linux-gnueabi-ld: storage.c:(.text+0x27c): undefined reference to `__brelse'
> arm-linux-gnueabi-ld: storage.c:(.text+0x2a8): undefined reference to `__bread_gfp'
> arm-linux-gnueabi-ld: storage.c:(.text+0x2bc): undefined reference to `__brelse'
> arm-linux-gnueabi-ld: storage.c:(.text+0x2d4): undefined reference to `__brelse'
> arm-linux-gnueabi-ld: storage.c:(.text+0x2f4): undefined reference to `__brelse'
> arm-linux-gnueabi-ld: storage.c:(.text+0x304): undefined reference to `__brelse'
> 
> The reason for the problem is that the commit
> "925c86a19bac" ("fs: add CONFIG_BUFFER_HEAD") has added a new config
> "CONFIG_BUFFER_HEAD" that controls building the buffer_head code, and
> romfs needs to use the buffer_head API, but no corresponding config has
> beed added. Select the config "CONFIG_BUFFER_HEAD" in romfs Kconfig to
> resolve the problem.

Patch looks good to me, for some reason not CC'ed to any lists though.
Adding linux-block now and getting it applied.

-- 
Jens Axboe


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-08-04  2:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20230803130738.999853-1-lizetao1@huawei.com>
2023-08-04  2:01 ` [PATCH -next] fs/Kconfig: Fix compile error for romfs Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).