lkml.org 
[lkml]   [2009]   [May]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 1/1] DMA: mark DMA_nBITS_MASK as deprecated
From
On Fri,  8 May 2009 10:00:38 +0200
Jiri Slaby <jirislaby@gmail.com> wrote:

> Ingo Molnar <mingo@elte.hu> wrote:
> > Can you see a way to emit build warnings? If yes then that might be
> > a better solution instead of breaking in-the-pipeline code.
>
> What about this:
> --
>
> Mark them deprecated so that 3rd party vendors get notified about that
> before their modules break by removing those macros later.
>
> Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
> ---
> include/linux/dma-mapping.h | 26 ++++++++++++++------------
> 1 files changed, 14 insertions(+), 12 deletions(-)

Ah, nice magic!

Well, "warning: 'DMA_DEPRECATED' is deprecated" warning message is a
bit obscure but the developers should notice that they do something
wrong.

Acked-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>


Thanks a lot,


\
 
 \ /
  Last update: 2009-05-10 01:59    [W:0.102 / U:0.212 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site