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:42:34: warning: 'amd_pl330' defined but not used 
[-Wunused-variable]
    static struct dma_pl330_platdata amd_pl330[] = {
                                     ^
>> drivers/acpi/acpi_apd.c:61:32: warning: 'amd_dw8250' defined but not used 
>> [-Wunused-variable]
    static struct plat_dw8250_data amd_dw8250 = {
                                   ^

vim +/amd_dw8250 +61 drivers/acpi/acpi_apd.c

    36   */
    37  #define ACPI_APD_SYSFS  BIT(0)
    38  #define ACPI_APD_PM     BIT(1)
    39  
    40  static u8 peri_id[2] = { 0, 1 };
    41  
  > 42  static struct dma_pl330_platdata amd_pl330[] = {
    43          {
    44                  .nr_valid_peri = 2,
    45                  .peri_id = peri_id,
    46                  .mcbuf_sz = 0,
    47                  .flags = IRQF_SHARED,
    48                  .base_request_line = 1,
    49                  .num = 0,
    50          },
    51          {
    52                  .nr_valid_peri = 2,
    53                  .peri_id = peri_id,
    54                  .mcbuf_sz = 0,
    55                  .flags = IRQF_SHARED,
    56                  .base_request_line = 2,
    57                  .num = 0,
    58          }
    59  };
    60  
  > 61  static struct plat_dw8250_data amd_dw8250 = {
    62          .has_pl330_dma = 1,
    63  };
    64  

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

Attachment: .config.gz
Description: Binary data

Reply via email to