tree: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git bleeding-edge head: e65587cfad0fd464e31bcf288c084b9f4d5c302c commit: fe2aa18300b9b49d94e509f045602beca40db0aa [122/129] ACPICA: Create and deploy safe version of strncpy config: x86_64-randconfig-x010-201800 (attached as .config) compiler: gcc-7 (Debian 7.2.0-12) 7.2.1 20171025 reproduce: git checkout fe2aa18300b9b49d94e509f045602beca40db0aa # save the attached .config to linux build tree make ARCH=x86_64 All errors (new ones prefixed by >>): In file included from drivers/acpi/acpica/accommon.h:56:0, from drivers/acpi/acpica/psutils.c:45: drivers/acpi/acpica/psutils.c: In function 'acpi_ps_init_op': >> drivers/acpi/acpica/psutils.c:97:27: error: implicit declaration of function 'acpi_ut_safe_strncpy'; did you mean 'acpi_ut_trace_str'? [-Werror=implicit-function-declaration] ACPI_DISASM_ONLY_MEMBERS(acpi_ut_safe_strncpy(op->common.aml_op_name, ^ drivers/acpi/acpica/aclocal.h:753:41: note: in definition of macro 'ACPI_DISASM_ONLY_MEMBERS' #define ACPI_DISASM_ONLY_MEMBERS(a) a; ^ cc1: some warnings being treated as errors vim +97 drivers/acpi/acpica/psutils.c > 45 #include "accommon.h" 46 #include "acparser.h" 47 #include "amlcode.h" 48 #include "acconvert.h" 49 50 #define _COMPONENT ACPI_PARSER 51 ACPI_MODULE_NAME("psutils") 52 53 /******************************************************************************* 54 * 55 * FUNCTION: acpi_ps_create_scope_op 56 * 57 * PARAMETERS: None 58 * 59 * RETURN: A new Scope object, null on failure 60 * 61 * DESCRIPTION: Create a Scope and associated namepath op with the root name 62 * 63 ******************************************************************************/ 64 union acpi_parse_object *acpi_ps_create_scope_op(u8 *aml) 65 { 66 union acpi_parse_object *scope_op; 67 68 scope_op = acpi_ps_alloc_op(AML_SCOPE_OP, aml); 69 if (!scope_op) { 70 return (NULL); 71 } 72 73 scope_op->named.name = ACPI_ROOT_NAME; 74 return (scope_op); 75 } 76 77 /******************************************************************************* 78 * 79 * FUNCTION: acpi_ps_init_op 80 * 81 * PARAMETERS: op - A newly allocated Op object 82 * opcode - Opcode to store in the Op 83 * 84 * RETURN: None 85 * 86 * DESCRIPTION: Initialize a parse (Op) object 87 * 88 ******************************************************************************/ 89 90 void acpi_ps_init_op(union acpi_parse_object *op, u16 opcode) 91 { 92 ACPI_FUNCTION_ENTRY(); 93 94 op->common.descriptor_type = ACPI_DESC_TYPE_PARSER; 95 op->common.aml_opcode = opcode; 96 > 97 ACPI_DISASM_ONLY_MEMBERS(acpi_ut_safe_strncpy(op->common.aml_op_name, 98 (acpi_ps_get_opcode_info 99 (opcode))->name, 100 sizeof(op->common. 101 aml_op_name))); 102 } 103 --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip