omap: iovmm: disallow mapping NULL address when IOVMF_DA_ANON is set
authorMichael Jones <michael.jones@matrix-vision.de>
Wed, 9 Mar 2011 09:17:32 +0000 (09:17 +0000)
committerTony Lindgren <tony@atomide.com>
Mon, 14 Mar 2011 16:17:07 +0000 (09:17 -0700)
commit4359d38d518c0dd72c03a3bc9918607ba8f2648a
treec201e8c56eaf003bc6c25f041c1e734d711d9e68
parent42924355204bd83d799bd151211ae6e014982849
omap: iovmm: disallow mapping NULL address when IOVMF_DA_ANON is set

commit c7f4ab26e3bcdaeb3e19ec658e3ad9092f1a6ceb allowed mapping the NULL
address if da_start==0, which would then not get unmapped. Disallow
this again if IOVMF_DA_ANON is set. And spell variable 'alignment'
correctly.

Signed-off-by: Michael Jones <michael.jones@matrix-vision.de>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/plat-omap/iovmm.c
This page took 0.025133 seconds and 5 git commands to generate.