Re: [PATCH 1/2] arm64: Fix STRICT_MM_TYPECHECKS errors from pgprot

2015-11-10 Thread Ard Biesheuvel
On 11 November 2015 at 06:51, Ard Biesheuvel wrote: > Hi Laura, > > On 11 November 2015 at 03:03, Laura Abbott wrote: >> >> Several accesses of pgprot values are incorrect when compiled with >> STRICT_MM_TYPECHECKS. Use the appropriate pgprot_val/__pgprot wrappers >> to access the structures

Re: [PATCH 1/2] arm64: Fix STRICT_MM_TYPECHECKS errors from pgprot

2015-11-10 Thread Ard Biesheuvel
Hi Laura, On 11 November 2015 at 03:03, Laura Abbott wrote: > > Several accesses of pgprot values are incorrect when compiled with > STRICT_MM_TYPECHECKS. Use the appropriate pgprot_val/__pgprot wrappers > to access the structures appropriately. > I spotted 2 out of these, and Catalin has

[PATCH 1/2] arm64: Fix STRICT_MM_TYPECHECKS errors from pgprot

2015-11-10 Thread Laura Abbott
Several accesses of pgprot values are incorrect when compiled with STRICT_MM_TYPECHECKS. Use the appropriate pgprot_val/__pgprot wrappers to access the structures appropriately. Signed-off-by: Laura Abbott --- Found while working on the set_memory_* work --- arch/arm64/mm/mmu.c | 6 +++--- 1

[PATCH 1/2] arm64: Fix STRICT_MM_TYPECHECKS errors from pgprot

2015-11-10 Thread Laura Abbott
Several accesses of pgprot values are incorrect when compiled with STRICT_MM_TYPECHECKS. Use the appropriate pgprot_val/__pgprot wrappers to access the structures appropriately. Signed-off-by: Laura Abbott --- Found while working on the set_memory_* work ---

Re: [PATCH 1/2] arm64: Fix STRICT_MM_TYPECHECKS errors from pgprot

2015-11-10 Thread Ard Biesheuvel
On 11 November 2015 at 06:51, Ard Biesheuvel wrote: > Hi Laura, > > On 11 November 2015 at 03:03, Laura Abbott wrote: >> >> Several accesses of pgprot values are incorrect when compiled with >> STRICT_MM_TYPECHECKS. Use the appropriate

Re: [PATCH 1/2] arm64: Fix STRICT_MM_TYPECHECKS errors from pgprot

2015-11-10 Thread Ard Biesheuvel
Hi Laura, On 11 November 2015 at 03:03, Laura Abbott wrote: > > Several accesses of pgprot values are incorrect when compiled with > STRICT_MM_TYPECHECKS. Use the appropriate pgprot_val/__pgprot wrappers > to access the structures appropriately. > I spotted 2 out of