[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] target-xtensa: mark XtensaConfig structs as unu
From: |
Max Filippov |
Subject: |
Re: [Qemu-devel] [PATCH] target-xtensa: mark XtensaConfig structs as unused |
Date: |
Sun, 14 Sep 2014 13:29:21 -0700 |
On Sun, Sep 14, 2014 at 12:36 PM, Peter Maydell
<address@hidden> wrote:
> The XtensaConfig structs will be defined but not used if they are
> for the opposite endianness from that of the binary being built;
> keep the compiler from complaining about this by marking them
> with the 'unused' attribute.
>
> Signed-off-by: Peter Maydell <address@hidden>
> ---
> This works, although it's a tad ugly. If anybody wants to suggest
> something better...
Fine for me.
> target-xtensa/core-dc232b.c | 2 +-
> target-xtensa/core-dc233c.c | 2 +-
> target-xtensa/core-fsf.c | 2 +-
> 3 files changed, 3 insertions(+), 3 deletions(-)
Acked-by: Max Filippov <address@hidden>
--
Thanks.
-- Max