All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Cc: oe-kbuild-all@lists.linux.dev
Subject: Re: [PATCH v2 11/19] media: renesas: vsp1: Add and use function to dump a pipeline to the log
Date: Thu, 20 Jun 2024 00:52:22 +0800	[thread overview]
Message-ID: <202406200018.1RpJIl3K-lkp@intel.com> (raw)
In-Reply-To: <20240619001722.9749-12-laurent.pinchart+renesas@ideasonboard.com>

Hi Laurent,

kernel test robot noticed the following build errors:

[auto build test ERROR on 91798162245991e26949ef62851719bb2177a9c2]

url:    https://github.com/intel-lab-lkp/linux/commits/Laurent-Pinchart/media-renesas-vsp1-Drop-vsp1_entity_get_pad_format-wrapper/20240619-081928
base:   91798162245991e26949ef62851719bb2177a9c2
patch link:    https://lore.kernel.org/r/20240619001722.9749-12-laurent.pinchart%2Brenesas%40ideasonboard.com
patch subject: [PATCH v2 11/19] media: renesas: vsp1: Add and use function to dump a pipeline to the log
config: arm-shmobile_defconfig (https://download.01.org/0day-ci/archive/20240620/202406200018.1RpJIl3K-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240620/202406200018.1RpJIl3K-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202406200018.1RpJIl3K-lkp@intel.com/

All error/warnings (new ones prefixed by >>):

   In file included from drivers/media/platform/renesas/vsp1/vsp1_drm.h:18,
                    from drivers/media/platform/renesas/vsp1/vsp1_drm.c:21:
   drivers/media/platform/renesas/vsp1/vsp1_drm.c: In function 'vsp1_du_setup_lif':
>> drivers/media/platform/renesas/vsp1/vsp1_pipe.h:161:1: error: expected statement before ')' token
     161 | )}
         | ^
   drivers/media/platform/renesas/vsp1/vsp1_drm.c:736:9: note: in expansion of macro 'vsp1_pipeline_dump'
     736 |         vsp1_pipeline_dump(pipe, "LIF setup");
         |         ^~~~~~~~~~~~~~~~~~
>> drivers/media/platform/renesas/vsp1/vsp1_drm.c:736:46: error: expected ')' before ';' token
     736 |         vsp1_pipeline_dump(pipe, "LIF setup");
         |                                              ^
>> drivers/media/platform/renesas/vsp1/vsp1_drm.c:770:18: error: expected ';' before '}' token
     770 |         return 0;
         |                  ^
         |                  ;
     771 | }
         | ~                 
>> drivers/media/platform/renesas/vsp1/vsp1_drm.c:734:17: error: label 'unlock' used but not defined
     734 |                 goto unlock;
         |                 ^~~~
>> drivers/media/platform/renesas/vsp1/vsp1_drm.c:650:23: warning: unused variable 'flags' [-Wunused-variable]
     650 |         unsigned long flags;
         |                       ^~~~~
   drivers/media/platform/renesas/vsp1/vsp1_drm.c: In function 'vsp1_du_atomic_flush':
>> drivers/media/platform/renesas/vsp1/vsp1_pipe.h:161:1: error: expected statement before ')' token
     161 | )}
         | ^
   drivers/media/platform/renesas/vsp1/vsp1_drm.c:912:9: note: in expansion of macro 'vsp1_pipeline_dump'
     912 |         vsp1_pipeline_dump(pipe, "atomic update");
         |         ^~~~~~~~~~~~~~~~~~
   drivers/media/platform/renesas/vsp1/vsp1_drm.c:912:50: error: expected ')' before ';' token
     912 |         vsp1_pipeline_dump(pipe, "atomic update");
         |                                                  ^
   drivers/media/platform/renesas/vsp1/vsp1_drm.c:917:40: error: expected ';' before '}' token
     917 |         mutex_unlock(&vsp1->drm->lock);
         |                                        ^
         |                                        ;
     918 | }
         | ~                                       
>> drivers/media/platform/renesas/vsp1/vsp1_drm.c:902:25: error: label 'done' used but not defined
     902 |                         goto done;
         |                         ^~~~
   drivers/media/platform/renesas/vsp1/vsp1_drm.c: In function 'vsp1_du_setup_lif':
>> drivers/media/platform/renesas/vsp1/vsp1_drm.c:771:1: warning: control reaches end of non-void function [-Wreturn-type]
     771 | }
         | ^
--
   In file included from drivers/media/platform/renesas/vsp1/vsp1_video.c:32:
   drivers/media/platform/renesas/vsp1/vsp1_video.c: In function 'vsp1_video_pipeline_init':
>> drivers/media/platform/renesas/vsp1/vsp1_pipe.h:161:1: error: expected statement before ')' token
     161 | )}
         | ^
   drivers/media/platform/renesas/vsp1/vsp1_video.c:533:9: note: in expansion of macro 'vsp1_pipeline_dump'
     533 |         vsp1_pipeline_dump(pipe, "video");
         |         ^~~~~~~~~~~~~~~~~~
>> drivers/media/platform/renesas/vsp1/vsp1_video.c:533:42: error: expected ')' before ';' token
     533 |         vsp1_pipeline_dump(pipe, "video");
         |                                          ^
