From mboxrd@z Thu Jan 1 00:00:00 1970 From: kbuild test robot Subject: Re: [PATCH v6] rockchip/rga: v4l2 m2m support Date: Thu, 3 Aug 2017 22:25:12 +0800 Message-ID: <201708032210.34IGlPCJ%fengguang.wu@intel.com> References: <1501668050-31618-1-git-send-email-jacob-chen@iotwrt.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1501668050-31618-1-git-send-email-jacob-chen-fyOeoxGR3m/QT0dZR+AlfA@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org Cc: kbuild-all-JC7UmRfGjtg@public.gmane.org, linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, heiko-4mtYJXux2i+zQB+pC5nmwQ@public.gmane.org, robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, mchehab-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, linux-media-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, laurent.pinchart+renesas-ryLnwIuWjnjg/C1BVhZhaw@public.gmane.org, hans.verkuil-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org, tfiga-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org, nicolas-dDhyB4GVkw9AFePFGvp55w@public.gmane.org, Jacob Chen List-Id: linux-rockchip.vger.kernel.org Hi Jacob, [auto build test WARNING on rockchip/for-next] [also build test WARNING on v4.13-rc3 next-20170803] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Jacob-Chen/rockchip-rga-v4l2-m2m-support/20170802-235943 base: https://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip.git for-next reproduce: # apt-get install sparse make ARCH=x86_64 allmodconfig make C=1 CF=-D__CHECK_ENDIAN__ sparse warnings: (new ones prefixed by >>) vim +/case +159 drivers/media/platform/rockchip-rga/rga.c 150 151 static int rga_s_ctrl(struct v4l2_ctrl *ctrl) 152 { 153 struct rga_ctx *ctx = container_of(ctrl->handler, struct rga_ctx, 154 ctrl_handler); 155 unsigned long flags; 156 157 spin_lock_irqsave(&ctx->rga->ctrl_lock, flags); 158 switch (ctrl->id) { > 159 case V4L2_CID_PORTER_DUFF_MODE: 160 ctx->op = ctrl->val; 161 break; 162 case V4L2_CID_HFLIP: 163 ctx->hflip = ctrl->val; 164 break; 165 case V4L2_CID_VFLIP: 166 ctx->vflip = ctrl->val; 167 break; 168 case V4L2_CID_ROTATE: 169 ctx->rotate = ctrl->val; 170 break; 171 case V4L2_CID_BG_COLOR: 172 ctx->fill_color = ctrl->val; 173 break; 174 } 175 spin_unlock_irqrestore(&ctx->rga->ctrl_lock, flags); 176 return 0; 177 } 178 --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html