Re: [PATCH v2] powerpc/4xx/ocm: fix compilation error

2018-12-22 Thread christophe leroy
Le 22/12/2018 à 15:35, Christian Lamparter a écrit : This patch fixes a recent compilation regression in ocm: | ocm.c: In function ‘ocm_init_node’: | ocm.c:182:18: error: invalid operands to binary | | (have ‘int’ and ‘pgprot_t’ {aka ‘struct ’}) | _PAGE_EXEC | PAGE_KERNEL_NCG); |

[PATCH v2] powerpc/4xx/ocm: fix compilation error

2018-12-22 Thread Christian Lamparter
This patch fixes a recent compilation regression in ocm: | ocm.c: In function ‘ocm_init_node’: | ocm.c:182:18: error: invalid operands to binary | | (have ‘int’ and ‘pgprot_t’ {aka ‘struct ’}) | _PAGE_EXEC | PAGE_KERNEL_NCG); | ^ | | ocm.c:197:17: error: invalid operan