Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 4e5591c2fc1b30f4ea5e2eab4c3a695acc404e39 18 lines 325 B view raw
1// SPDX-License-Identifier: GPL-2.0 2 3#include <linux/err.h> 4 5__rust_helper __force void *rust_helper_ERR_PTR(long err) 6{ 7 return ERR_PTR(err); 8} 9 10__rust_helper bool rust_helper_IS_ERR(__force const void *ptr) 11{ 12 return IS_ERR(ptr); 13} 14 15__rust_helper long rust_helper_PTR_ERR(__force const void *ptr) 16{ 17 return PTR_ERR(ptr); 18}