linux-mips
[Top] [All Lists]

Re: [PATCH] MIPS: Alchemy: fix deprecated compile warnings

To: Manuel Lauss <manuel.lauss@googlemail.com>
Subject: Re: [PATCH] MIPS: Alchemy: fix deprecated compile warnings
From: Ralf Baechle <ralf@linux-mips.org>
Date: Tue, 6 Jul 2010 14:01:59 +0100
Cc: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>, linux-mips@linux-mips.org, manuel.lauss@gmail.com
In-reply-to: <AANLkTimNUemAUf8OI_lQYw4eDRC3uo0rTWORxH1wqHU_@mail.gmail.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20100624012415L.fujita.tomonori@lab.ntt.co.jp> <AANLkTimNUemAUf8OI_lQYw4eDRC3uo0rTWORxH1wqHU_@mail.gmail.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.20 (2009-08-17)
On Wed, Jun 23, 2010 at 06:31:18PM +0200, Manuel Lauss wrote:

> > replace deprecated DMA_32BIT_MASK with DMA_BIT_MASK.
> >
> > cc1: warnings being treated as errors
> > arch/mips/alchemy/devboards/db1200/platform.c:219: error: 'DMA_nnBIT_MASK' 
> > is deprecated
> > arch/mips/alchemy/devboards/db1200/platform.c:226: error: 'DMA_nnBIT_MASK' 
> > is deprecated
> > arch/mips/alchemy/devboards/db1200/platform.c:388: error: 'DMA_nnBIT_MASK' 
> > is deprecated
> > arch/mips/alchemy/devboards/db1200/platform.c:393: error: 'DMA_nnBIT_MASK' 
> > is deprecated
> >
> > Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
> > ---
> >  arch/mips/alchemy/devboards/db1200/platform.c |    8 ++++----
> >  1 files changed, 4 insertions(+), 4 deletions(-)
> 
> Acked-by: Manuel Lauss <manuel.lauss@googlemail.com>

Thanks, Fujita-San.  Patch applied.

This one became necessary due to the migration to the new MIPS platform
makefiles which also enable -Werror for all platforms and
arch/mips/alchemy/devboards/db1200/ was previously one of the few
subdirs still getting built without -Werror.

  Ralf

<Prev in Thread] Current Thread [Next in Thread>
  • Re: [PATCH] MIPS: Alchemy: fix deprecated compile warnings, Ralf Baechle <=