========== build_allmodconfig_warn - FAILED error[E0061]: this function takes 4 arguments but 3 arguments were supplied --> ../rust/kernel/faux.rs:31:28 | 31 | let dev = unsafe { bindings::faux_device_create(name.as_char_ptr(), null_mut(), null()) }; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^---------------------------------------- | || | |unexpected argument #1 of type `*const u8` | two arguments of type `*mut bindings::device` and `*const faux_device_ops` are missing | note: function defined here --> /home/nipa/net-next/wt-1/build_allmodconfig_warn/rust/bindings/bindings_generated.rs:71066:12 | 71066 | pub fn faux_device_create( | ^^^^^^^^^^^^^^^^^^ help: did you mean | 31 | let dev = unsafe { bindings::faux_device_create(null(), null_mut(), /* *mut bindings::device */, /* *const faux_device_ops */) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: aborting due to 1 previous error For more information about this error, try `rustc --explain E0061`. make[3]: *** [../rust/Makefile:480: rust/kernel.o] Error 1 make[2]: *** [/home/nipa/net-next/wt-1/Makefile:1275: prepare] Error 2 make[1]: *** [/home/nipa/net-next/wt-1/Makefile:251: __sub-make] Error 2 make: *** [Makefile:251: __sub-make] Error 2 error[E0061]: this function takes 4 arguments but 3 arguments were supplied --> ../rust/kernel/faux.rs:31:28 | 31 | let dev = unsafe { bindings::faux_device_create(name.as_char_ptr(), null_mut(), null()) }; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^---------------------------------------- | || | |unexpected argument #1 of type `*const u8` | two arguments of type `*mut bindings::device` and `*const faux_device_ops` are missing | note: function defined here --> /home/nipa/net-next/wt-1/build_allmodconfig_warn/rust/bindings/bindings_generated.rs:71066:12 | 71066 | pub fn faux_device_create( | ^^^^^^^^^^^^^^^^^^ help: did you mean | 31 | let dev = unsafe { bindings::faux_device_create(null(), null_mut(), /* *mut bindings::device */, /* *const faux_device_ops */) }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: aborting due to 1 previous error For more information about this error, try `rustc --explain E0061`. make[3]: *** [../rust/Makefile:480: rust/kernel.o] Error 1 make[2]: *** [/home/nipa/net-next/wt-1/Makefile:1275: prepare] Error 2 make[1]: *** [/home/nipa/net-next/wt-1/Makefile:251: __sub-make] Error 2 make: *** [Makefile:251: __sub-make] Error 2