mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Stefan Riedmueller <s.riedmueller@phytec.de>,
	Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: kbuild-all@lists.01.org,
	Mauro Carvalho Chehab <mchehab@kernel.org>,
	linux-media@vger.kernel.org,
	Sakari Ailus <sakari.ailus@linux.intel.com>,
	linux-kernel@vger.kernel.org, Christian Hemp <c.hemp@phytec.de>,
	Jan Luebbe <jlu@pengutronix.de>,
	Stefan Riedmueller <s.riedmueller@phytec.de>
Subject: Re: [PATCH 1/5] media: mt9p031: Add support for 8 bit and 10 bit formats
Date: Fri, 25 Sep 2020 18:30:08 +0800	[thread overview]
Message-ID: <202009251844.yLncJX1A%lkp@intel.com> (raw)
In-Reply-To: <20200925075029.32181-1-s.riedmueller@phytec.de>

[-- Attachment #1: Type: text/plain, Size: 2139 bytes --]

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@intel.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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 65321 bytes --]

  parent reply	other threads:[~2020-09-25 10:39 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-25  7:50 Stefan Riedmueller
2020-09-25  7:50 ` [PATCH 2/5] media: mt9p031: Read back the real clock rate Stefan Riedmueller
2020-09-25  7:50 ` [PATCH 3/5] media: mt9p031: Implement [gs]_register debug calls Stefan Riedmueller
2020-09-25  7:50 ` [PATCH 4/5] media: mt9p031: Make pixel clock polarity configurable by DT Stefan Riedmueller
2020-09-25 20:07   ` Sakari Ailus
2020-09-30  7:58     ` Stefan Riedmüller
2020-09-25  7:50 ` [PATCH 5/5] media: mt9p031: Fix corrupted frame after restarting stream Stefan Riedmueller
2020-09-25 10:30 ` kernel test robot [this message]
2020-09-25 20:11 ` [PATCH 1/5] media: mt9p031: Add support for 8 bit and 10 bit formats Sakari Ailus
2020-09-30 10:48   ` Stefan Riedmüller

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=202009251844.yLncJX1A%lkp@intel.com \
    --to=lkp@intel.com \
    --cc=c.hemp@phytec.de \
    --cc=jlu@pengutronix.de \
    --cc=kbuild-all@lists.01.org \
    --cc=laurent.pinchart@ideasonboard.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=mchehab@kernel.org \
    --cc=s.riedmueller@phytec.de \
    --cc=sakari.ailus@linux.intel.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

all inboxes | Powered by JetHome®