[PATCH v8 2/5] nouveau/hwmon: Add nouveau_hwmon_ops structure with .is_visible/.read_string
kbuild test robot
lkp at intel.com
Sun May 28 00:29:39 UTC 2017
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 61645 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20170528/5366483e/attachment-0001.gz>
More information about the dri-devel
mailing list