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)
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>

No differences found