From: kernel test robot <lkp@intel.com>
To: Philipp Zabel <p.zabel@pengutronix.de>, dri-devel@lists.freedesktop.org
Cc: clang-built-linux@googlegroups.com, kbuild-all@lists.01.org,
Thomas Zimmermann <tzimmermann@suse.de>,
kernel@pengutronix.de
Subject: Re: [PATCH 4/4] drm/crtc: add drmm_crtc_alloc_with_planes()
Date: Thu, 27 Aug 2020 05:29:37 +0800 [thread overview]
Message-ID: <202008270509.2QXZjqeL%lkp@intel.com> (raw)
In-Reply-To: <20200826123506.19560-4-p.zabel@pengutronix.de>
[-- Attachment #1: Type: text/plain, Size: 3477 bytes --]
Hi Philipp,
I love your patch! Perhaps something to improve:
[auto build test WARNING on drm-intel/for-linux-next]
[also build test WARNING on drm-tip/drm-tip linus/master v5.9-rc2 next-20200826]
[cannot apply to tegra-drm/drm/tegra/for-next drm-exynos/exynos-drm-next drm/drm-next]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Philipp-Zabel/drm-add-drmm_encoder_alloc/20200826-203629
base: git://anongit.freedesktop.org/drm-intel for-linux-next
config: x86_64-randconfig-a003-20200826 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 7cfcecece0e0430937cf529ce74d3a071a4dedc6)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> drivers/gpu/drm/drm_crtc.c:336:1: warning: all paths through this function will call itself [-Winfinite-recursion]
{
^
1 warning generated.
# https://github.com/0day-ci/linux/commit/236b7bc44ae0fdecc8e80c5aba0655ca14fdfb23
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Philipp-Zabel/drm-add-drmm_encoder_alloc/20200826-203629
git checkout 236b7bc44ae0fdecc8e80c5aba0655ca14fdfb23
vim +336 drivers/gpu/drm/drm_crtc.c
311
312 /**
313 * drm_crtc_init_with_planes - Initialise a new CRTC object with
314 * specified primary and cursor planes.
315 * @dev: DRM device
316 * @crtc: CRTC object to init
317 * @primary: Primary plane for CRTC
318 * @cursor: Cursor plane for CRTC
319 * @funcs: callbacks for the new CRTC
320 * @name: printf style format string for the CRTC name, or NULL for default name
321 *
322 * Inits a new object created as base part of a driver crtc object. Drivers
323 * should use this function instead of drm_crtc_init(), which is only provided
324 * for backwards compatibility with drivers which do not yet support universal
325 * planes). For really simple hardware which has only 1 plane look at
326 * drm_simple_display_pipe_init() instead.
327 *
328 * Returns:
329 * Zero on success, error code on failure.
330 */
331 int drm_crtc_init_with_planes(struct drm_device *dev, struct drm_crtc *crtc,
332 struct drm_plane *primary,
333 struct drm_plane *cursor,
334 const struct drm_crtc_funcs *funcs,
335 const char *name, ...)
> 336 {
337 va_list ap;
338 int ret;
339
340 if (name)
341 va_start(ap, name);
342 ret = drm_crtc_init_with_planes(dev, crtc, primary, cursor, funcs,
343 name, ap);
344 if (name)
345 va_end(ap);
346
347 return ret;
348 }
349 EXPORT_SYMBOL(drm_crtc_init_with_planes);
350
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 47458 bytes --]
[-- Attachment #3: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
next prev parent reply other threads:[~2020-08-26 21:30 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-26 12:35 [PATCH 1/4] drm: add drmm_encoder_alloc() Philipp Zabel
2020-08-26 12:35 ` [PATCH 2/4] drm/simple_kms_helper: add drmm_simple_encoder_alloc() Philipp Zabel
2020-08-26 12:35 ` [PATCH 3/4] drm/plane: add drmm_universal_plane_alloc() Philipp Zabel
2020-08-26 15:26 ` kernel test robot
2020-08-26 15:26 ` [RFC PATCH] drm/plane: __drm_universal_plane_init() can be static kernel test robot
2020-08-26 16:58 ` [PATCH 3/4] drm/plane: add drmm_universal_plane_alloc() kernel test robot
2020-08-26 19:47 ` kernel test robot
2020-08-31 9:37 ` Dan Carpenter
2020-08-26 12:35 ` [PATCH 4/4] drm/crtc: add drmm_crtc_alloc_with_planes() Philipp Zabel
2020-08-26 18:04 ` kernel test robot
2020-08-26 21:29 ` kernel test robot [this message]
2020-08-27 7:32 ` [drm/crtc] 236b7bc44a: BUG:stack_guard_page_was_hit_at(____ptrval____)(stack_is(____ptrval____)..(____ptrval____)) kernel test robot
2020-08-31 9:39 ` [PATCH 4/4] drm/crtc: add drmm_crtc_alloc_with_planes() Dan Carpenter
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202008270509.2QXZjqeL%lkp@intel.com \
--to=lkp@intel.com \
--cc=clang-built-linux@googlegroups.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=kbuild-all@lists.01.org \
--cc=kernel@pengutronix.de \
--cc=p.zabel@pengutronix.de \
--cc=tzimmermann@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox