Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Cc: llvm@lists.linux.dev, 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 01:24:08 +0800	[thread overview]
Message-ID: <202406200116.dABlTcGJ-lkp@intel.com> (raw)
In-Reply-To: <20240619001722.9749-12-laurent.pinchart+renesas@ideasonboard.com>

Hi Laurent,

kernel test robot noticed the following build warnings:

[auto build test WARNING 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-randconfig-001-20240619 (https://download.01.org/0day-ci/archive/20240620/202406200116.dABlTcGJ-lkp@intel.com/config)
compiler: clang version 19.0.0git (https://github.com/llvm/llvm-project 78ee473784e5ef6f0b19ce4cb111fb6e4d23c6b2)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240620/202406200116.dABlTcGJ-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/202406200116.dABlTcGJ-lkp@intel.com/

All warnings (new ones prefixed by >>):

   In file included from drivers/media/platform/renesas/vsp1/vsp1_pipe.c:16:
   In file included from include/media/v4l2-subdev.h:15:
   In file included from include/media/v4l2-common.h:105:
   In file included from include/linux/i2c.h:19:
   In file included from include/linux/regulator/consumer.h:35:
   In file included from include/linux/suspend.h:5:
   In file included from include/linux/swap.h:9:
   In file included from include/linux/memcontrol.h:21:
   In file included from include/linux/mm.h:2253:
   include/linux/vmstat.h:514:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
     514 |         return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
         |                               ~~~~~~~~~~~ ^ ~~~
>> drivers/media/platform/renesas/vsp1/vsp1_pipe.c:304:43: warning: omitting the parameter name in a function definition is a C23 extension [-Wc23-extensions]
     304 | void __vsp1_pipeline_dump(struct _ddebug *, struct vsp1_pipeline *pipe,
         |                                           ^
   2 warnings generated.


vim +304 drivers/media/platform/renesas/vsp1/vsp1_pipe.c

   303	
 > 304	void __vsp1_pipeline_dump(struct _ddebug *, struct vsp1_pipeline *pipe,
   305				  const char *msg)
   306	{
   307		struct vsp1_device *vsp1 = pipe->output->entity.vsp1;
   308		struct vsp1_entity *entity;
   309		bool first = true;
   310	
   311		printk(KERN_DEBUG "%s: %s: pipe: ", dev_name(vsp1->dev), msg);
   312	
   313		list_for_each_entry(entity, &pipe->entities, list_pipe) {
   314			const char *name;
   315	
   316			name = strchrnul(entity->subdev.name, ' ');
   317			name = name ? name + 1 : entity->subdev.name;
   318	
   319			pr_cont("%s%s", first ? "" : ", ", name);
   320			first = false;
   321		}
   322	
   323		pr_cont("\n");
   324	}
   325	

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

      parent reply	other threads:[~2024-06-19 17:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20240619001722.9749-12-laurent.pinchart+renesas@ideasonboard.com>
2024-06-19 17:02 ` [PATCH v2 11/19] media: renesas: vsp1: Add and use function to dump a pipeline to the log kernel test robot
2024-06-19 17:24 ` kernel test robot [this message]

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=202406200116.dABlTcGJ-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=laurent.pinchart+renesas@ideasonboard.com \
    --cc=llvm@lists.linux.dev \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox