2022-01-21 14:30:05

by Jiapeng Chong

[permalink] [raw]
Subject: [PATCH] rust: Remove unused including <linux/version.h>

Eliminate the follow versioncheck warning:

./rust/kernel/bindings_helper.h: 13 linux/version.h not needed.

Reported-by: Abaci Robot <[email protected]>
Signed-off-by: Jiapeng Chong <[email protected]>
---
rust/kernel/bindings_helper.h | 1 -
1 file changed, 1 deletion(-)

diff --git a/rust/kernel/bindings_helper.h b/rust/kernel/bindings_helper.h
index 99a7d785ae01..a79f3f398b93 100644
--- a/rust/kernel/bindings_helper.h
+++ b/rust/kernel/bindings_helper.h
@@ -10,7 +10,6 @@
#include <linux/sysctl.h>
#include <linux/uaccess.h>
#include <linux/uio.h>
-#include <linux/version.h>
#include <linux/miscdevice.h>
#include <linux/poll.h>
#include <linux/mm.h>
--
2.20.1.7.g153144c


2022-01-22 00:25:55

by Miguel Ojeda

[permalink] [raw]
Subject: Re: [PATCH] rust: Remove unused including <linux/version.h>

Hi Jiapeng,

On Wed, Jan 19, 2022 at 3:40 AM Jiapeng Chong
<[email protected]> wrote:
>
> Eliminate the follow versioncheck warning:
>
> ./rust/kernel/bindings_helper.h: 13 linux/version.h not needed.
>
> Reported-by: Abaci Robot <[email protected]>
> Signed-off-by: Jiapeng Chong <[email protected]>

Applied, thanks!

Cheers,
Miguel