[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4A02A2D8.4090209@cn.fujitsu.com>
Date: Thu, 07 May 2009 16:59:04 +0800
From: Yang Hongyang <yanghy@...fujitsu.com>
To: Jiri Slaby <jirislaby@...il.com>
CC: Andrew Morton <akpm@...ux-foundation.org>,
FUJITA Tomonori <fujita.tomonori@....ntt.co.jp>,
linux-kernel@...r.kernel.org, netdev@...r.kernel.org,
linux-arm-kernel@...ts.arm.linux.org.uk
Subject: Re: [PATCH] remove DMA_nBIT_MASK macro
Jiri Slaby wrote:
> On 05/07/2009 10:29 AM, Yang Hongyang wrote:
>> Shall we use something like below to warn people?
>> #define DMA_64BIT_MASK DMA_BIT_MASK(64);(__deprecated warnings:use DMA_BIT_MASK(64) instead) ?
>
> Something like an irq flags deprecation in the past:
> http://lwn.net/Articles/229673/
> ?
good catch,but this need to be modified (add one line is enough)to cause their use to
cause __deprecated warnings.
>
> I don't know how many in-initializer (struct x x = { DMA_64BIT_MASK } )
> users are out there though.
>
>
--
Regards
Yang Hongyang
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists