All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Radhey Shyam Pandey <radhey.shyam.pandey@xilinx.com>
Cc: kbuild-all@lists.01.org, linux-arm-kernel@lists.infradead.org,
	Michal Simek <monstr@monstr.eu>,
	Davor Joja <davor.joja@logicbricks.com>
Subject: [xilinx-xlnx:xlnx_rebase_v5.10 223/1980] drivers/media/i2c/adv7511-v4l2.c:2251:21: warning: no previous prototype for 'adv7511_subdev'
Date: Mon, 8 Nov 2021 17:27:40 +0800	[thread overview]
Message-ID: <202111081730.wNsSRVLc-lkp@intel.com> (raw)

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

Hi Radhey,

FYI, the error/warning still remains.

tree:   https://github.com/Xilinx/linux-xlnx xlnx_rebase_v5.10
head:   568989d44176ae0a38ea78c16d0590c726d3b60a
commit: c879ca1c486ba6c809ca48c82c0c8a289d97ce15 [223/1980] drivers: media: Customized adv7511 for Xylon LogiCVC (deprecated)
config: openrisc-randconfig-r023-20210930 (attached as .config)
compiler: or1k-linux-gcc (GCC) 11.2.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/Xilinx/linux-xlnx/commit/c879ca1c486ba6c809ca48c82c0c8a289d97ce15
        git remote add xilinx-xlnx https://github.com/Xilinx/linux-xlnx
        git fetch --no-tags xilinx-xlnx xlnx_rebase_v5.10
        git checkout c879ca1c486ba6c809ca48c82c0c8a289d97ce15
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=openrisc 

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/adv7511-v4l2.c: In function 'adv7511_set_rgb_quantization_mode':
   drivers/media/i2c/adv7511-v4l2.c:427:16: error: 'return' with a value, in function returning void [-Werror=return-type]
     427 |         return 0;
         |                ^
   drivers/media/i2c/adv7511-v4l2.c:422:13: note: declared here
     422 | static void adv7511_set_rgb_quantization_mode(struct v4l2_subdev *sd, struct v4l2_ctrl *ctrl)
         |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/media/i2c/adv7511-v4l2.c: At top level:
>> drivers/media/i2c/adv7511-v4l2.c:2251:21: warning: no previous prototype for 'adv7511_subdev' [-Wmissing-prototypes]
    2251 | struct v4l2_subdev *adv7511_subdev(struct v4l2_subdev *sd)
         |                     ^~~~~~~~~~~~~~
   cc1: some warnings being treated as errors


vim +/adv7511_subdev +2251 drivers/media/i2c/adv7511-v4l2.c

  2250	
> 2251	struct v4l2_subdev *adv7511_subdev(struct v4l2_subdev *sd)
  2252	{
  2253		static struct v4l2_subdev *subdev;
  2254	
  2255		if (sd)
  2256			subdev = sd;
  2257	
  2258		return subdev;
  2259	}
  2260	EXPORT_SYMBOL(adv7511_subdev);
  2261	

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

[-- Attachment #3: Type: text/plain, Size: 176 bytes --]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [xilinx-xlnx:xlnx_rebase_v5.10 223/1980] drivers/media/i2c/adv7511-v4l2.c:2251:21: warning: no previous prototype for 'adv7511_subdev'
Date: Mon, 08 Nov 2021 17:27:40 +0800	[thread overview]
Message-ID: <202111081730.wNsSRVLc-lkp@intel.com> (raw)

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

Hi Radhey,

FYI, the error/warning still remains.

tree:   https://github.com/Xilinx/linux-xlnx xlnx_rebase_v5.10
head:   568989d44176ae0a38ea78c16d0590c726d3b60a
commit: c879ca1c486ba6c809ca48c82c0c8a289d97ce15 [223/1980] drivers: media: Customized adv7511 for Xylon LogiCVC (deprecated)
config: openrisc-randconfig-r023-20210930 (attached as .config)
compiler: or1k-linux-gcc (GCC) 11.2.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/Xilinx/linux-xlnx/commit/c879ca1c486ba6c809ca48c82c0c8a289d97ce15
        git remote add xilinx-xlnx https://github.com/Xilinx/linux-xlnx
        git fetch --no-tags xilinx-xlnx xlnx_rebase_v5.10
        git checkout c879ca1c486ba6c809ca48c82c0c8a289d97ce15
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=openrisc 

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/adv7511-v4l2.c: In function 'adv7511_set_rgb_quantization_mode':
   drivers/media/i2c/adv7511-v4l2.c:427:16: error: 'return' with a value, in function returning void [-Werror=return-type]
     427 |         return 0;
         |                ^
   drivers/media/i2c/adv7511-v4l2.c:422:13: note: declared here
     422 | static void adv7511_set_rgb_quantization_mode(struct v4l2_subdev *sd, struct v4l2_ctrl *ctrl)
         |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/media/i2c/adv7511-v4l2.c: At top level:
>> drivers/media/i2c/adv7511-v4l2.c:2251:21: warning: no previous prototype for 'adv7511_subdev' [-Wmissing-prototypes]
    2251 | struct v4l2_subdev *adv7511_subdev(struct v4l2_subdev *sd)
         |                     ^~~~~~~~~~~~~~
   cc1: some warnings being treated as errors


vim +/adv7511_subdev +2251 drivers/media/i2c/adv7511-v4l2.c

  2250	
> 2251	struct v4l2_subdev *adv7511_subdev(struct v4l2_subdev *sd)
  2252	{
  2253		static struct v4l2_subdev *subdev;
  2254	
  2255		if (sd)
  2256			subdev = sd;
  2257	
  2258		return subdev;
  2259	}
  2260	EXPORT_SYMBOL(adv7511_subdev);
  2261	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

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

             reply	other threads:[~2021-11-08  9:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-08  9:27 kernel test robot [this message]
2021-11-08  9:27 ` [xilinx-xlnx:xlnx_rebase_v5.10 223/1980] drivers/media/i2c/adv7511-v4l2.c:2251:21: warning: no previous prototype for 'adv7511_subdev' 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=202111081730.wNsSRVLc-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=davor.joja@logicbricks.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=monstr@monstr.eu \
    --cc=radhey.shyam.pandey@xilinx.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.