diff options
| author | 2017-07-18 18:04:17 +0300 | |
|---|---|---|
| committer | 2017-07-24 22:47:56 +0200 | |
| commit | 6c9a58e84e59a2fc937798b623f72ae4b436547d (patch) | |
| tree | e7eb7390118ac1276ed5d8702f0b72367b74cac8 /tools/perf/scripts/python/call-graph-from-sql.py | |
| parent | ACPI / boot: Don't define unused variables (diff) | |
| download | linux-rng-6c9a58e84e59a2fc937798b623f72ae4b436547d.tar.xz linux-rng-6c9a58e84e59a2fc937798b623f72ae4b436547d.zip | |
ACPI / boot: Correct address space of __acpi_map_table()
Sparse complains about wrong address space used in __acpi_map_table()
and in __acpi_unmap_table().
arch/x86/kernel/acpi/boot.c:127:29: warning: incorrect type in return expression (different address spaces)
arch/x86/kernel/acpi/boot.c:127:29: expected char *
arch/x86/kernel/acpi/boot.c:127:29: got void [noderef] <asn:2>*
arch/x86/kernel/acpi/boot.c:135:23: warning: incorrect type in argument 1 (different address spaces)
arch/x86/kernel/acpi/boot.c:135:23: expected void [noderef] <asn:2>*addr
arch/x86/kernel/acpi/boot.c:135:23: got char *map
Correct address space to be in align of type of returned and passed
parameter.
Reviewed-by: Hanjun Guo <guohanjun@huawei.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions
