From: Fengguang Wu <fengguang.wu@intel.com>
To: Feng Tang <feng.tang@intel.com>
Cc: Yuanhan Liu <yuanhan.liu@intel.com>,
kernel-janitors@vger.kernel.org, Len Brown <len.brown@intel.com>,
Bob Moore <robert.moore@intel.com>,
linux-acpi@vger.kernel.org, linux-pm@vger.kernel.org
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 07:21:42 +0000 [thread overview]
Message-ID: <20120921072142.GB1253@localhost> (raw)
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 <wfg@linux.intel.com> Intel Corporation
WARNING: multiple messages have this Message-ID (diff)
From: Fengguang Wu <fengguang.wu@intel.com>
To: Feng Tang <feng.tang@intel.com>
Cc: Yuanhan Liu <yuanhan.liu@intel.com>,
kernel-janitors@vger.kernel.org, Len Brown <len.brown@intel.com>,
Bob Moore <robert.moore@intel.com>,
linux-acpi@vger.kernel.org, linux-pm@vger.kernel.org
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 [thread overview]
Message-ID: <20120921072142.GB1253@localhost> (raw)
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 <wfg@linux.intel.com> Intel Corporation
next reply other threads:[~2012-09-21 7:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-21 7:21 Fengguang Wu [this message]
2012-09-21 7:21 ` [acpi:release 13/17] drivers/usb/core/usb-acpi.c:55:18: error: storage size of 'pld' isn't known Fengguang Wu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120921072142.GB1253@localhost \
--to=fengguang.wu@intel.com \
--cc=feng.tang@intel.com \
--cc=kernel-janitors@vger.kernel.org \
--cc=len.brown@intel.com \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=robert.moore@intel.com \
--cc=yuanhan.liu@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.