brintos

brintos / linux-shallow public Read only

0
0
Text · 309 B · be3d45e Raw
20 lines · c
1// SPDX-License-Identifier: GPL-2.02 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}20