Re: [PATCH -mm] procfs: add VmFlags field in smaps output v3

From: Stephen Rothwell
Date: Wed Oct 24 2012 - 08:47:15 EST


Hi Cyrill,

On Wed, 24 Oct 2012 16:27:30 +0400 Cyrill Gorcunov <gorcunov@xxxxxxxxxx> 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@xxxxxxxxxxxxxxxx

Attachment: pgp00000.pgp
Description: PGP signature