Hi Varadarajan,

[auto build test WARNING on: robh/for-next]
[also build test WARNING on: v4.4-rc1 next-20151116]

url:    
https://github.com/0day-ci/linux/commits/Matthew-McClintock/pinctrl-qcom-ipq4019-Add-IPQ4019-pinctrl-support/20151117-050512
base:   https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux for-next
config: x86_64-allmodconfig (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All warnings (new ones prefixed by >>):

   drivers/clk/qcom/gcc-ipq4019.c: In function 'gcc_ipq4019_probe':
>> drivers/clk/qcom/gcc-ipq4019.c:1329:17: warning: unused variable 'dev' 
>> [-Wunused-variable]
     struct device *dev = &pdev->dev;
                    ^

vim +/dev +1329 drivers/clk/qcom/gcc-ipq4019.c

  1313  static const struct qcom_cc_desc gcc_ipq4019_desc = {
  1314          .config = &gcc_ipq4019_regmap_config,
  1315          .clks = gcc_ipq4019_clocks,
  1316          .num_clks = ARRAY_SIZE(gcc_ipq4019_clocks),
  1317          .resets = gcc_ipq4019_resets,
  1318          .num_resets = ARRAY_SIZE(gcc_ipq4019_resets),
  1319  };
  1320  
  1321  static const struct of_device_id gcc_ipq4019_match_table[] = {
  1322          { .compatible = "qcom,gcc-ipq4019" },
  1323          { }
  1324  };
  1325  MODULE_DEVICE_TABLE(of, gcc_ipq4019_match_table);
  1326  
  1327  static int gcc_ipq4019_probe(struct platform_device *pdev)
  1328  {
> 1329          struct device *dev = &pdev->dev;
  1330  
  1331  
  1332          return qcom_cc_probe(pdev, &gcc_ipq4019_desc);
  1333  }
  1334  
  1335  static struct platform_driver gcc_ipq4019_driver = {
  1336          .probe          = gcc_ipq4019_probe,
  1337          .driver         = {

---
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