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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: .config.gz
Description: Binary data

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

[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux