diff options
author | João Paulo Rechi Vita <jprvita@gmail.com> | 2018-06-30 01:12:46 +0300 |
---|---|---|
committer | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2018-07-02 16:48:22 +0300 |
commit | eca4c4e47eb0658ad251f0bff465e23c055377da (patch) | |
tree | c7fda948c191bd93a68fb14ac1b11407559d7ece /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 6bb6ec285df9a20128f8b0ed7cdaad7152208eb8 (diff) | |
download | linux-eca4c4e47eb0658ad251f0bff465e23c055377da.tar.xz |
platform/x86: asus-wireless: Fix uninitialized symbol usage
'ret' will not be initialized if acpi_evaluate_integer() returns through
an error path, so it should not be used in this case. This fixes the
following Smatch static analyser error:
drivers/platform/x86/asus-wireless.c:76 asus_wireless_method() error:
uninitialized symbol 'ret'.
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: João Paulo Rechi Vita <jprvita@endlessm.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions