Re: [PATCH v7 2/3] media: rockchip: Add a driver for Rockhip's camera interface

From: kernel test robot
Date: Tue Oct 10 2023 - 15:47:09 EST


Hi Mehdi,

kernel test robot noticed the following build warnings:

[auto build test WARNING on rockchip/for-next]
[also build test WARNING on linus/master v6.6-rc5 next-20231010]
[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/Mehdi-Djait/media-dt-bindings-media-add-bindings-for-Rockchip-VIP/20231010-211703
base: https://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip.git for-next
patch link: https://lore.kernel.org/r/d5f301fe2b72f90aff357b3b6b4de77939f5248d.1696943295.git.mehdi.djait%40bootlin.com
patch subject: [PATCH v7 2/3] media: rockchip: Add a driver for Rockhip's camera interface
config: microblaze-allyesconfig (https://download.01.org/0day-ci/archive/20231011/202310110303.xXSwhz1o-lkp@xxxxxxxxx/config)
compiler: microblaze-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231011/202310110303.xXSwhz1o-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202310110303.xXSwhz1o-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

drivers/media/platform/rockchip/vip/capture.c: In function 'rk_vip_irq_pingpong':
>> drivers/media/platform/rockchip/vip/capture.c:1134:13: warning: unused variable 'ret' [-Wunused-variable]
1134 | int ret;
| ^~~


vim +/ret +1134 drivers/media/platform/rockchip/vip/capture.c

1127
1128 irqreturn_t rk_vip_irq_pingpong(int irq, void *ctx)
1129 {
1130 struct device *dev = ctx;
1131 struct rk_vip_device *vip_dev = dev_get_drvdata(dev);
1132 struct rk_vip_stream *stream = &vip_dev->stream;
1133 void __iomem *base = vip_dev->base_addr;
> 1134 int ret;

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