anbox-modules icon indicating copy to clipboard operation
anbox-modules copied to clipboard

Update binder.c for compatibility with kernel 5.3

Open SoulInfernoDE opened this issue 6 years ago • 1 comments

fixes error while compiling binder with kernel versions 5.3

/var/lib/dkms/anbox/1/build/binder/binder.c:3406:11: error: initialization of ‘vm_fault_t (*)(struct vm_fault )’ {aka ‘unsigned int ()(struct vm_fault )’} from incompatible pointer type ‘int ()(struct vm_fault *)’ [-Werror=incompatible-pointer-types] .fault = binder_vm_fault, ^~~~~~~~~~~~~~~ /var/lib/dkms/anbox/1/build/binder/binder.c:3406:11: note: (near initialization for ‘binder_vm_ops.fault’) cc1: some warnings being treated as errors

:+1: fixed :+1:

SoulInfernoDE avatar Oct 22 '19 04:10 SoulInfernoDE

Could you try out https://gitlab.com/gobudgie/anbox-modules/-/tree/linux54 @morphis ?

TheOneWithTheBraid avatar Mar 28 '20 16:03 TheOneWithTheBraid