[acpi:release 13/17] drivers/usb/core/usb-acpi.c:55:18: error: storage size of 'pld' isn't known

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx>                     Intel Corporation
--
To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux