Thread (30 messages) 30 messages, 2 authors, 2022-06-20

Re: [PATCH -next v5 2/8] arm64: extable: make uaaccess helper use extable type EX_TYPE_UACCESS_ERR_ZERO

From: Mark Rutland <mark.rutland@arm.com>
Date: 2022-06-20 15:01:30
Also in: linux-arm-kernel, linux-mm, lkml

On Mon, Jun 20, 2022 at 10:13:41PM +0800, Tong Tiangen wrote:

在 2022/6/20 17:10, Mark Rutland 写道:
quoted
On Mon, Jun 20, 2022 at 10:59:12AM +0800, Tong Tiangen wrote:
quoted
在 2022/6/18 20:40, Mark Rutland 写道:
The following errors are reported during compilation:
[...]
arch/arm64/lib/clear_user.S:45: Error: invalid operands (*ABS* and *UND*
sections) for `<<'
[...]
As above, I'm not seeing this.

This suggests that the EX_DATA_REG() macro is going wrong somehow. Assuming the
operand types correspond to the LHS and RHS of the expression, this would mean
the GPR number is defined, but the REG value is not, and I can't currently see
how that can happen.
 
Now I can compile success, both versions 9.4.0 and 11.2.0.

I should have made a mistake. There is no problem using your implementation.
I will send a new version these days.
No problem; thanks for confirming!

Mark.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help