All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Mehdi Djait <mehdi.djait@bootlin.com>,
	mchehab@kernel.org, heiko@sntech.de, hverkuil-cisco@xs4all.nl,
	laurent.pinchart@ideasonboard.com,
	krzysztof.kozlowski+dt@linaro.org, robh+dt@kernel.org,
	conor+dt@kernel.org
Cc: oe-kbuild-all@lists.linux.dev, linux-media@vger.kernel.org,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
	thomas.petazzoni@bootlin.com, alexandre.belloni@bootlin.com,
	maxime.chevallier@bootlin.com, paul.kocialkowski@bootlin.com,
	Mehdi Djait <mehdi.djait@bootlin.com>
Subject: Re: [PATCH v6 3/3] media: i2c: Introduce a driver for the Techwell TW9900 decoder
Date: Sun, 15 Oct 2023 02:11:01 +0800	[thread overview]
Message-ID: <202310150123.XoLU3dcO-lkp@intel.com> (raw)
In-Reply-To: <857baa8073f0b8051720959ef8fb1d49a6161d36.1696608809.git.mehdi.djait@bootlin.com>

Hi Mehdi,

kernel test robot noticed the following build errors:

[auto build test ERROR on media-tree/master]
[also build test ERROR on robh/for-next linus/master v6.6-rc5 next-20231013]
[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#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Mehdi-Djait/dt-bindings-vendor-prefixes-Add-techwell-vendor-prefix/20231007-002623
base:   git://linuxtv.org/media_tree.git master
patch link:    https://lore.kernel.org/r/857baa8073f0b8051720959ef8fb1d49a6161d36.1696608809.git.mehdi.djait%40bootlin.com
patch subject: [PATCH v6 3/3] media: i2c: Introduce a driver for the Techwell TW9900 decoder
config: alpha-allyesconfig (https://download.01.org/0day-ci/archive/20231015/202310150123.XoLU3dcO-lkp@intel.com/config)
compiler: alpha-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231015/202310150123.XoLU3dcO-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/202310150123.XoLU3dcO-lkp@intel.com/

All errors (new ones prefixed by >>):

   drivers/media/i2c/tw9900.c: In function 'tw9900_get_stream_std':
>> drivers/media/i2c/tw9900.c:359:15: error: implicit declaration of function 'FIELD_GET' [-Werror=implicit-function-declaration]
     359 |         std = FIELD_GET(TW9900_STDNOW_MASK, ret);
         |               ^~~~~~~~~
   cc1: some warnings being treated as errors


vim +/FIELD_GET +359 drivers/media/i2c/tw9900.c

   347	
   348	static int tw9900_get_stream_std(struct tw9900 *tw9900,
   349					 v4l2_std_id *std_id)
   350	{
   351		int std, ret;
   352	
   353		ret = tw9900_read_reg(tw9900->client, TW9900_REG_STD_SEL);
   354		if (ret < 0) {
   355			*std_id = V4L2_STD_UNKNOWN;
   356			return ret;
   357		}
   358	
 > 359		std = FIELD_GET(TW9900_STDNOW_MASK, ret);
   360	
   361		switch (std) {
   362		case TW9900_STD_NTSC_M:
   363			*std_id = V4L2_STD_NTSC;
   364			break;
   365		case TW9900_STD_PAL_BDGHI:
   366			*std_id = V4L2_STD_PAL;
   367			break;
   368		case TW9900_STD_AUTO:
   369			*std_id = V4L2_STD_UNKNOWN;
   370			break;
   371		default:
   372			*std_id = V4L2_STD_UNKNOWN;
   373			break;
   374		}
   375	
   376		return 0;
   377	}
   378	

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

  parent reply	other threads:[~2023-10-14 18:11 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-06 16:25 [PATCH v6 0/3] media: i2c: Introduce driver for the TW9900 video decoder Mehdi Djait
2023-10-06 16:25 ` [PATCH v6 1/3] dt-bindings: vendor-prefixes: Add techwell vendor prefix Mehdi Djait
2023-10-07 15:33   ` Krzysztof Kozlowski
2023-10-06 16:25 ` [PATCH v6 2/3] media: dt-bindings: media: i2c: Add bindings for TW9900 Mehdi Djait
2023-10-07 15:34   ` Krzysztof Kozlowski
2023-10-09  2:18   ` Laurent Pinchart
2023-10-10 18:52     ` Mehdi Djait
2023-10-06 16:25 ` [PATCH v6 3/3] media: i2c: Introduce a driver for the Techwell TW9900 decoder Mehdi Djait
2023-10-07 15:36   ` Krzysztof Kozlowski
2023-10-14 18:11   ` kernel test robot [this message]
2023-10-09  2:21 ` [PATCH v6 0/3] media: i2c: Introduce driver for the TW9900 video decoder Laurent Pinchart
2023-10-10 19:02   ` Mehdi Djait

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=202310150123.XoLU3dcO-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=alexandre.belloni@bootlin.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=heiko@sntech.de \
    --cc=hverkuil-cisco@xs4all.nl \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=laurent.pinchart@ideasonboard.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=maxime.chevallier@bootlin.com \
    --cc=mchehab@kernel.org \
    --cc=mehdi.djait@bootlin.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=paul.kocialkowski@bootlin.com \
    --cc=robh+dt@kernel.org \
    --cc=thomas.petazzoni@bootlin.com \
    /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.