Hi Oscar,

[auto build test ERROR on drm/drm-next]
[also build test ERROR on v4.12-rc2 next-20170526]
[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/Oscar-Salvador/replace-hwmon_device_register-for-hwmon_device_register_with_info/20170519-053456
base:   git://people.freedesktop.org/~airlied/linux.git drm-next
config: arm-allyesconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        wget 
https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O 
~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=arm 

All errors (new ones prefixed by >>):

>> drivers/gpu/drm/nouveau/nouveau_hwmon.c:922:17: error: initialization from 
>> incompatible pointer type [-Werror=incompatible-pointer-types]
     .read_string = nouveau_read_string,
                    ^~~~~~~~~~~~~~~~~~~
   drivers/gpu/drm/nouveau/nouveau_hwmon.c:922:17: note: (near initialization 
for 'nouveau_hwmon_ops.read_string')
   cc1: some warnings being treated as errors

vim +922 drivers/gpu/drm/nouveau/nouveau_hwmon.c

   916          return -EOPNOTSUPP;
   917  }
   918  
   919  static const struct hwmon_ops nouveau_hwmon_ops = {
   920          .is_visible = nouveau_is_visible,
   921          .read = NULL,
 > 922          .read_string = nouveau_read_string,
   923          .write = NULL,
   924  };
   925  

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

Attachment: .config.gz
Description: application/gzip

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Reply via email to