>> drivers/media/platform/renesas/vsp1/vsp1_video.c:535:18: error: expected ';' before '}' token
     535 |         return 0;
         |                  ^
         |                  ;
     536 | }
         | ~                 
>> drivers/media/platform/renesas/vsp1/vsp1_video.c:536:1: warning: control reaches end of non-void function [-Wreturn-type]
     536 | }
         | ^


vim +161 drivers/media/platform/renesas/vsp1/vsp1_pipe.h

   145	
   146	void __vsp1_pipeline_dump(struct _ddebug *, struct vsp1_pipeline *pipe,
   147				  const char *msg);
   148	
   149	#if defined(CONFIG_DYNAMIC_DEBUG) || \
   150		(defined(CONFIG_DYNAMIC_DEBUG_CORE) && defined(DYNAMIC_DEBUG_MODULE))
   151	#define vsp1_pipeline_dump(pipe, msg)			\
   152		_dynamic_func_call("vsp1_pipeline_dump()", __vsp1_pipeline_dump, pipe, msg)
   153	#elif defined(DEBUG)
   154	#define vsp1_pipeline_dump(pipe, msg)			\
   155		__vsp1_pipeline_dump(NULL, pipe, msg)
   156	#else
   157	#define vsp1_pipeline_dump(pipe, msg)			\
   158	({							\
   159		if (0)						\
   160			__vsp1_pipeline_dump(NULL, pipe, msg);	\
 > 161	)}
   162	#endif
   163	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

  reply	other threads:[~2024-06-19 16:52 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-19  0:17 [PATCH v2 00/19] media: renesas: vsp1: Conversion to subdev active state Laurent Pinchart
2024-06-19  0:17 ` [PATCH v2 01/19] media: renesas: vsp1: Drop vsp1_entity_get_pad_format() wrapper Laurent Pinchart
2024-06-19  0:17 ` [PATCH v2 02/19] media: renesas: vsp1: Drop vsp1_entity_get_pad_selection() wrapper Laurent Pinchart
2024-06-19  0:17 ` [PATCH v2 03/19] media: renesas: vsp1: Drop vsp1_rwpf_get_crop() wrapper Laurent Pinchart
2024-06-19  0:17 ` [PATCH v2 04/19] media: renesas: vsp1: Drop brx_get_compose() wrapper Laurent Pinchart
2024-06-19  0:17 ` [PATCH v2 05/19] media: renesas: vsp1: Drop custom .get_fmt() handler for histogram Laurent Pinchart
2024-06-19  0:17 ` [PATCH v2 06/19] media: renesas: vsp1: Move partition calculation to vsp1_pipe.c Laurent Pinchart
2024-06-19  0:17 ` [PATCH v2 07/19] media: renesas: vsp1: Simplify partition calculation Laurent Pinchart
2024-06-19  0:17 ` [PATCH v2 08/19] media: renesas: vsp1: Store RPF partition configuration per RPF instance Laurent Pinchart
2024-06-19  0:17 ` [PATCH v2 09/19] media: renesas: vsp1: Pass partition pointer to .configure_partition() Laurent Pinchart
2024-06-19  0:17 ` [PATCH v2 10/19] media: renesas: vsp1: Replace vsp1_partition_window with v4l2_rect Laurent Pinchart
2024-06-19  0:17 ` [PATCH v2 11/19] media: renesas: vsp1: Add and use function to dump a pipeline to the log Laurent Pinchart
2024-06-19 16:52   ` kernel test robot [this message]
2024-06-19 17:02   ` kernel test robot
2024-06-19 17:24   ` kernel test robot
2024-06-19 18:59   ` [PATCH v2.1 " Laurent Pinchart
2024-06-19  0:17 ` [PATCH v2 12/19] media: renesas: vsp1: Keep the DRM pipeline entities sorted Laurent Pinchart
2024-06-19 12:20   ` Kieran Bingham
2024-06-19 12:31     ` Laurent Pinchart
2024-06-19  0:17 ` [PATCH v2 13/19] media: renesas: vsp1: Compute partitions for DRM pipelines Laurent Pinchart
2024-06-19  0:17 ` [PATCH v2 14/19] media: renesas: vsp1: Get configuration from partition instead of state Laurent Pinchart
2024-06-19  0:17 ` [PATCH v2 15/19] media: renesas: vsp1: Name parameters to entity operations Laurent Pinchart
2024-06-19  0:17 ` [PATCH v2 16/19] media: renesas: vsp1: Pass subdev state " Laurent Pinchart
2024-06-19  0:17 ` [PATCH v2 17/19] media: renesas: vsp1: Initialize control handler after subdev Laurent Pinchart
2024-06-19  0:17 ` [PATCH v2 18/19] media: renesas: vsp1: Switch to V4L2 subdev active state Laurent Pinchart
2024-06-19  0:17 ` [PATCH v2 19/19] media: renesas: vsp1: Rename all v4l2_subdev_state variables to 'state' Laurent Pinchart
2025-06-26  8:30 ` [PATCH v2 00/19] media: renesas: vsp1: Conversion to subdev active state Tomi Valkeinen
2025-06-26  9:07   ` Laurent Pinchart

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=202406200018.1RpJIl3K-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=laurent.pinchart+renesas@ideasonboard.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.