From: kernel test robot <lkp@intel.com>
To: Volodymyr Kharuk <vkh@melexis.com>, linux-media@vger.kernel.org
Cc: oe-kbuild-all@lists.linux.dev, Andrii Kyselov <ays@melexis.com>,
Mauro Carvalho Chehab <mchehab@kernel.org>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzk@kernel.org>,
Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
devicetree@vger.kernel.org, Hans Verkuil <hverkuil@xs4all.nl>,
Sakari Ailus <sakari.ailus@linux.intel.com>,
Benjamin Mugnier <benjamin.mugnier@foss.st.com>,
Volodymyr Kharuk <vkh@melexis.com>
Subject: Re: [PATCH v6 10/10] media: i2c: Add driver for mlx7502x ToF sensor
Date: Sat, 18 May 2024 11:52:37 +0800 [thread overview]
Message-ID: <202405181143.nHERYo41-lkp@intel.com> (raw)
In-Reply-To: <6f666d475da17b3469fd0471531bc615f6fd797a.1715871189.git.vkh@melexis.com>
Hi Volodymyr,
kernel test robot noticed the following build warnings:
[auto build test WARNING on 8771b7f31b7fff91a998e6afdb60650d4bac59a5]
url: https://github.com/intel-lab-lkp/linux/commits/Volodymyr-Kharuk/media-uapi-ctrls-Add-camera-trigger-controls/20240517-004536
base: 8771b7f31b7fff91a998e6afdb60650d4bac59a5
patch link: https://lore.kernel.org/r/6f666d475da17b3469fd0471531bc615f6fd797a.1715871189.git.vkh%40melexis.com
patch subject: [PATCH v6 10/10] media: i2c: Add driver for mlx7502x ToF sensor
config: csky-randconfig-r123-20240518 (https://download.01.org/0day-ci/archive/20240518/202405181143.nHERYo41-lkp@intel.com/config)
compiler: csky-linux-gcc (GCC) 13.2.0
reproduce: (https://download.01.org/0day-ci/archive/20240518/202405181143.nHERYo41-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/202405181143.nHERYo41-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/media/i2c/mlx7502x.c:480:12: warning: 'mlx7502x_read' defined but not used [-Wunused-function]
480 | static int mlx7502x_read(struct v4l2_subdev *sd, u16 reg, u8 *val, int val_size)
| ^~~~~~~~~~~~~
vim +/mlx7502x_read +480 drivers/media/i2c/mlx7502x.c
479
> 480 static int mlx7502x_read(struct v4l2_subdev *sd, u16 reg, u8 *val, int val_size)
481 {
482 int ret;
483 unsigned char data_w[2];
484 struct i2c_client *client = v4l2_get_subdevdata(sd);
485
486 struct i2c_msg msg[] = {
487 {
488 .addr = client->addr,
489 .flags = 0,
490 .len = 2,
491 .buf = data_w,
492 }, {
493 .addr = client->addr,
494 .flags = I2C_M_RD,
495 .len = val_size,
496 .buf = val,
497 }
498 };
499
500 /* write reg address into first msg */
501 put_unaligned_be16(reg, data_w);
502
503 /* Using transfer allows skip STOP between messages
504 * so we have repeated Start here
505 */
506 ret = i2c_transfer(client->adapter, msg, 2);
507
508 return ret != 2 ? -EIO : 0;
509 }
510
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2024-05-18 3:52 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-16 16:41 [PATCH v6 00/10] media: i2c: mlx7502x ToF camera support Volodymyr Kharuk
2024-05-16 16:41 ` [PATCH v6 01/10] media: uapi: ctrls: Add camera trigger controls Volodymyr Kharuk
2024-05-20 9:19 ` Benjamin Mugnier
2024-05-20 9:45 ` Volodymyr Kharuk
2024-05-16 16:41 ` [PATCH v6 02/10] media: v4l: " Volodymyr Kharuk
2024-05-16 16:41 ` [PATCH v6 03/10] media: uapi: ctrls: Add Time of Flight class controls Volodymyr Kharuk
2024-05-16 16:41 ` [PATCH v6 04/10] media: v4l: ctrls: Fill V4L2_CID_TOF_CLASS controls Volodymyr Kharuk
2024-05-16 16:41 ` [PATCH v6 05/10] media: Documentation: v4l: Add TOF class controls Volodymyr Kharuk
2024-05-16 16:41 ` [PATCH v6 06/10] media: v4l: ctrls-api: Allow array update in __v4l2_ctrl_modify_range Volodymyr Kharuk
2024-05-16 16:41 ` [PATCH v6 07/10] media: v4l: ctrls: Add user control base for mlx7502x Volodymyr Kharuk
2024-05-16 16:41 ` [PATCH v6 08/10] media: uapi: Add mlx7502x header file Volodymyr Kharuk
2024-05-16 16:41 ` [PATCH v6 09/10] media: dt-bindings: Add mlx7502x camera sensor Volodymyr Kharuk
2024-05-16 16:41 ` [PATCH v6 10/10] media: i2c: Add driver for mlx7502x ToF sensor Volodymyr Kharuk
2024-05-18 3:52 ` kernel test robot [this message]
2024-05-23 13:14 ` Dan Carpenter
-- strict thread matches above, loose matches on Subject: below --
2024-05-18 7:49 kernel test robot
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=202405181143.nHERYo41-lkp@intel.com \
--to=lkp@intel.com \
--cc=ays@melexis.com \
--cc=benjamin.mugnier@foss.st.com \
--cc=devicetree@vger.kernel.org \
--cc=hverkuil@xs4all.nl \
--cc=krzk@kernel.org \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=robh+dt@kernel.org \
--cc=sakari.ailus@linux.intel.com \
--cc=vkh@melexis.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.