Re: [PATCH v7 1/2] soc: qcom: Add SoC info driver

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

 



Hi Imran,

[auto build test ERROR on linus/master]
[also build test ERROR on v4.10-rc2 next-20170103]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Imran-Khan/soc-qcom-Add-SoC-info-driver/20170104-025038
config: arm64-defconfig (attached as .config)
compiler: aarch64-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=arm64 

All error/warnings (new ones prefixed by >>):

   drivers/soc/qcom/smem.c: In function 'qcom_smem_probe':
>> drivers/soc/qcom/smem.c:757:20: error: passing argument 1 of 'qcom_socinfo_init' from incompatible pointer type [-Werror=incompatible-pointer-types]
     qcom_socinfo_init(&pdev->dev);
                       ^
   drivers/soc/qcom/smem.c:89:13: note: expected 'struct platform_device *' but argument is of type 'struct device *'
    extern void qcom_socinfo_init(struct platform_device *pdev);
                ^~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors
--
   drivers/soc/qcom/socinfo.c: In function 'qcom_socinfo_init':
>> drivers/soc/qcom/socinfo.c:498:5: warning: ignoring return value of 'sysfs_create_group', declared with attribute warn_unused_result [-Wunused-result]
        sysfs_create_group(&dev->kobj, smem_img_tbl[i]);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

vim +/qcom_socinfo_init +757 drivers/soc/qcom/smem.c

   751		smem->hwlock = hwspin_lock_request_specific(hwlock_id);
   752		if (!smem->hwlock)
   753			return -ENXIO;
   754	
   755		__smem = smem;
   756	
 > 757		qcom_socinfo_init(&pdev->dev);
   758	
   759		return 0;
   760	}

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

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux