diff options
author | 2021-01-07 11:17:17 +0000 | |
---|---|---|
committer | 2021-01-22 16:28:19 +0100 | |
commit | 26692cd93265a5d1227da8400f32efb00f57bf83 (patch) | |
tree | 92e0cf8b5e0e5de962d245e92e048fdcca093e34 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ACPI: CPPC: add __iomem annotation to generic_comm_base pointer (diff) | |
download | wireguard-linux-26692cd93265a5d1227da8400f32efb00f57bf83.tar.xz wireguard-linux-26692cd93265a5d1227da8400f32efb00f57bf83.zip |
ACPI: CPPC: initialise vaddr pointers to NULL
Properly initialise vaddr pointers in cpc_read() and cpc_write() to
NULL instead of 0.
This fixes the following sparse warnings:
drivers/acpi/cppc_acpi.c:937:31: warning: Using plain integer as NULL pointer
drivers/acpi/cppc_acpi.c:982:31: warning: Using plain integer as NULL pointer
Signed-off-by: Ionela Voinescu <ionela.voinescu@arm.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions