[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202009251844.yLncJX1A%lkp@intel.com>
Date: Fri, 25 Sep 2020 18:30:08 +0800
From: kernel test robot <lkp@...el.com>
To: Stefan Riedmueller <s.riedmueller@...tec.de>,
Laurent Pinchart <laurent.pinchart@...asonboard.com>
Cc: kbuild-all@...ts.01.org,
Mauro Carvalho Chehab <mchehab@...nel.org>,
linux-media@...r.kernel.org,
Sakari Ailus <sakari.ailus@...ux.intel.com>,
linux-kernel@...r.kernel.org, Christian Hemp <c.hemp@...tec.de>,
Jan Luebbe <jlu@...gutronix.de>,
Stefan Riedmueller <s.riedmueller@...tec.de>
Subject: Re: [PATCH 1/5] media: mt9p031: Add support for 8 bit and 10 bit
formats
Hi Stefan,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on linuxtv-media/master]
[also build test WARNING on v5.9-rc6 next-20200924]
[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]
url: https://github.com/0day-ci/linux/commits/Stefan-Riedmueller/media-mt9p031-Add-support-for-8-bit-and-10-bit-formats/20200925-155251
base: git://linuxtv.org/media_tree.git master
config: arc-allyesconfig (attached as .config)
compiler: arceb-elf-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/0day-ci/linux/commit/1863bce6d7b4791c048a25ec07ff8aec8b4847cf
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Stefan-Riedmueller/media-mt9p031-Add-support-for-8-bit-and-10-bit-formats/20200925-155251
git checkout 1863bce6d7b4791c048a25ec07ff8aec8b4847cf
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>
All warnings (new ones prefixed by >>):
>> drivers/media/i2c/mt9p031.c:166:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
166 | static const u32 mt9p031_find_datafmt(struct mt9p031 *mt9p031, u32 code)
| ^~~~~
vim +166 drivers/media/i2c/mt9p031.c
165
> 166 static const u32 mt9p031_find_datafmt(struct mt9p031 *mt9p031, u32 code)
167 {
168 int i;
169
170 for (i = 0; i < mt9p031->num_fmts; i++)
171 if (mt9p031->fmts[i] == code)
172 return mt9p031->fmts[i];
173
174 return mt9p031->fmts[mt9p031->num_fmts-1];
175 }
176
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Download attachment ".config.gz" of type "application/gzip" (65321 bytes)
Powered by blists - more mailing lists