rv.h has no include guard. Only three C files include it directly and none of them twice, but anything that includes it from a header hits this.
Add the guard, so rv.h can be included from a header as well. Signed-off-by: Tobias Schaffner <[email protected]> --- kernel/trace/rv/rv.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/kernel/trace/rv/rv.h b/kernel/trace/rv/rv.h index 2c0f51ff9d5c..62779e6b74bd 100644 --- a/kernel/trace/rv/rv.h +++ b/kernel/trace/rv/rv.h @@ -1,4 +1,7 @@ /* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _KERNEL_TRACE_RV_H +#define _KERNEL_TRACE_RV_H + #include <linux/mutex.h> struct rv_interface { @@ -45,3 +48,5 @@ static inline int init_rv_reactors(struct dentry *root_dir) return 0; } #endif + +#endif /* _KERNEL_TRACE_RV_H */ -- 2.53.0
