From: kernel test robot <lkp@intel.com>
To: "Michael Riesch" <michael.riesch@wolfvision.net>,
"Mehdi Djait" <mehdi.djait@linux.intel.com>,
"Maxime Chevallier" <maxime.chevallier@bootlin.com>,
"Théo Lebrun" <theo.lebrun@bootlin.com>,
"Gerald Loacker" <gerald.loacker@wolfvision.net>,
"Thomas Petazzoni" <thomas.petazzoni@bootlin.com>,
"Laurent Pinchart" <laurent.pinchart@ideasonboard.com>,
"Mauro Carvalho Chehab" <mchehab@kernel.org>,
"Rob Herring" <robh+dt@kernel.org>,
"Krzysztof Kozlowski" <krzk@kernel.org>,
"Conor Dooley" <conor+dt@kernel.org>,
"Heiko Stuebner" <heiko@sntech.de>,
"Kever Yang" <kever.yang@rock-chips.com>,
"Nicolas Dufresne" <nicolas.dufresne@collabora.com>,
"Sebastian Fricke" <sebastian.fricke@collabora.com>,
"Sebastian Reichel" <sebastian.reichel@collabora.com>,
"Paul Kocialkowski" <paulk@sys-base.io>,
"Alexander Shiyan" <eagle.alexander923@gmail.com>,
"Val Packett" <val@packett.cool>,
"Philipp Zabel" <p.zabel@pengutronix.de>,
"Sakari Ailus" <sakari.ailus@linux.intel.com>
Cc: oe-kbuild-all@lists.linux.dev, linux-media@vger.kernel.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-rockchip@lists.infradead.org,
Michael Riesch <michael.riesch@wolfvision.net>
Subject: Re: [PATCH v3 4/7] media: rockchip: add a driver for the rockchip camera interface
Date: Fri, 7 Feb 2025 23:27:14 +0800 [thread overview]
Message-ID: <202502072356.crcHKSbX-lkp@intel.com> (raw)
In-Reply-To: <20250206-v6-8-topic-rk3568-vicap-v3-4-69d1f19e5c40@wolfvision.net>
Hi Michael,
kernel test robot noticed the following build warnings:
[auto build test WARNING on 2014c95afecee3e76ca4a56956a936e23283f05b]
url: https://github.com/intel-lab-lkp/linux/commits/Michael-Riesch/media-dt-bindings-media-video-interfaces-add-defines-for-sampling-modes/20250206-180041
base: 2014c95afecee3e76ca4a56956a936e23283f05b
patch link: https://lore.kernel.org/r/20250206-v6-8-topic-rk3568-vicap-v3-4-69d1f19e5c40%40wolfvision.net
patch subject: [PATCH v3 4/7] media: rockchip: add a driver for the rockchip camera interface
config: loongarch-allmodconfig (https://download.01.org/0day-ci/archive/20250207/202502072356.crcHKSbX-lkp@intel.com/config)
compiler: loongarch64-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250207/202502072356.crcHKSbX-lkp@intel.com/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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202502072356.crcHKSbX-lkp@intel.com/
All warnings (new ones prefixed by >>):
drivers/media/platform/rockchip/rkcif/rkcif-capture-dvp.c: In function 'rkcif_dvp_isr':
>> drivers/media/platform/rockchip/rkcif/rkcif-capture-dvp.c:759:32: warning: variable 'ctl' set but not used [-Wunused-but-set-variable]
759 | u32 lastline, lastpix, ctl, cif_frmst;
| ^~~
vim +/ctl +759 drivers/media/platform/rockchip/rkcif/rkcif-capture-dvp.c
752
753 irqreturn_t rkcif_dvp_isr(int irq, void *ctx)
754 {
755 struct device *dev = ctx;
756 struct rkcif_device *rkcif = dev_get_drvdata(dev);
757 struct rkcif_stream *stream;
758 unsigned int intstat;
> 759 u32 lastline, lastpix, ctl, cif_frmst;
760 irqreturn_t ret = IRQ_NONE;
761
762 if (!rkcif->match_data->dvp)
763 return ret;
764
765 intstat = cif_dvp_read(rkcif, RKCIF_DVP_INTSTAT);
766 cif_frmst = cif_dvp_read(rkcif, RKCIF_DVP_FRAME_STATUS);
767 lastline = RKCIF_FETCH_Y_LAST_LINE(
768 cif_dvp_read(rkcif, RKCIF_DVP_LAST_LINE));
769 lastpix = RKCIF_FETCH_Y_LAST_LINE(
770 cif_dvp_read(rkcif, RKCIF_DVP_LAST_PIX));
771 ctl = cif_dvp_read(rkcif, RKCIF_DVP_CTRL);
772
773 if (intstat & RKCIF_INTSTAT_FRAME_END) {
774 cif_dvp_write(rkcif, RKCIF_DVP_INTSTAT,
775 RKCIF_INTSTAT_FRAME_END_CLR |
776 RKCIF_INTSTAT_LINE_END_CLR);
777
778 stream = &rkcif->interfaces[RKCIF_DVP].streams[RKCIF_ID0];
779
780 if (stream->stopping) {
781 cif_dvp_stop_streaming(stream);
782 wake_up(&stream->wq_stopped);
783 return IRQ_HANDLED;
784 }
785
786 if (lastline != stream->pix.height) {
787 v4l2_err(&rkcif->v4l2_dev,
788 "bad frame, irq:%#x frmst:%#x size:%dx%d\n",
789 intstat, cif_frmst, lastpix, lastline);
790
791 cif_dvp_reset_stream(rkcif);
792 }
793
794 rkcif_stream_pingpong(stream);
795
796 ret = IRQ_HANDLED;
797 }
798
799 return ret;
800 }
801
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2025-02-07 15:27 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-06 9:57 [PATCH v3 0/7] media: rockchip: add a driver for the rockchip camera interface Michael Riesch
2025-02-06 9:57 ` [PATCH v3 1/7] media: dt-bindings: media: video-interfaces: add defines for sampling modes Michael Riesch
2025-02-06 9:57 ` [PATCH v3 2/7] media: dt-bindings: media: add bindings for rockchip px30 vip Michael Riesch
2025-02-06 9:57 ` [PATCH v3 3/7] media: dt-bindings: media: add bindings for rockchip rk3568 vicap Michael Riesch
2025-02-06 11:25 ` Rob Herring (Arm)
2025-02-06 9:57 ` [PATCH v3 4/7] media: rockchip: add a driver for the rockchip camera interface Michael Riesch
2025-02-07 15:27 ` kernel test robot [this message]
2025-02-06 9:57 ` [PATCH v3 5/7] arm64: dts: rockchip: add the vip node to px30 Michael Riesch
2025-02-06 9:57 ` [PATCH v3 6/7] arm64: dts: rockchip: add vicap node to rk356x Michael Riesch
2025-02-06 9:57 ` [PATCH v3 7/7] arm64: dts: rockchip: enable vicap dvp on wolfvision pf5 io expander Michael Riesch
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=202502072356.crcHKSbX-lkp@intel.com \
--to=lkp@intel.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=eagle.alexander923@gmail.com \
--cc=gerald.loacker@wolfvision.net \
--cc=heiko@sntech.de \
--cc=kever.yang@rock-chips.com \
--cc=krzk@kernel.org \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=maxime.chevallier@bootlin.com \
--cc=mchehab@kernel.org \
--cc=mehdi.djait@linux.intel.com \
--cc=michael.riesch@wolfvision.net \
--cc=nicolas.dufresne@collabora.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=p.zabel@pengutronix.de \
--cc=paulk@sys-base.io \
--cc=robh+dt@kernel.org \
--cc=sakari.ailus@linux.intel.com \
--cc=sebastian.fricke@collabora.com \
--cc=sebastian.reichel@collabora.com \
--cc=theo.lebrun@bootlin.com \
--cc=thomas.petazzoni@bootlin.com \
--cc=val@packett.cool \
/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