Re: [PATCH 1/1] unify DMA_..BIT_MASK definitions: v3.1

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Andrew Morton
Date: Friday, October 5, 2007 - 3:24 pm

On Fri, 05 Oct 2007 14:28:45 -0700
Jeremy Fitzhardinge <jeremy@goop.org> wrote:


Well yes, but DMA_BIT_MASK(0) invokes undefined behaviour, generates a
compiler warning and evaluates to 0xffffffffffffffff (with my setup).

That won't be a problem in practice, but it is strictly wrong and doesn't set
a good exmaple for the children ;)

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 1/1] unify DMA_..BIT_MASK definitions: v3.1, Borislav Petkov, (Tue Sep 18, 12:46 pm)
Re: [PATCH 1/1] unify DMA_..BIT_MASK definitions: v3.1, Satyam Sharma, (Wed Sep 19, 8:03 am)
Re: [PATCH 1/1] unify DMA_..BIT_MASK definitions: v3.1, Andrew Morton, (Fri Oct 5, 12:47 pm)
Re: [PATCH 1/1] unify DMA_..BIT_MASK definitions: v3.1, Jeremy Fitzhardinge, (Fri Oct 5, 1:43 pm)
Re: [PATCH 1/1] unify DMA_..BIT_MASK definitions: v3.1, Andrew Morton, (Fri Oct 5, 2:00 pm)
Re: [PATCH 1/1] unify DMA_..BIT_MASK definitions: v3.1, Robert P. J. Day, (Fri Oct 5, 2:03 pm)
Re: [PATCH 1/1] unify DMA_..BIT_MASK definitions: v3.1, Jeremy Fitzhardinge, (Fri Oct 5, 2:23 pm)
Re: [PATCH 1/1] unify DMA_..BIT_MASK definitions: v3.1, Andreas Schwab, (Fri Oct 5, 2:24 pm)
Re: [PATCH 1/1] unify DMA_..BIT_MASK definitions: v3.1, Jeremy Fitzhardinge, (Fri Oct 5, 2:28 pm)
Re: [PATCH 1/1] unify DMA_..BIT_MASK definitions: v3.1, Andrew Morton, (Fri Oct 5, 3:24 pm)
Re: [PATCH 1/1] unify DMA_..BIT_MASK definitions: v3.1, Jeremy Fitzhardinge, (Fri Oct 5, 3:32 pm)
Re: [PATCH 1/1] unify DMA_..BIT_MASK definitions: v3.1, Borislav Petkov, (Sat Oct 6, 12:54 am)
Re: [PATCH 1/1] unify DMA_..BIT_MASK definitions: v3.1, Borislav Petkov, (Sat Oct 6, 1:37 am)