drivers/gpu/drm/udl/udl_fb.c:206: error: 'struct fb_info' has no member named 'fbdefio'
From: kbuild test robot
Date: Sun Aug 14 2016 - 09:58:19 EST
Hi Tobias,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 118253a593bd1c57de2d1193df1ccffe1abe745b
commit: c0f0c177b5a9aa6d3791aa497a64a20a297ebc6f drm/udl: make fbdev support really optional
date: 4 weeks ago
config: x86_64-randconfig-b0-08142022 (attached as .config)
compiler: gcc-4.4 (Debian 4.4.7-8) 4.4.7
reproduce:
git checkout c0f0c177b5a9aa6d3791aa497a64a20a297ebc6f
# save the attached .config to linux build tree
make ARCH=x86_64
All errors (new ones prefixed by >>):
drivers/gpu/drm/udl/udl_fb.c: In function 'udl_fb_open':
>> drivers/gpu/drm/udl/udl_fb.c:206: error: 'struct fb_info' has no member named 'fbdefio'
>> drivers/gpu/drm/udl/udl_fb.c:211: error: invalid application of 'sizeof' to incomplete type 'struct fb_deferred_io'
drivers/gpu/drm/udl/udl_fb.c:214: error: dereferencing pointer to incomplete type
drivers/gpu/drm/udl/udl_fb.c:215: error: dereferencing pointer to incomplete type
drivers/gpu/drm/udl/udl_fb.c:218: error: 'struct fb_info' has no member named 'fbdefio'
drivers/gpu/drm/udl/udl_fb.c: In function 'udl_fb_release':
drivers/gpu/drm/udl/udl_fb.c:238: error: 'struct fb_info' has no member named 'fbdefio'
drivers/gpu/drm/udl/udl_fb.c:240: error: 'struct fb_info' has no member named 'fbdefio'
drivers/gpu/drm/udl/udl_fb.c:241: error: 'struct fb_info' has no member named 'fbdefio'
vim +206 drivers/gpu/drm/udl/udl_fb.c
5320918b Dave Airlie 2010-12-15 200 /* If the USB device is gone, we don't accept new opens */
5320918b Dave Airlie 2010-12-15 201 if (drm_device_is_unplugged(udl->ddev))
5320918b Dave Airlie 2010-12-15 202 return -ENODEV;
5320918b Dave Airlie 2010-12-15 203
5320918b Dave Airlie 2010-12-15 204 ufbdev->fb_count++;
5320918b Dave Airlie 2010-12-15 205
5320918b Dave Airlie 2010-12-15 @206 if (fb_defio && (info->fbdefio == NULL)) {
5320918b Dave Airlie 2010-12-15 207 /* enable defio at last moment if not disabled by client */
5320918b Dave Airlie 2010-12-15 208
5320918b Dave Airlie 2010-12-15 209 struct fb_deferred_io *fbdefio;
5320918b Dave Airlie 2010-12-15 210
5320918b Dave Airlie 2010-12-15 @211 fbdefio = kmalloc(sizeof(struct fb_deferred_io), GFP_KERNEL);
5320918b Dave Airlie 2010-12-15 212
5320918b Dave Airlie 2010-12-15 213 if (fbdefio) {
5320918b Dave Airlie 2010-12-15 214 fbdefio->delay = DL_DEFIO_WRITE_DELAY;
:::::: The code at line 206 was first introduced by commit
:::::: 5320918b9a87865223fd6b228e530bf30bc64d9d drm/udl: initial UDL driver (v4)
:::::: TO: Dave Airlie <airlied@xxxxxxxxx>
:::::: CC: Dave Airlie <airlied@xxxxxxxxxx>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: Binary data