Ben Hutchings
b70f9d27ea
test_firmware: fix setting old custom fw path back on exit, second try
...
commit e538409257d0217a9bc715686100a5328db75a15 upstream.
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: 0a8adf5847 ("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@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-05-09 09:50:22 +02:00
..
accounting
tools: move accounting tool from Documentation
2016-09-23 13:07:15 -06:00
arch
KPTI: Rename to PAGE_TABLE_ISOLATION
2018-01-05 15:46:35 +01:00
build
tools build: Add tools tree support for 'make -s'
2018-02-25 11:05:52 +01:00
cgroup
firewire
gpio
tools/gpio: Fix build error with musl libc
2018-02-03 17:05:34 +01:00
hv
hv: kvp: Avoid reading past allocated blocks from KVP file
2017-12-14 09:28:11 +01:00
iio
Second set of iio new device support, features and cleanups for the 4.9 cycle.
2016-09-14 20:42:03 +02:00
include
tools include: Do not use poison with C++
2017-12-09 22:01:49 +01:00
kvm /kvm_stat
tools: kvm_stat: Add comments
2016-05-25 16:12:06 +02:00
laptop
tools: move laptops dslm tool from Documentation
2016-09-23 13:07:21 -06:00
lguest
tools/lguest: Don't bork the terminal in case of wrong args
2016-09-08 08:05:24 +02:00
lib
tools/lib/subcmd/pager.c: do not alias select() params
2018-05-01 15:13:09 -07:00
net
tools: bpf_jit_disasm: check for klogctl failure
2016-05-08 23:32:59 -04:00
nfsd
objtool
objtool: Improve error message for bad file argument
2018-01-23 19:57:05 +01:00
pcmcia
tools: move pcmcia crc32hash tool from Documentation
2016-09-23 13:07:27 -06:00
perf
Revert "perf tools: Decompress kernel module when reading DSO data"
2018-04-29 11:31:57 +02:00
power
cpupower : Fix cpupower working when cpu0 is offline
2018-02-03 17:05:35 +01:00
scripts
tools build: Add tools tree support for 'make -s'
2018-02-25 11:05:52 +01:00
spi
Merge remote-tracking branches 'spi/topic/ti-qspi', 'spi/topic/tools', 'spi/topic/txx9' and 'spi/topic/xlp' into spi-next
2016-09-30 09:14:22 -07:00
testing
test_firmware: fix setting old custom fw path back on exit, second try
2018-05-09 09:50:22 +02:00
thermal /tmon
time
usb
tools/usbip: fixes build with musl libc toolchain
2018-03-22 09:17:56 +01:00
virtio
tools/virtio/ringtest: fix run-on-all.sh for offline cpus
2017-01-26 08:24:46 +01:00
vm
tools/vm/page_owner: increase temporary buffer size
2016-07-26 16:19:19 -07:00
Makefile
tools/gpio: add install section
2016-06-23 11:07:13 +02:00