Re: [PATCH 4/6] dmaengine: pl330: add new items for pl330 private data

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

 



Hi Wang,

[auto build test WARNING on v4.4-rc8]
[cannot apply to tty/tty-testing pm/linux-next next-20151231]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url:    https://github.com/0day-ci/linux/commits/Wang-Hongcheng/8250-AMD-Carrizo-UART-PL300-DMA-enablement/20160104-133639
config: x86_64-randconfig-x013-01040119 (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All warnings (new ones prefixed by >>):

>> drivers/acpi/acpi_apd.c:41:34: warning: 'amd_pl330' defined but not used [-Wunused-variable]
    static struct dma_pl330_platdata amd_pl330 = {
                                     ^

vim +/amd_pl330 +41 drivers/acpi/acpi_apd.c

    25	#include <linux/amba/pl330.h>
    26	
    27	#include "internal.h"
    28	
    29	ACPI_MODULE_NAME("acpi_apd");
    30	struct apd_private_data;
    31	
    32	/**
    33	 * ACPI_APD_SYSFS : add device attributes in sysfs
    34	 * ACPI_APD_PM : attach power domain to device
    35	 */
    36	#define ACPI_APD_SYSFS	BIT(0)
    37	#define ACPI_APD_PM	BIT(1)
    38	
    39	static u8 peri_id[2] = { 0, 1 };
    40	
  > 41	static struct dma_pl330_platdata amd_pl330 = {
    42		.nr_valid_peri = 2,
    43		.peri_id = peri_id,
    44		.mcbuf_sz = 0,
    45		.flags = IRQF_SHARED,
    46	};
    47	/**
    48	 * struct apd_device_desc - a descriptor for apd device
    49	 * @flags: device flags like %ACPI_APD_SYSFS, %ACPI_APD_PM

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: Binary data


[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux