[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <f80cc7ea-9d1f-64a4-7c18-faf672bf8cf6@huawei.com>
Date: Mon, 7 Sep 2020 15:50:17 +0800
From: "Leizhen (ThunderTown)" <thunder.leizhen@...wei.com>
To: Guenter Roeck <linux@...ck-us.net>,
Wim Van Sebroeck <wim@...ux-watchdog.org>,
Peter Zijlstra <peterz@...radead.org>,
Ingo Molnar <mingo@...nel.org>,
linux-watchdog <linux-watchdog@...r.kernel.org>,
linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 1/1] watchdog: remove unneeded inclusion of
<uapi/linux/sched/types.h>
Hi, Wim Van Sebroeck, Guenter Roeck:
What's your opinion? Guenter Roeck given "Reviewed-by" two weeks ago.
On 2020/8/27 21:40, Guenter Roeck wrote:
> On 8/26/20 11:21 PM, Zhen Lei wrote:
>> 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.
>>
>> Signed-off-by: Zhen Lei <thunder.leizhen@...wei.com>
>
> Reviewed-by: Guenter Roeck <linux@...ck-us.net>
>
>> ---
>> drivers/watchdog/watchdog_dev.c | 2 --
>> 1 file changed, 2 deletions(-)
>>
>> diff --git a/drivers/watchdog/watchdog_dev.c b/drivers/watchdog/watchdog_dev.c
>> index 6798addabd5a067..0f18fa2433310b0 100644
>> --- a/drivers/watchdog/watchdog_dev.c
>> +++ b/drivers/watchdog/watchdog_dev.c
>> @@ -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"
>>
>>
>
>
>
Powered by blists - more mailing lists