tree: https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git master head: 1e9588d83e43b54a15094cd0fa125f8a5645d6ea commit: 5debeb08338b520f52577ca6cf9be815a54c07ea [101/531] v4l: vsp1: Provide a writeback video device config: xtensa-allmodconfig (attached as .config) compiler: xtensa-linux-gcc (GCC) 4.9.0 reproduce: wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout 5debeb08338b520f52577ca6cf9be815a54c07ea # save the attached .config to linux build tree make.cross ARCH=xtensa
All warnings (new ones prefixed by >>):
drivers/media//platform/vsp1/vsp1_video.c: In function
'vsp1_video_wb_process_buffer':
>> drivers/media//platform/vsp1/vsp1_video.c:951:30: warning: missing braces
>> around initializer [-Wmissing-braces]
video->rwpf->mem = (struct vsp1_rwpf_memory) { 0 };
^
drivers/media//platform/vsp1/vsp1_video.c:951:30: warning: (near
initialization for '(anonymous).addr') [-Wmissing-braces]
drivers/media//platform/vsp1/vsp1_video.c: In function
'vsp1_video_wb_stop_streaming':
drivers/media//platform/vsp1/vsp1_video.c:1013:22: warning: missing braces
around initializer [-Wmissing-braces]
rwpf->mem = (struct vsp1_rwpf_memory) { 0 };
^
drivers/media//platform/vsp1/vsp1_video.c:1013:22: warning: (near
initialization for '(anonymous).addr') [-Wmissing-braces]
vim +951 drivers/media//platform/vsp1/vsp1_video.c
935 }
936
937 buf = list_first_entry_or_null(&video->wbqueue, struct
vsp1_vb2_buffer,
938 queue);
939
940 if (buf) {
941 video->rwpf->mem = buf->mem;
942
943 /*
944 * Store this buffer as pending. It will commence at
the next
945 * frame start interrupt
946 */
947 video->pending = buf;
948 list_del(&buf->queue);
949 } else {
950 /* Disable writeback with no buffer */
> 951 video->rwpf->mem = (struct vsp1_rwpf_memory) { 0 };
952 }
953
954 spin_unlock_irqrestore(&video->irqlock, flags);
955 }
956
957 static void vsp1_video_wb_frame_end(struct vsp1_pipeline *pipe)
958 {
959 struct vsp1_video *video = pipe->output->video;
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
.config.gz
Description: application/gzip
