Thread (29 messages) 29 messages, 3 authors, 2019-10-24

Re: [PATCH v12 07/22] riscv: mm: Add p?d_leaf() definitions

From: Steven Price <steven.price@arm.com>
Date: 2019-10-18 16:21:00
Also in: linux-riscv, lkml

On 18/10/2019 16:57, Christoph Hellwig wrote:
quoted
+	return pud_present(pud)
+		&& (pud_val(pud) & (_PAGE_READ | _PAGE_WRITE | _PAGE_EXEC));
+}
The operators always need to go before the line break, not after it
per linux coding style.  There are a few more spots like this, so please
audit the whole series for it.
Fair enough. In this case I was just copying the example in pte_huge()
that already existed - but you're right this isn't the kernel coding style.

Thanks,

Steve

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help