[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] linux-user: Add strace support for statx.
From: |
Jim Wilson |
Subject: |
Re: [Qemu-devel] [PATCH] linux-user: Add strace support for statx. |
Date: |
Tue, 18 Jun 2019 17:21:37 -0700 |
On Tue, Jun 18, 2019 at 5:09 PM <address@hidden> wrote:
> === OUTPUT BEGIN ===
> ERROR: storage class should be at the beginning of the declaration
> #25: FILE: linux-user/strace.c:979:
> +UNUSED static struct flags statx_flags[] = {
It is complaining about UNUSED, which is a macro that expands to
attribute unused, but this is the exact same C syntax used in the rest
of the file. I think this is a bug in the checkpatch script as this
looks like it should be allowed. Or maybe there is an exception for
this one file?
Jim