diff options
author | Greg Kurz <groug@kaod.org> | 2021-04-08 08:51:19 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2021-05-14 10:26:18 -0400 |
commit | 43bea443575772bdabd13781be043468c205d6cf (patch) | |
tree | f47a312c1e0dd2b605220eafb1da5d41517f6888 /scripts/cleanup-trace-events.pl | |
parent | c4f5dcc4360a02085a633fd7a90b7ac395ca1ba4 (diff) | |
download | qemu-43bea443575772bdabd13781be043468c205d6cf.zip qemu-43bea443575772bdabd13781be043468c205d6cf.tar.gz qemu-43bea443575772bdabd13781be043468c205d6cf.tar.bz2 |
checkpatch: Fix use of uninitialized value
checkfilename() doesn't always set $acpi_testexpected. Fix the following
warning:
Use of uninitialized value $acpi_testexpected in string eq at
./scripts/checkpatch.pl line 1529.
Fixes: d2f1af0e4120 ("checkpatch: don't emit warning on newly created acpi data files")
Cc: isaku.yamahata@intel.com
Signed-off-by: Greg Kurz <groug@kaod.org>
Message-Id: <161786467973.295167.5612704777283969903.stgit@bahia.lan>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'scripts/cleanup-trace-events.pl')
0 files changed, 0 insertions, 0 deletions