diff options
author | Kefeng Wang <wangkefeng.wang@huawei.com> | 2024-04-11 16:09:25 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2024-05-06 03:53:32 +0300 |
commit | e9016174621112624f957c8138bd3c34692e2e93 (patch) | |
tree | aceed24952b240ec77d7e91227d58c9cd032eac5 /samples/hidraw/hid-example.c | |
parent | eebb5181a02f819cec5e324a9df1015934dc59f3 (diff) | |
download | linux-e9016174621112624f957c8138bd3c34692e2e93.tar.xz |
arm: mm: drop VM_FAULT_BADMAP/VM_FAULT_BADACCESS
If bad map or access, directly set code to SEGV_MAPRR or SEGV_ACCERR, also
set fault to 0 and goto error handling, which make us to drop the arch's
special vm fault reason.
[akpm@linux-foundation.org: coding-style cleanups]
Link: https://lkml.kernel.org/r/20240411130925.73281-3-wangkefeng.wang@huawei.com
Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Cc: Aishwarya TCV <aishwarya.tcv@arm.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Cristian Marussi <cristian.marussi@arm.com>
Cc: Mark Brown <broonie@kernel.org>
Cc: Russell King <linux@armlinux.org.uk>
Cc: Will Deacon <will@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'samples/hidraw/hid-example.c')
0 files changed, 0 insertions, 0 deletions