[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201510150323.gQ6o60K3%fengguang.wu@intel.com>
Date: Thu, 15 Oct 2015 03:48:06 +0800
From: kbuild test robot <lkp@...el.com>
To: LABBE Corentin <clabbe.montjoie@...il.com>
Cc: kbuild-all@...org, robert.moore@...el.com, lv.zheng@...el.com,
rafael.j.wysocki@...el.com, lenb@...nel.org,
linux-acpi@...r.kernel.org, devel@...ica.org,
linux-kernel@...r.kernel.org,
LABBE Corentin <clabbe.montjoie@...il.com>
Subject: Re: [PATCH] acpi: set return value to const char for some functions
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
Download attachment ".config.gz" of type "application/octet-stream" (24803 bytes)
Powered by blists - more mailing lists