[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20151203161910.c33ab41d21e0d3bfc6fdb060@linux-foundation.org>
Date: Thu, 3 Dec 2015 16:19:10 -0800
From: Andrew Morton <akpm@...ux-foundation.org>
To: Rasmus Villemoes <linux@...musvillemoes.dk>
Cc: Kees Cook <keescook@...omium.org>,
Al Viro <viro@...IV.linux.org.uk>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3 14/14] lib/test_printf.c: test dentry printing
On Thu, 3 Dec 2015 21:51:13 +0100 Rasmus Villemoes <linux@...musvillemoes.dk> 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 majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists