Hi Suman,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on arm/for-next]
[cannot apply to v5.3-rc6 next-20190827]
[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/Suman-Anna/OMAP-IOMMU-fixes-to-go-with-5-4-OMAP-IOMMU-changes/20190827-121217
base:   git://git.armlinux.org.uk/~rmk/linux-arm.git for-next
config: arm-allmodconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 7.4.0
reproduce:
        wget 
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O 
~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        GCC_VERSION=7.4.0 make.cross ARCH=arm 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <[email protected]>

All errors (new ones prefixed by >>):

   arch/arm/mach-omap2/pdata-quirks.c:92:3: error: 'struct iommu_platform_data' 
has no member named 'device_enable'
     .device_enable = omap_device_enable,
      ^~~~~~~~~~~~~
   arch/arm/mach-omap2/pdata-quirks.c:92:19: warning: excess elements in struct 
initializer
     .device_enable = omap_device_enable,
                      ^~~~~~~~~~~~~~~~~~
   arch/arm/mach-omap2/pdata-quirks.c:92:19: note: (near initialization for 
'omap3_iommu_pdata')
   arch/arm/mach-omap2/pdata-quirks.c:93:3: error: 'struct iommu_platform_data' 
has no member named 'device_idle'
     .device_idle = omap_device_idle,
      ^~~~~~~~~~~
   arch/arm/mach-omap2/pdata-quirks.c:93:17: warning: excess elements in struct 
initializer
     .device_idle = omap_device_idle,
                    ^~~~~~~~~~~~~~~~
   arch/arm/mach-omap2/pdata-quirks.c:93:17: note: (near initialization for 
'omap3_iommu_pdata')
   arch/arm/mach-omap2/pdata-quirks.c:97:3: error: 'struct iommu_platform_data' 
has no member named 'device_enable'
     .device_enable = omap_device_enable,
      ^~~~~~~~~~~~~
>> arch/arm/mach-omap2/pdata-quirks.c:97:19: error: initialization from 
>> incompatible pointer type [-Werror=incompatible-pointer-types]
     .device_enable = omap_device_enable,
                      ^~~~~~~~~~~~~~~~~~
   arch/arm/mach-omap2/pdata-quirks.c:97:19: note: (near initialization for 
'omap3_iommu_isp_pdata.reset_name')
   arch/arm/mach-omap2/pdata-quirks.c:98:3: error: 'struct iommu_platform_data' 
has no member named 'device_idle'
     .device_idle = omap_device_idle,
      ^~~~~~~~~~~
   arch/arm/mach-omap2/pdata-quirks.c:98:17: error: initialization from 
incompatible pointer type [-Werror=incompatible-pointer-types]
     .device_idle = omap_device_idle,
                    ^~~~~~~~~~~~~~~~
   arch/arm/mach-omap2/pdata-quirks.c:98:17: note: (near initialization for 
'omap3_iommu_isp_pdata.assert_reset')
   arch/arm/mach-omap2/pdata-quirks.c:434:3: error: 'struct 
iommu_platform_data' has no member named 'device_enable'
     .device_enable = omap_device_enable,
      ^~~~~~~~~~~~~
   arch/arm/mach-omap2/pdata-quirks.c:434:19: warning: excess elements in 
struct initializer
     .device_enable = omap_device_enable,
                      ^~~~~~~~~~~~~~~~~~
   arch/arm/mach-omap2/pdata-quirks.c:434:19: note: (near initialization for 
'omap4_iommu_pdata')
   arch/arm/mach-omap2/pdata-quirks.c:435:3: error: 'struct 
iommu_platform_data' has no member named 'device_idle'
     .device_idle = omap_device_idle,
      ^~~~~~~~~~~
   arch/arm/mach-omap2/pdata-quirks.c:435:17: warning: excess elements in 
struct initializer
     .device_idle = omap_device_idle,
                    ^~~~~~~~~~~~~~~~
   arch/arm/mach-omap2/pdata-quirks.c:435:17: note: (near initialization for 
'omap4_iommu_pdata')
   cc1: some warnings being treated as errors

vim +97 arch/arm/mach-omap2/pdata-quirks.c

    87  
    88  static struct iommu_platform_data omap3_iommu_pdata = {
    89          .reset_name = "mmu",
    90          .assert_reset = omap_device_assert_hardreset,
    91          .deassert_reset = omap_device_deassert_hardreset,
    92          .device_enable = omap_device_enable,
  > 93          .device_idle = omap_device_idle,
    94  };
    95  
    96  static struct iommu_platform_data omap3_iommu_isp_pdata = {
  > 97          .device_enable = omap_device_enable,
    98          .device_idle = omap_device_idle,
    99  };
   100  

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

Attachment: .config.gz
Description: application/gzip

_______________________________________________
iommu mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/iommu

Reply via email to