Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1248067

RE: [PATCH 01/13] ACPICA: Remove unnecessary conditional compilation.

From "Moore, Robert" <robert.moore@intel.com>
Newsgroups linux.kernel
Subject RE: [PATCH 01/13] ACPICA: Remove unnecessary conditional compilation.
Date 2015-10-15 20:40 +0200
Message-ID <qjVBw-6l0-7@gated-at.bofh.it> (permalink)
References <qjG9s-AK-23@gated-at.bofh.it> <qjT6G-2yx-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


This appears as though it is related to this conditional:

#if defined(ACPI_DEBUG_OUTPUT) || defined(ACPI_DEBUGGER)
/*
 * rsinfo
 */
extern ACPI_RSDUMP_INFO         *AcpiGbl_DumpResourceDispatch[];
extern ACPI_RSDUMP_INFO         *AcpiGbl_DumpSerialBusDispatch[];


So, I'm going to let Lv take a look at this.
Bob



> -----Original Message-----
> From: lkp
> Sent: Thursday, October 15, 2015 8:51 AM
> To: Zheng, Lv
> Cc: kbuild-all@01.org; Wysocki, Rafael J; Brown, Len; Zheng, Lv; Lv Zheng;
> linux-kernel@vger.kernel.org; linux-acpi@vger.kernel.org; Moore, Robert
> Subject: Re: [PATCH 01/13] ACPICA: Remove unnecessary conditional
> compilation.
> 
> Hi Bob,
> 
> [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/Lv-Zheng/ACPICA-20150930-
> Release/20151015-101636
> config: x86_64-lkp (attached as .config)
> reproduce:
>         # save the attached .config to linux build tree
>         make ARCH=x86_64
> 
> All errors (new ones prefixed by >>):
> 
>    drivers/acpi/acpica/rsdump.c: In function 'acpi_rs_dump_resource_list':
> >> drivers/acpi/acpica/rsdump.c:136:7: error:
> >> 'acpi_gbl_dump_serial_bus_dispatch' undeclared (first use in this
> >> function)
>           acpi_gbl_dump_serial_bus_dispatch
>           ^
>    drivers/acpi/acpica/rsdump.c:136:7: note: each undeclared identifier is
> reported only once for each function it appears in
> >> drivers/acpi/acpica/rsdump.c:141:7: error:
> >> 'acpi_gbl_dump_resource_dispatch' undeclared (first use in this
> >> function)
>           acpi_gbl_dump_resource_dispatch
>           ^
>    drivers/acpi/acpica/rsdump.c: In function 'acpi_rs_dump_irq_list':
> >> drivers/acpi/acpica/rsdump.c:186:40: error: 'acpi_rs_dump_prt'
> >> undeclared (first use in this function)
>       acpi_rs_dump_descriptor(prt_element, acpi_rs_dump_prt);
>                                            ^
>    drivers/acpi/acpica/rsdump.c: In function
> 'acpi_rs_dump_address_common':
> >> drivers/acpi/acpica/rsdump.c:445:37: error:
> >> 'acpi_rs_dump_memory_flags' undeclared (first use in this function)
>       acpi_rs_dump_descriptor(resource, acpi_rs_dump_memory_flags);
>                                         ^
> >> drivers/acpi/acpica/rsdump.c:450:37: error: 'acpi_rs_dump_io_flags'
> >> undeclared (first use in this function)
>       acpi_rs_dump_descriptor(resource, acpi_rs_dump_io_flags);
>                                         ^
> >> drivers/acpi/acpica/rsdump.c:467:36: error:
> >> 'acpi_rs_dump_general_flags' undeclared (first use in this function)
>      acpi_rs_dump_descriptor(resource, acpi_rs_dump_general_flags);
>                                        ^
> 
> vim +/acpi_gbl_dump_serial_bus_dispatch +136 drivers/acpi/acpica/rsdump.c
> 
> 39239fed Bob Moore 2015-04-13  130  		}
> 39239fed Bob Moore 2015-04-13  131
> 39239fed Bob Moore 2015-04-13  132  		/* Dump the resource
> descriptor */
> 39239fed Bob Moore 2015-04-13  133
> 39239fed Bob Moore 2015-04-13  134  		if (type ==
> ACPI_RESOURCE_TYPE_SERIAL_BUS) {
> 39239fed Bob Moore 2015-04-13  135
> 	acpi_rs_dump_descriptor(&resource_list->data,
> 39239fed Bob Moore 2015-04-13 @136
> 	acpi_gbl_dump_serial_bus_dispatch
> 39239fed Bob Moore 2015-04-13  137
> 	[resource_list->data.
> 39239fed Bob Moore 2015-04-13  138
> common_serial_bus.type]);
> 39239fed Bob Moore 2015-04-13  139  		} else {
> 39239fed Bob Moore 2015-04-13  140
> 	acpi_rs_dump_descriptor(&resource_list->data,
> 39239fed Bob Moore 2015-04-13 @141
> 	acpi_gbl_dump_resource_dispatch
> 39239fed Bob Moore 2015-04-13  142
> 	[type]);
> 39239fed Bob Moore 2015-04-13  143  		}
> 39239fed Bob Moore 2015-04-13  144
> 39239fed Bob Moore 2015-04-13  145  		/* Point to the next
> resource structure */
> 39239fed Bob Moore 2015-04-13  146
> 39239fed Bob Moore 2015-04-13  147  		resource_list =
> ACPI_NEXT_RESOURCE(resource_list);
> 39239fed Bob Moore 2015-04-13  148
> 39239fed Bob Moore 2015-04-13  149  		/* Exit when END_TAG
> descriptor is reached */
> 39239fed Bob Moore 2015-04-13  150
> 39239fed Bob Moore 2015-04-13  151  	} while (type !=
> ACPI_RESOURCE_TYPE_END_TAG);
> 39239fed Bob Moore 2015-04-13  152  }
> 39239fed Bob Moore 2015-04-13  153
> 39239fed Bob Moore 2015-04-13  154
> /*************************************************************************
> ******
> 39239fed Bob Moore 2015-04-13  155   *
> 39239fed Bob Moore 2015-04-13  156   * FUNCTION:    acpi_rs_dump_irq_list
> 39239fed Bob Moore 2015-04-13  157   *
> 39239fed Bob Moore 2015-04-13  158   * PARAMETERS:  route_table     -
> Pointer to the routing table to dump.
> 39239fed Bob Moore 2015-04-13  159   *
> 39239fed Bob Moore 2015-04-13  160   * RETURN:      None
> 39239fed Bob Moore 2015-04-13  161   *
> 39239fed Bob Moore 2015-04-13  162   * DESCRIPTION: Print IRQ routing
> table
> 39239fed Bob Moore 2015-04-13  163   *
> 39239fed Bob Moore 2015-04-13  164
> **************************************************************************
> ****/
> 39239fed Bob Moore 2015-04-13  165
> 39239fed Bob Moore 2015-04-13  166  void acpi_rs_dump_irq_list(u8
> *route_table) 39239fed Bob Moore 2015-04-13  167  {
> 39239fed Bob Moore 2015-04-13  168  	struct acpi_pci_routing_table
> *prt_element;
> 39239fed Bob Moore 2015-04-13  169  	u8 count;
> 39239fed Bob Moore 2015-04-13  170
> 39239fed Bob Moore 2015-04-13  171  	ACPI_FUNCTION_ENTRY();
> 39239fed Bob Moore 2015-04-13  172
> 39239fed Bob Moore 2015-04-13  173  	/* Check if debug output enabled
> */
> 39239fed Bob Moore 2015-04-13  174
> 39239fed Bob Moore 2015-04-13  175  	if
> (!ACPI_IS_DEBUG_ENABLED(ACPI_LV_RESOURCES, _COMPONENT)) {
> 39239fed Bob Moore 2015-04-13  176  		return;
> 39239fed Bob Moore 2015-04-13  177  	}
> 39239fed Bob Moore 2015-04-13  178
> 39239fed Bob Moore 2015-04-13  179  	prt_element =
> ACPI_CAST_PTR(struct acpi_pci_routing_table, route_table);
> 39239fed Bob Moore 2015-04-13  180
> 39239fed Bob Moore 2015-04-13  181  	/* Dump all table elements, Exit
> on zero length element */
> 39239fed Bob Moore 2015-04-13  182
> 39239fed Bob Moore 2015-04-13  183  	for (count = 0; prt_element-
> >length; count++) {
> 39239fed Bob Moore 2015-04-13  184  		acpi_os_printf("\n[%02X]
> PCI IRQ Routing Table Package\n",
> 39239fed Bob Moore 2015-04-13  185  			       count);
> 39239fed Bob Moore 2015-04-13 @186
> 	acpi_rs_dump_descriptor(prt_element, acpi_rs_dump_prt);
> 39239fed Bob Moore 2015-04-13  187
> 39239fed Bob Moore 2015-04-13  188  		prt_element =
> ACPI_ADD_PTR(struct acpi_pci_routing_table,
> 39239fed Bob Moore 2015-04-13  189
> prt_element, prt_element->length);
> 
> :::::: The code at line 136 was first introduced by commit
> :::::: 39239fedbfb5493d5804d6cefb806fd208a006c5 ACPICA: Update Resource
> descriptor dump module.
> 
> :::::: TO: Bob Moore <robert.moore@intel.com>
> :::::: CC: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
> 
> ---
> 0-DAY kernel test infrastructure                Open Source Technology
> Center
> https://lists.01.org/pipermail/kbuild-all                   Intel
> Corporation
--
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/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 00/13] ACPICA: 20150930 Release Lv Zheng <lv.zheng@intel.com> - 2015-10-15 04:10 +0200
  [PATCH 05/13] ACPICA: Update NFIT table to rename a flags field Lv Zheng <lv.zheng@intel.com> - 2015-10-15 04:10 +0200
  [PATCH 07/13] ACPICA: iASL: General cleanup of the file suffix #defines Lv Zheng <lv.zheng@intel.com> - 2015-10-15 04:10 +0200
  [PATCH 01/13] ACPICA: Remove unnecessary conditional compilation. Lv Zheng <lv.zheng@intel.com> - 2015-10-15 04:10 +0200
    Re: [PATCH 01/13] ACPICA: Remove unnecessary conditional compilation. kbuild test robot <lkp@intel.com> - 2015-10-15 18:00 +0200
      RE: [PATCH 01/13] ACPICA: Remove unnecessary conditional  compilation. "Moore, Robert" <robert.moore@intel.com> - 2015-10-15 20:40 +0200
        RE: [PATCH 01/13] ACPICA: Remove unnecessary conditional  compilation. "Zheng, Lv" <lv.zheng@intel.com> - 2015-10-16 03:10 +0200
          Re: [PATCH 01/13] ACPICA: Remove unnecessary conditional compilation. "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2015-10-16 15:20 +0200
  [PATCH 11/13] ACPI: Enable build of AML interpreter debugger Lv Zheng <lv.zheng@intel.com> - 2015-10-15 04:10 +0200
  [PATCH 03/13] ACPICA: Update exception code for "file not found" error Lv Zheng <lv.zheng@intel.com> - 2015-10-15 04:10 +0200
  [PATCH 04/13] ACPICA: Debugger: Update mutexes used for multithreaded debugger Lv Zheng <lv.zheng@intel.com> - 2015-10-15 04:20 +0200
  [PATCH 06/13] ACPICA: Improve typechecking, both compile-time and runtime Lv Zheng <lv.zheng@intel.com> - 2015-10-15 04:20 +0200
  [PATCH 09/13] ACPICA: Debugger: Fix "quit/exit" command by cleaning up user commands termination logic Lv Zheng <lv.zheng@intel.com> - 2015-10-15 04:20 +0200

csiph-web