[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190918113348.GA23977@vmlxhi-102.adit-jv.com>
Date: Wed, 18 Sep 2019 13:33:48 +0200
From: Eugeniu Rosca <erosca@...adit-jv.com>
To: Shuah Khan <shuah@...nel.org>
CC: Eugeniu Rosca <erosca@...adit-jv.com>,
Eugeniu Rosca <roscaeugeniu@...il.com>,
"George G. Davis" <george_davis@...tor.com>,
Jerry Hoemann <jerry.hoemann@....com>,
Colin Ian King <colin.king@...onical.com>,
<linux-kselftest@...r.kernel.org>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v3 1/2] selftests: watchdog: Validate optional file
argument
Hi Shuah,
On Tue, Sep 17, 2019 at 08:40:22PM +0200, Eugeniu Rosca wrote:
> From: "George G. Davis" <george_davis@...tor.com>
>
> The newly added optional file argument does not validate if the
> file is indeed a watchdog, e.g.:
>
> ./watchdog-test -f /dev/zero
> Watchdog Ticking Away!
>
> Fix it by confirming that the WDIOC_GETSUPPORT ioctl succeeds.
>
> Fixes: c3f2490d6e9257 ("selftests: watchdog: Add optional file argument")
> Reported-by: Eugeniu Rosca <erosca@...adit-jv.com>
> Signed-off-by: George G. Davis <george_davis@...tor.com>
> Signed-off-by: Eugeniu Rosca <erosca@...adit-jv.com>
> ---
> v3:
> - Used v1 as starting point and simplified commit description
> - Added Fixes tag (WARNING: commit id is from linux-next!)
> - No change in the contents
> - Applied cleanly to the same base as used in [v1]
Can we have your confirmation the patches look fine now?
--
Best Regards,
Eugeniu
Powered by blists - more mailing lists