On Thu, 3 Dec 2015 21:51:13 +0100 Rasmus Villemoes <[email protected]>
wrote:
> +static struct dentry test_dentry[4] __initdata = {
> + { .d_parent = &test_dentry[0],
> + .d_name = { .len = 3, .name = test_dentry[0].d_iname },
> + .d_iname = "foo" },
Confused. qstr has no .len.
lib/test_printf.c:332: error: unknown field 'len' specified in initializer
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/