[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180418203808.GQ30543@wotan.suse.de>
Date: Wed, 18 Apr 2018 22:38:09 +0200
From: "Luis R. Rodriguez" <mcgrof@...nel.org>
To: Ben Hutchings <ben.hutchings@...ethink.co.uk>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
"Luis R. Rodriguez" <mcgrof@...nel.org>,
Shuah Khan <shuah@...nel.org>, linux-kselftest@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH driver-core 2/2] test_firmware: fix setting old custom fw
path back on exit, second try
On Wed, Apr 04, 2018 at 10:38:49PM +0200, Ben Hutchings wrote:
> Commit 65c79230576 tried to clear the custom firmware path on exit by
> writing a single space to the firmware_class.path parameter. This
> doesn't work because nothing strips this space from the value stored
> and fw_get_filesystem_firmware() only ignores zero-length paths.
>
> Instead, write a null byte.
>
> Fixes: 0a8adf58475 ("test: add firmware_class loader test")
> Fixes: 65c79230576 ("test_firmware: fix setting old custom fw path back on exit")
> Signed-off-by: Ben Hutchings <ben.hutchings@...ethink.co.uk>
Acked-by: Luis R. Rodriguez <mcgrof@...nel.org>
Greg, let me know if you want to take these two in now, or if you want me to
queue them up on my own and then send you what I get in the queue later.
Luis
Powered by blists - more mailing lists