Hi Dafna, Thank you for the patch! Yet something to improve: [auto build test ERROR on staging/staging-testing] [also build test ERROR on linuxtv-media/master v5.6-rc7 next-20200327] [if your patch is applied to the wrong git tree, please drop us a note to help 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/37406982] url: https://github.com/0day-ci/linux/commits/Dafna-Hirschfeld/media-staging-rkisp1-cap-remove-field-fmt_type-from-struct-rkisp1_capture_fmt_cfg/20200328-171629 base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git e681bb287f40e7a9dbcb04cef80fd87a2511ab86 config: i386-allyesconfig (attached as .config) compiler: gcc-7 (Debian 7.5.0-5) 7.5.0 reproduce: # save the attached .config to linux build tree make ARCH=i386 If you fix the issue, kindly add following tag Reported-by: kbuild test robot <lkp@xxxxxxxxx> All errors (new ones prefixed by >>): >> drivers/staging/media/rkisp1/rkisp1-capture.c:107:4: error: 'const struct rkisp1_capture_fmt_cfg' has no member named 'fmt_type' .fmt_type = RKISP1_FMT_YUV, ^~~~~~~~ drivers/staging/media/rkisp1/rkisp1-capture.c:112:4: error: 'const struct rkisp1_capture_fmt_cfg' has no member named 'fmt_type' .fmt_type = RKISP1_FMT_YUV, ^~~~~~~~ drivers/staging/media/rkisp1/rkisp1-capture.c:218:4: error: 'const struct rkisp1_capture_fmt_cfg' has no member named 'fmt_type' .fmt_type = RKISP1_FMT_YUV, ^~~~~~~~ drivers/staging/media/rkisp1/rkisp1-capture.c:224:4: error: 'const struct rkisp1_capture_fmt_cfg' has no member named 'fmt_type' .fmt_type = RKISP1_FMT_YUV, ^~~~~~~~ vim +107 drivers/staging/media/rkisp1/rkisp1-capture.c 0b24cb2fa2ad28 Dafna Hirschfeld 2020-03-28 98 56e3b29f9f6b27 Helen Koike 2020-01-08 99 static const struct rkisp1_capture_fmt_cfg rkisp1_mp_fmts[] = { 56e3b29f9f6b27 Helen Koike 2020-01-08 100 /* yuv422 */ 56e3b29f9f6b27 Helen Koike 2020-01-08 101 { 56e3b29f9f6b27 Helen Koike 2020-01-08 102 .fourcc = V4L2_PIX_FMT_YUYV, 56e3b29f9f6b27 Helen Koike 2020-01-08 103 .uv_swap = 0, 56e3b29f9f6b27 Helen Koike 2020-01-08 104 .write_format = RKISP1_MI_CTRL_MP_WRITE_YUVINT, 56e3b29f9f6b27 Helen Koike 2020-01-08 105 }, { 56e3b29f9f6b27 Helen Koike 2020-01-08 106 .fourcc = V4L2_PIX_FMT_YVYU, 56e3b29f9f6b27 Helen Koike 2020-01-08 @107 .fmt_type = RKISP1_FMT_YUV, 56e3b29f9f6b27 Helen Koike 2020-01-08 108 .uv_swap = 1, 56e3b29f9f6b27 Helen Koike 2020-01-08 109 .write_format = RKISP1_MI_CTRL_MP_WRITE_YUVINT, 56e3b29f9f6b27 Helen Koike 2020-01-08 110 }, { 56e3b29f9f6b27 Helen Koike 2020-01-08 111 .fourcc = V4L2_PIX_FMT_VYUY, 56e3b29f9f6b27 Helen Koike 2020-01-08 112 .fmt_type = RKISP1_FMT_YUV, 56e3b29f9f6b27 Helen Koike 2020-01-08 113 .write_format = RKISP1_MI_CTRL_MP_WRITE_YUVINT, 56e3b29f9f6b27 Helen Koike 2020-01-08 114 }, { 56e3b29f9f6b27 Helen Koike 2020-01-08 115 .fourcc = V4L2_PIX_FMT_YUV422P, 56e3b29f9f6b27 Helen Koike 2020-01-08 116 .uv_swap = 0, 56e3b29f9f6b27 Helen Koike 2020-01-08 117 .write_format = RKISP1_MI_CTRL_MP_WRITE_YUV_PLA_OR_RAW8, 56e3b29f9f6b27 Helen Koike 2020-01-08 118 }, { 56e3b29f9f6b27 Helen Koike 2020-01-08 119 .fourcc = V4L2_PIX_FMT_NV16, 56e3b29f9f6b27 Helen Koike 2020-01-08 120 .uv_swap = 0, 56e3b29f9f6b27 Helen Koike 2020-01-08 121 .write_format = RKISP1_MI_CTRL_MP_WRITE_YUV_SPLA, 56e3b29f9f6b27 Helen Koike 2020-01-08 122 }, { 56e3b29f9f6b27 Helen Koike 2020-01-08 123 .fourcc = V4L2_PIX_FMT_NV61, 56e3b29f9f6b27 Helen Koike 2020-01-08 124 .uv_swap = 1, 56e3b29f9f6b27 Helen Koike 2020-01-08 125 .write_format = RKISP1_MI_CTRL_MP_WRITE_YUV_SPLA, 56e3b29f9f6b27 Helen Koike 2020-01-08 126 }, { 56e3b29f9f6b27 Helen Koike 2020-01-08 127 .fourcc = V4L2_PIX_FMT_YVU422M, 56e3b29f9f6b27 Helen Koike 2020-01-08 128 .uv_swap = 1, 56e3b29f9f6b27 Helen Koike 2020-01-08 129 .write_format = RKISP1_MI_CTRL_MP_WRITE_YUV_PLA_OR_RAW8, 56e3b29f9f6b27 Helen Koike 2020-01-08 130 }, 56e3b29f9f6b27 Helen Koike 2020-01-08 131 /* yuv420 */ 56e3b29f9f6b27 Helen Koike 2020-01-08 132 { 56e3b29f9f6b27 Helen Koike 2020-01-08 133 .fourcc = V4L2_PIX_FMT_NV21, 56e3b29f9f6b27 Helen Koike 2020-01-08 134 .uv_swap = 1, 56e3b29f9f6b27 Helen Koike 2020-01-08 135 .write_format = RKISP1_MI_CTRL_MP_WRITE_YUV_SPLA, 56e3b29f9f6b27 Helen Koike 2020-01-08 136 }, { 56e3b29f9f6b27 Helen Koike 2020-01-08 137 .fourcc = V4L2_PIX_FMT_NV12, 56e3b29f9f6b27 Helen Koike 2020-01-08 138 .uv_swap = 0, 56e3b29f9f6b27 Helen Koike 2020-01-08 139 .write_format = RKISP1_MI_CTRL_MP_WRITE_YUV_SPLA, 56e3b29f9f6b27 Helen Koike 2020-01-08 140 }, { 56e3b29f9f6b27 Helen Koike 2020-01-08 141 .fourcc = V4L2_PIX_FMT_NV21M, 56e3b29f9f6b27 Helen Koike 2020-01-08 142 .uv_swap = 1, 56e3b29f9f6b27 Helen Koike 2020-01-08 143 .write_format = RKISP1_MI_CTRL_MP_WRITE_YUV_SPLA, 56e3b29f9f6b27 Helen Koike 2020-01-08 144 }, { 56e3b29f9f6b27 Helen Koike 2020-01-08 145 .fourcc = V4L2_PIX_FMT_NV12M, 56e3b29f9f6b27 Helen Koike 2020-01-08 146 .uv_swap = 0, 56e3b29f9f6b27 Helen Koike 2020-01-08 147 .write_format = RKISP1_MI_CTRL_MP_WRITE_YUV_SPLA, 56e3b29f9f6b27 Helen Koike 2020-01-08 148 }, { 56e3b29f9f6b27 Helen Koike 2020-01-08 149 .fourcc = V4L2_PIX_FMT_YUV420, 56e3b29f9f6b27 Helen Koike 2020-01-08 150 .uv_swap = 0, 56e3b29f9f6b27 Helen Koike 2020-01-08 151 .write_format = RKISP1_MI_CTRL_MP_WRITE_YUV_PLA_OR_RAW8, 56e3b29f9f6b27 Helen Koike 2020-01-08 152 }, { 56e3b29f9f6b27 Helen Koike 2020-01-08 153 .fourcc = V4L2_PIX_FMT_YVU420, 56e3b29f9f6b27 Helen Koike 2020-01-08 154 .uv_swap = 1, 56e3b29f9f6b27 Helen Koike 2020-01-08 155 .write_format = RKISP1_MI_CTRL_MP_WRITE_YUV_PLA_OR_RAW8, 56e3b29f9f6b27 Helen Koike 2020-01-08 156 }, 56e3b29f9f6b27 Helen Koike 2020-01-08 157 /* yuv444 */ 56e3b29f9f6b27 Helen Koike 2020-01-08 158 { 56e3b29f9f6b27 Helen Koike 2020-01-08 159 .fourcc = V4L2_PIX_FMT_YUV444M, 56e3b29f9f6b27 Helen Koike 2020-01-08 160 .uv_swap = 0, 56e3b29f9f6b27 Helen Koike 2020-01-08 161 .write_format = RKISP1_MI_CTRL_MP_WRITE_YUV_PLA_OR_RAW8, 56e3b29f9f6b27 Helen Koike 2020-01-08 162 }, 56e3b29f9f6b27 Helen Koike 2020-01-08 163 /* yuv400 */ 56e3b29f9f6b27 Helen Koike 2020-01-08 164 { 56e3b29f9f6b27 Helen Koike 2020-01-08 165 .fourcc = V4L2_PIX_FMT_GREY, 56e3b29f9f6b27 Helen Koike 2020-01-08 166 .uv_swap = 0, 56e3b29f9f6b27 Helen Koike 2020-01-08 167 .write_format = RKISP1_MI_CTRL_MP_WRITE_YUVINT, 56e3b29f9f6b27 Helen Koike 2020-01-08 168 }, 56e3b29f9f6b27 Helen Koike 2020-01-08 169 /* raw */ 56e3b29f9f6b27 Helen Koike 2020-01-08 170 { 56e3b29f9f6b27 Helen Koike 2020-01-08 171 .fourcc = V4L2_PIX_FMT_SRGGB8, 56e3b29f9f6b27 Helen Koike 2020-01-08 172 .write_format = RKISP1_MI_CTRL_MP_WRITE_YUV_PLA_OR_RAW8, 56e3b29f9f6b27 Helen Koike 2020-01-08 173 }, { 56e3b29f9f6b27 Helen Koike 2020-01-08 174 .fourcc = V4L2_PIX_FMT_SGRBG8, 56e3b29f9f6b27 Helen Koike 2020-01-08 175 .write_format = RKISP1_MI_CTRL_MP_WRITE_YUV_PLA_OR_RAW8, 56e3b29f9f6b27 Helen Koike 2020-01-08 176 }, { 56e3b29f9f6b27 Helen Koike 2020-01-08 177 .fourcc = V4L2_PIX_FMT_SGBRG8, 56e3b29f9f6b27 Helen Koike 2020-01-08 178 .write_format = RKISP1_MI_CTRL_MP_WRITE_YUV_PLA_OR_RAW8, 56e3b29f9f6b27 Helen Koike 2020-01-08 179 }, { 56e3b29f9f6b27 Helen Koike 2020-01-08 180 .fourcc = V4L2_PIX_FMT_SBGGR8, 56e3b29f9f6b27 Helen Koike 2020-01-08 181 .write_format = RKISP1_MI_CTRL_MP_WRITE_YUV_PLA_OR_RAW8, 56e3b29f9f6b27 Helen Koike 2020-01-08 182 }, { 56e3b29f9f6b27 Helen Koike 2020-01-08 183 .fourcc = V4L2_PIX_FMT_SRGGB10, 56e3b29f9f6b27 Helen Koike 2020-01-08 184 .write_format = RKISP1_MI_CTRL_MP_WRITE_RAW12, 56e3b29f9f6b27 Helen Koike 2020-01-08 185 }, { 56e3b29f9f6b27 Helen Koike 2020-01-08 186 .fourcc = V4L2_PIX_FMT_SGRBG10, 56e3b29f9f6b27 Helen Koike 2020-01-08 187 .write_format = RKISP1_MI_CTRL_MP_WRITE_RAW12, 56e3b29f9f6b27 Helen Koike 2020-01-08 188 }, { 56e3b29f9f6b27 Helen Koike 2020-01-08 189 .fourcc = V4L2_PIX_FMT_SGBRG10, 56e3b29f9f6b27 Helen Koike 2020-01-08 190 .write_format = RKISP1_MI_CTRL_MP_WRITE_RAW12, 56e3b29f9f6b27 Helen Koike 2020-01-08 191 }, { 56e3b29f9f6b27 Helen Koike 2020-01-08 192 .fourcc = V4L2_PIX_FMT_SBGGR10, 56e3b29f9f6b27 Helen Koike 2020-01-08 193 .write_format = RKISP1_MI_CTRL_MP_WRITE_RAW12, 56e3b29f9f6b27 Helen Koike 2020-01-08 194 }, { 56e3b29f9f6b27 Helen Koike 2020-01-08 195 .fourcc = V4L2_PIX_FMT_SRGGB12, 56e3b29f9f6b27 Helen Koike 2020-01-08 196 .write_format = RKISP1_MI_CTRL_MP_WRITE_RAW12, 56e3b29f9f6b27 Helen Koike 2020-01-08 197 }, { 56e3b29f9f6b27 Helen Koike 2020-01-08 198 .fourcc = V4L2_PIX_FMT_SGRBG12, 56e3b29f9f6b27 Helen Koike 2020-01-08 199 .write_format = RKISP1_MI_CTRL_MP_WRITE_RAW12, 56e3b29f9f6b27 Helen Koike 2020-01-08 200 }, { 56e3b29f9f6b27 Helen Koike 2020-01-08 201 .fourcc = V4L2_PIX_FMT_SGBRG12, 56e3b29f9f6b27 Helen Koike 2020-01-08 202 .write_format = RKISP1_MI_CTRL_MP_WRITE_RAW12, 56e3b29f9f6b27 Helen Koike 2020-01-08 203 }, { 56e3b29f9f6b27 Helen Koike 2020-01-08 204 .fourcc = V4L2_PIX_FMT_SBGGR12, 56e3b29f9f6b27 Helen Koike 2020-01-08 205 .write_format = RKISP1_MI_CTRL_MP_WRITE_RAW12, 56e3b29f9f6b27 Helen Koike 2020-01-08 206 }, 56e3b29f9f6b27 Helen Koike 2020-01-08 207 }; 56e3b29f9f6b27 Helen Koike 2020-01-08 208 :::::: The code at line 107 was first introduced by commit :::::: 56e3b29f9f6b27a063df2a31f148782073cbe5e9 media: staging: rkisp1: add streaming paths :::::: TO: Helen Koike <helen.koike@xxxxxxxxxxxxx> :::::: CC: Mauro Carvalho Chehab <mchehab+huawei@xxxxxxxxxx> --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip