diff options
author | He Zhe <[email protected]> | 2020-03-04 14:39:07 +0800 |
---|---|---|
committer | Borislav Petkov <[email protected]> | 2020-05-04 10:07:04 +0200 |
commit | 3b4ff4eb904fef04c36b39052ca8eb31fa41fad0 (patch) | |
tree | 2f22b1198a135246ed002326a5976585e43e70f6 /include/linux/tcp.h | |
parent | f82cdff1aa7f6dcf6625c7219342a6e5c977098d (diff) |
x86/mcelog: Add compat_ioctl for 32-bit mcelog support
A 32-bit version of mcelog issuing ioctls on /dev/mcelog causes errors
like the following:
MCE_GET_RECORD_LEN: Inappropriate ioctl for device
This is due to a missing compat_ioctl callback.
Assign to it compat_ptr_ioctl() as a generic implementation of the
.compat_ioctl file operation to ioctl functions that either ignore the
argument or pass a pointer to a compatible data type.
[ bp: Massage commit message. ]
Signed-off-by: He Zhe <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Acked-by: Tony Luck <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'include/linux/tcp.h')
0 files changed, 0 insertions, 0 deletions