diff options
author | Rolf Eike Beer <eike-kernel@sf-tec.de> | 2006-09-29 01:59:49 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-09-29 09:18:10 -0700 |
commit | cd1c6a48ac16b360746f9f111895931d332c35dd (patch) | |
tree | fc26eaff11fd8bc8f2d725e3519211998a558351 /security/Makefile | |
parent | d6bd3a39f7c6ebad49c261c3d458df974c880758 (diff) |
[PATCH] Use valid_dma_direction() in include/asm-i386/dma-mapping.h
Now that the generic DMA code has a function to decide if a given DMA
mapping is valid use it. This will catch cases where direction is not any
of the defined enum values but some random number outside the valid range.
The current implementation will only catch the defined but invalid case
DMA_NONE.
Signed-off-by: Rolf Eike Beer <eike-kernel@sf-tec.de>
Acked-by: Muli Ben-Yehuda <muli@il.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'security/Makefile')
0 files changed, 0 insertions, 0 deletions