Content-Type: multipart/mixed; boundary="===============4821102180514801956==" MIME-Version: 1.0 From: kbuild test robot To: kbuild-all@lists.01.org Subject: Re: [PATCH v8 8/8] media: imx214: Add new control with V4L2_CID_UNIT_CELL_SIZE Date: Tue, 01 Oct 2019 04:36:48 +0800 Message-ID: <201910010426.4tCTnenf%lkp@intel.com> In-Reply-To: <20190930101841.19630-9-ribalda@kernel.org> List-Id: --===============4821102180514801956== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Ricardo, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on linuxtv-media/master] [cannot apply to v5.3 next-20190930] [if your patch is applied to the wrong git tree, please drop us a note to h= elp improve the system. BTW, we also suggest to use '--base' option to specify = the base tree in git format-patch, please see https://stackoverflow.com/a/37406= 982] url: https://github.com/0day-ci/linux/commits/Ricardo-Ribalda-Delgado/Im= plement-UNIT_CELL_SIZE-control/20190930-182143 base: git://linuxtv.org/media_tree.git master reproduce: # apt-get install sparse # sparse version: v0.6.1-rc1-37-gd466a02-dirty make ARCH=3Dx86_64 allmodconfig make C=3D1 CF=3D'-fdiagnostic-prefix -D__CHECK_ENDIAN__' If you fix the issue, kindly add following tag Reported-by: kbuild test robot sparse warnings: (new ones prefixed by >>) >> include/media/v4l2-ctrls.h:84:17: sparse: sparse: cast to non-scalar vim +84 include/media/v4l2-ctrls.h 0176077a813933 Hans Verkuil 2014-04-27 75 = ba17c23180bad2 Ricardo Ribalda Delgado 2019-09-30 76 /** ba17c23180bad2 Ricardo Ribalda Delgado 2019-09-30 77 * v4l2_ctrl_ptr() -= Helper function to return a v4l2_ctrl_ptr from a ba17c23180bad2 Ricardo Ribalda Delgado 2019-09-30 78 * void pointer ba17c23180bad2 Ricardo Ribalda Delgado 2019-09-30 79 * @ptr: The void po= inter ba17c23180bad2 Ricardo Ribalda Delgado 2019-09-30 80 */ ba17c23180bad2 Ricardo Ribalda Delgado 2019-09-30 81 static inline union = v4l2_ctrl_ptr v4l2_ctrl_ptr_from_void(void *ptr) ba17c23180bad2 Ricardo Ribalda Delgado 2019-09-30 82 { ba17c23180bad2 Ricardo Ribalda Delgado 2019-09-30 83 BUILD_BUG_ON(sizeof= (union v4l2_ctrl_ptr) !=3D sizeof(void *)); ba17c23180bad2 Ricardo Ribalda Delgado 2019-09-30 @84 return (union v4l2_= ctrl_ptr) ptr; ba17c23180bad2 Ricardo Ribalda Delgado 2019-09-30 85 } ba17c23180bad2 Ricardo Ribalda Delgado 2019-09-30 86 = :::::: The code at line 84 was first introduced by commit :::::: ba17c23180bad2a150b4094b28c9df8aa6195621 media: v4l2-ctrl: Add new h= elper v4l2_ctrl_ptr_from_void :::::: TO: Ricardo Ribalda Delgado :::::: CC: 0day robot --- 0-DAY kernel test infrastructure Open Source Technology Cent= er https://lists.01.org/pipermail/kbuild-all Intel Corporati= on --===============4821102180514801956==--