Re: [PATCH] remove DMA_nBIT_MASK macro

From: FUJITA Tomonori
Date: Thu May 07 2009 - 19:37:45 EST


On Thu, 07 May 2009 10:46:09 +0200
Jiri Slaby <jirislaby@xxxxxxxxx> 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/
> ?
>
> I don't know how many in-initializer (struct x x = { DMA_64BIT_MASK } )
> users are out there though.

Unfortunately, there are lots. Converting these macros to functions
would breaks drivers too.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/