[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20121024234714.03b516f6fcb32eb5a27eed1b@canb.auug.org.au>
Date: Wed, 24 Oct 2012 23:47:14 +1100
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: Cyrill Gorcunov <gorcunov@...nvz.org>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
LKML <linux-kernel@...r.kernel.org>,
Pavel Emelyanov <xemul@...allels.com>,
Peter Zijlstra <a.p.zijlstra@...llo.nl>
Subject: Re: [PATCH -mm] procfs: add VmFlags field in smaps output v3
Hi Cyrill,
On Wed, 24 Oct 2012 16:27:30 +0400 Cyrill Gorcunov <gorcunov@...nvz.org> wrote:
>
> +static void show_smap_vma_flags(struct seq_file *m, struct vm_area_struct *vma)
> +{
> + /*
> + * Don't forget to update Documentation/ on changes.
> + */
> + static const char mnemonics[BITS_PER_LONG][2] = {
> + /*
> + * In case if we meet a flag we don't know about.
> + */
> + [0 ... (BITS_PER_LONG-1)] = { "??" },
Sorry to be picky, but the braces above are unnecessary,
--
Cheers,
Stephen Rothwell sfr@...b.auug.org.au
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists