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

Configure Feed

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

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