Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932489AbbFSDnK (ORCPT ); Thu, 18 Jun 2015 23:43:10 -0400 Received: from mga03.intel.com ([134.134.136.65]:8082 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754424AbbFSDlX (ORCPT ); Thu, 18 Jun 2015 23:41:23 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.13,642,1427785200"; d="scan'208";a="510698806" From: Lv Zheng To: "Rafael J. Wysocki" , Len Brown Cc: Lv Zheng , Lv Zheng , , linux-acpi@vger.kernel.org, Bob Moore Subject: [PATCH 26/32] ACPICA: Clib: Correct memset() declarations. Date: Fri, 19 Jun 2015 11:41:07 +0800 Message-Id: <7817ef2db27d33bc5a7d5dd39c7bea25dae7c9bf.1434684720.git.lv.zheng@intel.com> X-Mailer: git-send-email 1.7.10 In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1271 Lines: 36 ACPICA commit 00f0dc83f5cfca53b27a3213ae0d7719b88c2d6b Gcc complains memset() prototype used in the ACPICA even when the nostdinc is specified: ../../../source/include/acutils.h:418:1: error: conflicting types for built-in function 'memset' [-Werror] This patch corrects the declarations of memset(). Lv Zheng. Link: https://github.com/acpica/acpica/commit/00f0dc83 Signed-off-by: Lv Zheng Signed-off-by: Bob Moore --- drivers/acpi/acpica/acutils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/acpi/acpica/acutils.h b/drivers/acpi/acpica/acutils.h index 8f62703..6372a6b 100644 --- a/drivers/acpi/acpica/acutils.h +++ b/drivers/acpi/acpica/acutils.h @@ -234,7 +234,7 @@ int memcmp(void *buffer1, void *buffer2, acpi_size count); void *memcpy(void *dest, const void *src, acpi_size count); -void *memset(void *dest, u8 value, acpi_size count); +void *memset(void *dest, int value, acpi_size count); int toupper(int c); -- 1.7.10 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/