linux_dsm_epyc7002/tools/testing/selftests/firmware
Ben Hutchings e538409257 test_firmware: fix setting old custom fw path back on exit, second try
Commit 65c7923057 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: 0a8adf5847 ("test: add firmware_class loader test")
Fixes: 65c7923057 ("test_firmware: fix setting old custom fw path back on exit")
Signed-off-by: Ben Hutchings <ben.hutchings@codethink.co.uk>
Acked-by: Luis R. Rodriguez <mcgrof@kernel.org>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-04-23 13:03:25 +02:00
..
config test_firmware: enable custom fallback testing on limited kernel configs 2018-03-14 19:49:24 +01:00
fw_fallback.sh test_firmware: modify custom fallback tests to use unique files 2018-03-20 09:28:47 +01:00
fw_filesystem.sh test_firmware: modify custom fallback tests to use unique files 2018-03-20 09:28:47 +01:00
fw_lib.sh test_firmware: fix setting old custom fw path back on exit, second try 2018-04-23 13:03:25 +02:00
fw_run_tests.sh test_firmware: test three firmware kernel configs using a proc knob 2018-03-20 09:28:47 +01:00
Makefile test_firmware: Install all scripts 2018-04-23 13:03:25 +02:00