All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Michael Tretter <m.tretter@pengutronix.de>,
	linux-media@vger.kernel.org, devicetree@vger.kernel.org,
	Marek Vasut <marex@denx.de>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
	Rob Herring <robh+dt@kernel.org>,
	Mauro Carvalho Chehab <mchehab@kernel.org>,
	Sakari Ailus <sakari.ailus@linux.intel.com>,
	p.zabel@pengutronix.de, Ian Arkver <ian.arkver.dev@gmail.com>,
	kernel@pengutronix.de, Michael Tretter <m.tretter@pengutronix.de>
Subject: Re: [PATCH v7 3/3] media: i2c: isl7998x: Add driver for Intersil ISL7998x
Date: Tue, 26 Oct 2021 10:41:57 +0800	[thread overview]
Message-ID: <202110261005.mHlMGCaj-lkp@intel.com> (raw)
In-Reply-To: <20211021160308.1962585-4-m.tretter@pengutronix.de>

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

Hi Michael,

I love your patch! Perhaps something to improve:

[auto build test WARNING on media-tree/master]
[also build test WARNING on robh/for-next linus/master v5.15-rc7 next-20211025]
[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/Michael-Tretter/media-i2c-isl7998x-Add-driver-for-Intersil-ISL7998x/20211022-000354
base:   git://linuxtv.org/media_tree.git master
config: riscv-randconfig-r005-20211025 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project a461fa64bb37cffd73f683c74f6b0780379fc2ca)
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
        # install riscv cross compiling tool for clang build
        # apt-get install binutils-riscv64-linux-gnu
        # https://github.com/0day-ci/linux/commit/014607ac2112aed988e4b5c715585fbc9f143d80
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Michael-Tretter/media-i2c-isl7998x-Add-driver-for-Intersil-ISL7998x/20211022-000354
        git checkout 014607ac2112aed988e4b5c715585fbc9f143d80
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=riscv 

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/isl7998x.c:520:8: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers]
   static const unsigned int isl7998x_norm_to_val(v4l2_std_id norm)
          ^~~~~~
   1 warning generated.


vim +/const +520 drivers/media/i2c/isl7998x.c

   519	
 > 520	static const unsigned int isl7998x_norm_to_val(v4l2_std_id norm)
   521	{
   522		unsigned int i;
   523	
   524		for (i = 0; i < ARRAY_SIZE(isl7998x_std_res); i++)
   525			if (isl7998x_std_res[i].norm & norm)
   526				return isl7998x_std_res[i].id;
   527	
   528		return 7;
   529	}
   530	

---
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: 35943 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH v7 3/3] media: i2c: isl7998x: Add driver for Intersil ISL7998x
Date: Tue, 26 Oct 2021 10:41:57 +0800	[thread overview]
Message-ID: <202110261005.mHlMGCaj-lkp@intel.com> (raw)
In-Reply-To: <20211021160308.1962585-4-m.tretter@pengutronix.de>

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

Hi Michael,

I love your patch! Perhaps something to improve:

[auto build test WARNING on media-tree/master]
[also build test WARNING on robh/for-next linus/master v5.15-rc7 next-20211025]
[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/Michael-Tretter/media-i2c-isl7998x-Add-driver-for-Intersil-ISL7998x/20211022-000354
base:   git://linuxtv.org/media_tree.git master
config: riscv-randconfig-r005-20211025 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project a461fa64bb37cffd73f683c74f6b0780379fc2ca)
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
        # install riscv cross compiling tool for clang build
        # apt-get install binutils-riscv64-linux-gnu
        # https://github.com/0day-ci/linux/commit/014607ac2112aed988e4b5c715585fbc9f143d80
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Michael-Tretter/media-i2c-isl7998x-Add-driver-for-Intersil-ISL7998x/20211022-000354
        git checkout 014607ac2112aed988e4b5c715585fbc9f143d80
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=riscv 

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/isl7998x.c:520:8: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers]
   static const unsigned int isl7998x_norm_to_val(v4l2_std_id norm)
          ^~~~~~
   1 warning generated.


vim +/const +520 drivers/media/i2c/isl7998x.c

   519	
 > 520	static const unsigned int isl7998x_norm_to_val(v4l2_std_id norm)
   521	{
   522		unsigned int i;
   523	
   524		for (i = 0; i < ARRAY_SIZE(isl7998x_std_res); i++)
   525			if (isl7998x_std_res[i].norm & norm)
   526				return isl7998x_std_res[i].id;
   527	
   528		return 7;
   529	}
   530	

---
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: 35943 bytes --]

  parent reply	other threads:[~2021-10-26  2:42 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-21 16:03 [PATCH v7 0/3] media: i2c: isl7998x: Add driver for Intersil ISL7998x Michael Tretter
2021-10-21 16:03 ` [PATCH v7 1/3] media: imx6-mipi-csi2: use pre_streamon callback to set sensor into LP11 Michael Tretter
2021-10-21 16:03 ` [PATCH v7 2/3] media: dt-bindings: Add Intersil ISL79987 DT bindings Michael Tretter
2021-10-21 16:03 ` [PATCH v7 3/3] media: i2c: isl7998x: Add driver for Intersil ISL7998x Michael Tretter
2021-10-25 16:12   ` kernel test robot
2021-10-25 16:12     ` kernel test robot
2021-10-26  2:41   ` kernel test robot [this message]
2021-10-26  2:41     ` 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=202110261005.mHlMGCaj-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=devicetree@vger.kernel.org \
    --cc=ian.arkver.dev@gmail.com \
    --cc=kbuild-all@lists.01.org \
    --cc=kernel@pengutronix.de \
    --cc=linux-media@vger.kernel.org \
    --cc=llvm@lists.linux.dev \
    --cc=m.tretter@pengutronix.de \
    --cc=marex@denx.de \
    --cc=mchehab@kernel.org \
    --cc=p.zabel@pengutronix.de \
    --cc=robh+dt@kernel.org \
    --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 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.