[PATCH 1/2] drm: Add drm driver for OpenCores VGA/LCD display controller

kbuild test robot lkp at intel.com
Thu Jun 9 16:44:27 UTC 2016


Hi,

[auto build test WARNING on drm/drm-next]
[also build test WARNING on v4.7-rc2 next-20160609]
[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/Andrea-Merello/Add-DRM-driver-for-OpenCores-VGA-LCD-display/20160609-215802
base:   git://people.freedesktop.org/~airlied/linux.git drm-next
config: x86_64-allmodconfig (attached as .config)
compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All warnings (new ones prefixed by >>):

   include/linux/compiler.h:232:8: sparse: attribute 'no_sanitize_address': unknown attribute
   drivers/gpu/drm/ocdrm/ocdrm_crtc.c: In function 'ocdrm_crtc_create':
>> drivers/gpu/drm/ocdrm/ocdrm_crtc.c:331:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
     if (ret)
     ^~
   drivers/gpu/drm/ocdrm/ocdrm_crtc.c:333:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
      return ret;
      ^~~~~~

vim +/if +331 drivers/gpu/drm/ocdrm/ocdrm_crtc.c

   315	
   316		drm_plane_helper_add(&priv->plane, &ocdrm_plane_helper_funcs);
   317	
   318		ret = drm_universal_plane_init(priv->drm_dev, &priv->plane, 0,
   319					&ocdrm_plane_funcs,
   320					format, ARRAY_SIZE(format),
   321					DRM_PLANE_TYPE_PRIMARY, NULL);
   322		if (ret) {
   323			dev_err(priv->drm_dev->dev, "cannot initialize plane");
   324			return ret;
   325		}
   326	
   327		drm_crtc_helper_add(&priv->crtc, &ocdrm_crtc_helper_funcs);
   328		ret = drm_crtc_init_with_planes(priv->drm_dev, &priv->crtc,
   329						&priv->plane, NULL,
   330						&ocdrm_crtc_funcs, NULL);
 > 331		if (ret)
   332			dev_err(priv->drm_dev->dev, "cannot initialize crtc");
   333			return ret;
   334	
   335		return 0;
   336	}

---
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/octet-stream
Size: 54755 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160610/534c6482/attachment-0001.obj>


More information about the dri-devel mailing list