Re: [PATCH 1/3] omap: iovmm: disallow mapping NULL address

2011-03-08 Thread David Cohen
On Tue, Mar 8, 2011 at 9:53 PM, Guzman Lugo, Fernando wrote: > On Tue, Mar 8, 2011 at 1:06 PM, David Cohen wrote: >> On Tue, Mar 8, 2011 at 8:06 PM, Guzman Lugo, Fernando >> wrote: >>> On Tue, Mar 8, 2011 at 6:46 AM, David Cohen wrote: From: Michael Jones commit c7f4ab26e3bcdaeb

Re: [PATCH 1/3] omap: iovmm: disallow mapping NULL address

2011-03-08 Thread Guzman Lugo, Fernando
On Tue, Mar 8, 2011 at 1:06 PM, David Cohen wrote: > On Tue, Mar 8, 2011 at 8:06 PM, Guzman Lugo, Fernando > wrote: >> On Tue, Mar 8, 2011 at 6:46 AM, David Cohen wrote: >>> From: Michael Jones >>> >>> commit c7f4ab26e3bcdaeb3e19ec658e3ad9092f1a6ceb allowed mapping >>> the NULL address if da_st

Re: [PATCH 1/3] omap: iovmm: disallow mapping NULL address

2011-03-08 Thread David Cohen
On Tue, Mar 8, 2011 at 8:06 PM, Guzman Lugo, Fernando wrote: > On Tue, Mar 8, 2011 at 6:46 AM, David Cohen wrote: >> From: Michael Jones >> >> commit c7f4ab26e3bcdaeb3e19ec658e3ad9092f1a6ceb allowed mapping >> the NULL address if da_start==0, which would then not get unmapped. >> Disallow this a

Re: [PATCH 1/3] omap: iovmm: disallow mapping NULL address

2011-03-08 Thread Guzman Lugo, Fernando
On Tue, Mar 8, 2011 at 6:46 AM, David Cohen wrote: > From: Michael Jones > > commit c7f4ab26e3bcdaeb3e19ec658e3ad9092f1a6ceb allowed mapping > the NULL address if da_start==0, which would then not get unmapped. > Disallow this again.  And spell variable 'alignment' correctly. > > Signed-off-by: M

[PATCH 1/3] omap: iovmm: disallow mapping NULL address

2011-03-08 Thread David Cohen
From: Michael Jones commit c7f4ab26e3bcdaeb3e19ec658e3ad9092f1a6ceb allowed mapping the NULL address if da_start==0, which would then not get unmapped. Disallow this again. And spell variable 'alignment' correctly. Signed-off-by: Michael Jones --- arch/arm/plat-omap/iovmm.c | 16 ++-