public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Abhash Jha <abhashkumarjha123@gmail.com>, linux-iio@vger.kernel.org
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
	songqiang1304521@gmail.com, jic23@kernel.org, lars@metafoo.de,
	linux-kernel@vger.kernel.org,
	Abhash Jha <abhashkumarjha123@gmail.com>
Subject: Re: [PATCH v2 2/2] iio: proximity: vl53l0x-i2c: Added continuous mode support
Date: Tue, 3 Sep 2024 09:32:55 +0800	[thread overview]
Message-ID: <202409030909.1CQBnx22-lkp@intel.com> (raw)
In-Reply-To: <20240902122557.129013-3-abhashkumarjha123@gmail.com>

Hi Abhash,

kernel test robot noticed the following build errors:

[auto build test ERROR on jic23-iio/togreg]
[also build test ERROR on linus/master v6.11-rc6 next-20240902]
[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/Abhash-Jha/iio-proximity-vl53l0x-i2c-Added-sensor-ID-check/20240902-204936
base:   https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git togreg
patch link:    https://lore.kernel.org/r/20240902122557.129013-3-abhashkumarjha123%40gmail.com
patch subject: [PATCH v2 2/2] iio: proximity: vl53l0x-i2c: Added continuous mode support
config: i386-buildonly-randconfig-005-20240903 (https://download.01.org/0day-ci/archive/20240903/202409030909.1CQBnx22-lkp@intel.com/config)
compiler: clang version 18.1.5 (https://github.com/llvm/llvm-project 617a15a9eac96088ae5e9134248d8236e34b91b1)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240903/202409030909.1CQBnx22-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/202409030909.1CQBnx22-lkp@intel.com/

All errors (new ones prefixed by >>):

>> drivers/iio/proximity/vl53l0x-i2c.c:104:20: error: call to undeclared function 'get_unaligned_be16'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
     104 |         data->scan.chan = get_unaligned_be16(&buffer[10]);
         |                           ^
   1 error generated.


vim +/get_unaligned_be16 +104 drivers/iio/proximity/vl53l0x-i2c.c

    87	
    88	static irqreturn_t vl53l0x_trigger_handler(int irq, void *priv)
    89	{
    90		struct iio_poll_func *pf = priv;
    91		struct iio_dev *indio_dev = pf->indio_dev;
    92		struct vl53l0x_data *data = iio_priv(indio_dev);
    93		u8 buffer[12];
    94		int ret;
    95	
    96		ret = i2c_smbus_read_i2c_block_data(data->client,
    97						VL_REG_RESULT_RANGE_STATUS,
    98						sizeof(buffer), buffer);
    99		if (ret < 0)
   100			return ret;
   101		else if (ret != 12)
   102			return -EREMOTEIO;
   103	
 > 104		data->scan.chan = get_unaligned_be16(&buffer[10]);
   105		iio_push_to_buffers_with_timestamp(indio_dev, &data->scan,
   106						iio_get_time_ns(indio_dev));
   107	
   108		iio_trigger_notify_done(indio_dev->trig);
   109		ret = vl53l0x_clear_irq(data);
   110		if (ret < 0)
   111			return ret;
   112	
   113		return IRQ_HANDLED;
   114	}
   115	

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

  reply	other threads:[~2024-09-03  1:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-02 12:25 [PATCH v2 0/2] Continuous mode support for VL53l0x Abhash Jha
2024-09-02 12:25 ` [PATCH v2 1/2] iio: proximity: vl53l0x-i2c: Added sensor ID check Abhash Jha
2024-09-02 12:25 ` [PATCH v2 2/2] iio: proximity: vl53l0x-i2c: Added continuous mode support Abhash Jha
2024-09-03  1:32   ` kernel test robot [this message]
2024-09-03  2:44   ` 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=202409030909.1CQBnx22-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=abhashkumarjha123@gmail.com \
    --cc=jic23@kernel.org \
    --cc=lars@metafoo.de \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=llvm@lists.linux.dev \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=songqiang1304521@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox