Skip to contentSkip to conversation

watchdog: remove unneeded inclusion of <uapi/linux/sched/types.h>

PATCH In review Zhen Lei 2 participants 7 messages Aug 27, 2020 – Oct 14, 2020 Watchdog device drivers

lore
Share & tools
lore

Zhen Lei

author
#0 lore raw

PATCH 1/1 watchdog: remove unneeded inclusion of <uapi/linux/sched/types.h>

There has been no reference to "struct sched_param" since commit 94beddacb53c ("sched,watchdog: Convert to sched_set_fifo()"), so there's no need to include <uapi/linux/sched/types.h> any more, delete it.

---
 drivers/watchdog/watchdog_dev.c | 2 --
 1 file changed, 2 deletions(-)
drivers/watchdog/watchdog_dev.c +0 -2
index 6798addabd5a067..0f18fa2433310b0 100644
@@ -43,8 +43,6 @@
 #include <linux/watchdog.h>	/* For watchdog specific items */
 #include <linux/uaccess.h>	/* For copy_to_user/put_user/... */
 
-#include <uapi/linux/sched/types.h>	/* For struct sched_param */
-
 #include "watchdog_core.h"
 #include "watchdog_pretimeout.h"
 
Signature · 1 line
1.8.3
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 6 lines · Zhen Lei

There has been no reference to "struct sched_param" since commit 94beddacb53c ("sched,watchdog: Convert to sched_set_fifo()"), so there's no need to include <uapi/linux/sched/types.h> any more, delete it.

Quoted 18 lines
---
 drivers/watchdog/watchdog_dev.c | 2 --
 1 file changed, 2 deletions(-)
drivers/watchdog/watchdog_dev.c +0 -2
index 6798addabd5a067..0f18fa2433310b0 100644
@@ -43,8 +43,6 @@
 #include <linux/watchdog.h>	/* For watchdog specific items */
 #include <linux/uaccess.h>	/* For copy_to_user/put_user/... */
 
-#include <uapi/linux/sched/types.h>	/* For struct sched_param */
-
 #include "watchdog_core.h"
 #include "watchdog_pretimeout.h"
 
#2 lore raw

Hi, Wim Van Sebroeck, Guenter Roeck:
What's your opinion? Guenter Roeck given "Reviewed-by" two weeks ago.

Quoted 31 lines · Guenter Roeck
Quoted 6 lines · Zhen Lei

There has been no reference to "struct sched_param" since commit 94beddacb53c ("sched,watchdog: Convert to sched_set_fifo()"), so there's no need to include <uapi/linux/sched/types.h> any more, delete it.

Quoted 18 lines
---
 drivers/watchdog/watchdog_dev.c | 2 --
 1 file changed, 2 deletions(-)
drivers/watchdog/watchdog_dev.c +0 -2
index 6798addabd5a067..0f18fa2433310b0 100644
@@ -43,8 +43,6 @@
 #include <linux/watchdog.h>	/* For watchdog specific items */
 #include <linux/uaccess.h>	/* For copy_to_user/put_user/... */
 
-#include <uapi/linux/sched/types.h>	/* For struct sched_param */
-
 #include "watchdog_core.h"
 #include "watchdog_pretimeout.h"
 
maintainer
#3 lore raw
Quoted 3 lines · Leizhen (ThunderTown)

Hi, Wim Van Sebroeck, Guenter Roeck:
What's your opinion? Guenter Roeck given "Reviewed-by" two weeks ago.

The patch is in my watchdog-next branch, and Wim usually picks it up from there.

Guenter

Quoted 34 lines · Guenter Roeck
Quoted 31 lines · Zhen Lei
Quoted 6 lines

There has been no reference to "struct sched_param" since commit 94beddacb53c ("sched,watchdog: Convert to sched_set_fifo()"), so there's no need to include <uapi/linux/sched/types.h> any more, delete it.

Quoted 18 lines
---
 drivers/watchdog/watchdog_dev.c | 2 --
 1 file changed, 2 deletions(-)
drivers/watchdog/watchdog_dev.c +0 -2
index 6798addabd5a067..0f18fa2433310b0 100644
@@ -43,8 +43,6 @@
 #include <linux/watchdog.h>	/* For watchdog specific items */
 #include <linux/uaccess.h>	/* For copy_to_user/put_user/... */
 
-#include <uapi/linux/sched/types.h>	/* For struct sched_param */
-
 #include "watchdog_core.h"
 #include "watchdog_pretimeout.h"
 
#4 lore raw
Quoted 7 lines · Guenter Roeck
Quoted 3 lines · Leizhen (ThunderTown)

