summaryrefslogtreecommitdiff
path: root/sound/drivers
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2017-07-18 18:04:17 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2017-07-24 22:47:56 +0200
commit6c9a58e84e59a2fc937798b623f72ae4b436547d (patch)
treee7eb7390118ac1276ed5d8702f0b72367b74cac8 /sound/drivers
parent861a6ee8142efbe80b3891fdfb09f74d726c9809 (diff)
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 'sound/drivers')
0 files changed, 0 insertions, 0 deletions