diff options
Diffstat (limited to 'rust/helpers/build_bug.c')
-rw-r--r-- | rust/helpers/build_bug.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/rust/helpers/build_bug.c b/rust/helpers/build_bug.c new file mode 100644 index 000000000000..e994f7b5928c --- /dev/null +++ b/rust/helpers/build_bug.c @@ -0,0 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0 + +#include <linux/export.h> +#include <linux/errname.h> + +const char *rust_helper_errname(int err) +{ + return errname(err); +} |