Files
erofs-linux/rust/helpers/build_bug.c
T
Tamir Duberstein d4d7c05f96 rust: helpers: remove unnecessary header includes
Commit e26fa54604 ("rust: kbuild: auto generate helper exports")
removed the need for these by automatically generating the exports; it
removed the explicit uses of `EXPORT_SYMBOL_GPL` but didn't remove the
`#include <linux/export.h>`s.

Signed-off-by: Tamir Duberstein <[email protected]>
Reviewed-by: Gary Guo <[email protected]>
Reviewed-by: Andreas Hindborg <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[ Reworded title. - Miguel ]
Signed-off-by: Miguel Ojeda <[email protected]>
2024-10-21 17:35:59 +02:00

9 lines
132 B
C

// SPDX-License-Identifier: GPL-2.0
#include <linux/errname.h>
const char *rust_helper_errname(int err)
{
return errname(err);
}