Re: [PATCH v3 8/8] initramfs_test: add filename padding test case

Nicolas Schier
2025-08-20T21:04:01Z

On Wed, Aug 20, 2025 at 11:13:34AM +1000, David Disseldorp wrote:
> On Wed, 20 Aug 2025 04:16:48 +0800, kernel test robot wrote:
>
> > sparse warnings: (new ones prefixed by >>)
> > >> init/initramfs_test.c:415:18: sparse: sparse: Initializer entry defined twice
> > init/initramfs_test.c:425:18: sparse: also defined here
> ...
> > 407 struct initramfs_test_cpio c[] = { {
> > 408 .magic = "070701",
> > 409 .ino = 1,
> > 410 .mode = S_IFREG | 0777,
> > 411 .uid = 0,
> > 412 .gid = 0,
> > 413 .nlink = 1,
> > 414 .mtime = 1,
> > > 415 .filesize = 0,
> ...
> > 425 .filesize = sizeof(fdata),
> > 426 } };
>
> Thanks. I can send a v4 patchset to address this, or otherwise happy to
> have line 415 removed by a maintainer when merged.

With that change:

Acked-by: Nicolas Schier <nsc@kernel.org>

Thanks and kind regards
Nicolas