Re: [PATCH] acpi: set return value to const char for some functions
From: kbuild test robot
Date: Wed Oct 14 2015 - 15:49:27 EST
Hi LABBE,
[auto build test ERROR on pm/linux-next -- if it's inappropriate base, please suggest rules for selecting the more suitable base]
url: https://github.com/0day-ci/linux/commits/LABBE-Corentin/acpi-set-return-value-to-const-char-for-some-functions/20151015-030935
config: i386-randconfig-s1-201541 (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=i386
All errors (new ones prefixed by >>):
>> drivers/acpi/acpica/utdecode.c:414:13: error: conflicting types for 'acpi_ut_get_mutex_name'
const char *acpi_ut_get_mutex_name(u32 mutex_id)
^
In file included from drivers/acpi/acpica/accommon.h:61:0,
from drivers/acpi/acpica/utdecode.c:45:
drivers/acpi/acpica/acutils.h:187:7: note: previous declaration of 'acpi_ut_get_mutex_name' was here
char *acpi_ut_get_mutex_name(u32 mutex_id);
^
vim +/acpi_ut_get_mutex_name +414 drivers/acpi/acpica/utdecode.c
408 "ACPI_MTX_Caches",
409 "ACPI_MTX_Memory",
410 "ACPI_MTX_CommandComplete",
411 "ACPI_MTX_CommandReady"
412 };
413
> 414 const char *acpi_ut_get_mutex_name(u32 mutex_id)
415 {
416
417 if (mutex_id > ACPI_MAX_MUTEX) {
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: Binary data