From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fengguang Wu Subject: [acpi:release 13/17] drivers/usb/core/usb-acpi.c:55:18: error: storage size of 'pld' isn't known Date: Fri, 21 Sep 2012 15:21:42 +0800 Message-ID: <20120921072142.GB1253@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mga01.intel.com ([192.55.52.88]:40621 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754110Ab2IUHVu (ORCPT ); Fri, 21 Sep 2012 03:21:50 -0400 Content-Disposition: inline Sender: linux-acpi-owner@vger.kernel.org List-Id: linux-acpi@vger.kernel.org To: Feng Tang Cc: Yuanhan Liu , kernel-janitors@vger.kernel.org, Len Brown , Bob Moore , linux-acpi@vger.kernel.org, linux-pm@vger.kernel.org Hi Feng, FYI, kernel build failed on tree: git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux.git release head: abd4c92003ce21c37ca0e6d9d62b93eb22ec118b commit: 8ede06aba5dffa78a27a18c47a9059eb38072ada [13/17] ACPI: Use ACPICA native way to decode the PLD buffer config: x86_64-allmodconfig [error] drivers/usb/core/usb-acpi.c:55:18: error: storage size of 'pld' isn't known [warning] drivers/usb/core/usb-acpi.c:55:18: warning: unused variable 'pld' [-Wunused-variable] vim +55 drivers/usb/core/usb-acpi.c 39 goto out; 40 } 41 42 if (upc->package.elements[0].integer.value) 43 udev->removable = USB_DEVICE_REMOVABLE; 44 else 45 udev->removable = USB_DEVICE_FIXED; 46 47 out: 48 kfree(upc); 49 return ret; 50 } 51 52 static int usb_acpi_check_pld(struct usb_device *udev, acpi_handle handle) 53 { 54 acpi_status status; > 55 struct acpi_pld pld; 56 57 status = acpi_get_physical_device_location(handle, &pld); 58 59 if (ACPI_FAILURE(status)) 60 return -ENODEV; 61 62 if (pld.user_visible) 63 udev->removable = USB_DEVICE_REMOVABLE; --- 0-DAY kernel build testing backend Open Source Technology Centre Fengguang Wu Intel Corporation