[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201606100041.YrBuMbRw%fengguang.wu@intel.com>
Date: Fri, 10 Jun 2016 00:44:27 +0800
From: kbuild test robot <lkp@...el.com>
To: Andrea Merello <andrea.merello@...il.com>
Cc: kbuild-all@...org, dri-devel@...ts.freedesktop.org,
airlied@...ux.ie, linux-kernel@...r.kernel.org,
Andrea Merello <andrea.merello@...il.com>,
Stefan Kristiansson <stefan.kristiansson@...nalahti.fi>,
Tomi Valkeinen <tomi.valkeinen@...com>,
Francesco Diotalevi <francesco.diotalevi@....it>,
Claudio Lorini <claudio.lorini@....it>
Subject: Re: [PATCH 1/2] drm: Add drm driver for OpenCores VGA/LCD display
controller
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
Download attachment ".config.gz" of type "application/octet-stream" (54755 bytes)
Powered by blists - more mailing lists