diff options
author | Angel Pons <th3fanbus@gmail.com> | 2022-04-03 21:10:26 +0200 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-04-04 23:56:15 +0000 |
commit | 1e124b94fc43df00abe60b067a316460384a6df1 (patch) | |
tree | fa9fa4c418da6357575b1f89bec0aac079126c29 /src/drivers/intel/dptf/Kconfig | |
parent | 32ec4526a09c8daffd8e4211f45046fea20141fa (diff) |
drivers/wifi/generic/acpi.c: NULL-check pointers before dereferencing
Checking whether a pointer is NULL after it has been dereferenced makes
zero sense. Make sure the `wifi_ssdt_write_properties()` function never
gets invoked with a NULL argument for the `dev` parameter, and simplify
the logic around the `is_cnvi_ddr_rfim_enabled` variable accordingly.
Change-Id: I3fbc9565e7e9b4e1c14a68f6a5fd779577045236
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/63340
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Singer <felixsinger@posteo.net>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Diffstat (limited to 'src/drivers/intel/dptf/Kconfig')
0 files changed, 0 insertions, 0 deletions