Hi, Wim Van Sebroeck, Guenter Roeck:
What's your opinion? Guenter Roeck given "Reviewed-by" two weeks ago.

The patch is in my watchdog-next branch, and Wim usually picks it up from there.

Oh, thanks.

Quoted 40 lines

Guenter

Quoted 34 lines · Guenter Roeck
Quoted 31 lines · Zhen Lei
Quoted 6 lines

There has been no reference to "struct sched_param" since commit 94beddacb53c ("sched,watchdog: Convert to sched_set_fifo()"), so there's no need to include <uapi/linux/sched/types.h> any more, delete it.

Quoted 18 lines
---
 drivers/watchdog/watchdog_dev.c | 2 --
 1 file changed, 2 deletions(-)
drivers/watchdog/watchdog_dev.c +0 -2
index 6798addabd5a067..0f18fa2433310b0 100644
@@ -43,8 +43,6 @@
 #include <linux/watchdog.h>	/* For watchdog specific items */
 #include <linux/uaccess.h>	/* For copy_to_user/put_user/... */
 
-#include <uapi/linux/sched/types.h>	/* For struct sched_param */
-
 #include "watchdog_core.h"
 #include "watchdog_pretimeout.h"
 
#5 lore raw
Quoted 11 lines · Leizhen (ThunderTown)
Quoted 7 lines · Guenter Roeck
Quoted 3 lines · Leizhen (ThunderTown)

Hi, Wim Van Sebroeck, Guenter Roeck:
What's your opinion? Guenter Roeck given "Reviewed-by" two weeks ago.

The patch is in my watchdog-next branch, and Wim usually picks it up from there.

Hi, Guenter:
Have you sent [GIT PULL] updates for 5.10, I don't see this patch in linux-next.

Quoted 42 lines

Oh, thanks.

Quoted 40 lines

Guenter

Quoted 34 lines · Guenter Roeck
Quoted 31 lines · Zhen Lei
Quoted 6 lines

There has been no reference to "struct sched_param" since commit 94beddacb53c ("sched,watchdog: Convert to sched_set_fifo()"), so there's no need to include <uapi/linux/sched/types.h> any more, delete it.

Quoted 18 lines
---
 drivers/watchdog/watchdog_dev.c | 2 --
 1 file changed, 2 deletions(-)
drivers/watchdog/watchdog_dev.c +0 -2
index 6798addabd5a067..0f18fa2433310b0 100644
@@ -43,8 +43,6 @@
 #include <linux/watchdog.h>	/* For watchdog specific items */
 #include <linux/uaccess.h>	/* For copy_to_user/put_user/... */
 
-#include <uapi/linux/sched/types.h>	/* For struct sched_param */
-
 #include "watchdog_core.h"
 #include "watchdog_pretimeout.h"
 
maintainer
#6 lore raw
Quoted 11 lines · Leizhen (ThunderTown)
Quoted 8 lines · Leizhen (ThunderTown)
Quoted 5 lines · Guenter Roeck
Quoted 3 lines · Leizhen (ThunderTown)

Hi, Wim Van Sebroeck, Guenter Roeck:
What's your opinion? Guenter Roeck given "Reviewed-by" two weeks ago.

Quoted 7 lines
Quoted 3 lines
Quoted 2 lines

The patch is in my watchdog-next branch, and Wim usually picks it up from there.

Hi, Guenter:
Have you sent [GIT PULL] updates for 5.10, I don't see this patch in linux-next.

Wim does that. Unfortunately, he often does not pick up patches until shortly before he sends a pull request to Linus.

Guenter

Quoted 43 lines
Quoted 42 lines

Oh, thanks.

Quoted 40 lines

Guenter

Quoted 34 lines · Guenter Roeck
Quoted 31 lines · Zhen Lei
Quoted 6 lines

There has been no reference to "struct sched_param" since commit 94beddacb53c ("sched,watchdog: Convert to sched_set_fifo()"), so there's no need to include <uapi/linux/sched/types.h> any more, delete it.

Quoted 18 lines
---
 drivers/watchdog/watchdog_dev.c | 2 --
 1 file changed, 2 deletions(-)
drivers/watchdog/watchdog_dev.c +0 -2
index 6798addabd5a067..0f18fa2433310b0 100644
@@ -43,8 +43,6 @@
 #include <linux/watchdog.h>	/* For watchdog specific items */
 #include <linux/uaccess.h>	/* For copy_to_user/put_user/... */
 
-#include <uapi/linux/sched/types.h>	/* For struct sched_param */
-
 #include "watchdog_core.h"
 #include "watchdog_pretimeout.h"