[renesas-drivers:topic/vsp1/tlb-optimise-v2-rebased1 6/8] drivers/media/platform/vsp1/vsp1_video.c:808:8: error: implicit declaration of function 'vsp1_dl_list_get_body'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git topic/vsp1/tlb-optimise-v2-rebased1
head:   b027d5857edb7bc9fa19b8605fb6b98f6479a05e
commit: a7855204b1ca49db2543fb861fa852ce8d280fd0 [6/8] v4l: vsp1: Adapt entities to configure into a body
config: arm64-defconfig (attached as .config)
compiler: aarch64-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout a7855204b1ca49db2543fb861fa852ce8d280fd0
        # save the attached .config to linux build tree
        make.cross ARCH=arm64 

Note: the renesas-drivers/topic/vsp1/tlb-optimise-v2-rebased1 HEAD b027d5857edb7bc9fa19b8605fb6b98f6479a05e builds fine.
      It only hurts bisectibility.

All error/warnings (new ones prefixed by >>):

   drivers/media/platform/vsp1/vsp1_video.c: In function 'vsp1_video_setup_pipeline':
>> drivers/media/platform/vsp1/vsp1_video.c:808:8: error: implicit declaration of function 'vsp1_dl_list_get_body' [-Werror=implicit-function-declaration]
     dlb = vsp1_dl_list_get_body(pipe->dl);
           ^~~~~~~~~~~~~~~~~~~~~
>> drivers/media/platform/vsp1/vsp1_video.c:808:6: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
     dlb = vsp1_dl_list_get_body(pipe->dl);
         ^
   cc1: some warnings being treated as errors

vim +/vsp1_dl_list_get_body +808 drivers/media/platform/vsp1/vsp1_video.c

   790	
   791	static int vsp1_video_setup_pipeline(struct vsp1_pipeline *pipe)
   792	{
   793		struct vsp1_entity *entity;
   794		struct vsp1_dl_body *dlb;
   795		int ret;
   796	
   797		/* Determine this pipelines sizes for image partitioning support. */
   798		ret = vsp1_video_pipeline_setup_partitions(pipe);
   799		if (ret < 0)
   800			return ret;
   801	
   802		/* Prepare the display list. */
   803		pipe->dl = vsp1_dl_list_get(pipe->output->dlm);
   804		if (!pipe->dl)
   805			return -ENOMEM;
   806	
   807		/* Retrieve the default DLB from the list */
 > 808		dlb = vsp1_dl_list_get_body(pipe->dl);
   809	
   810		if (pipe->uds) {
   811			struct vsp1_uds *uds = to_uds(&pipe->uds->subdev);
   812	
   813			/*
   814			 * If a BRU or BRS is present in the pipeline before the UDS,
   815			 * the alpha component doesn't need to be scaled as the BRU and
   816			 * BRS output alpha value is fixed to 255. Otherwise we need to
   817			 * scale the alpha component only when available at the input
   818			 * RPF.
   819			 */
   820			if (pipe->uds_input->type == VSP1_ENTITY_BRU ||
   821			    pipe->uds_input->type == VSP1_ENTITY_BRS) {
   822				uds->scale_alpha = false;
   823			} else {
   824				struct vsp1_rwpf *rpf =
   825					to_rwpf(&pipe->uds_input->subdev);
   826	
   827				uds->scale_alpha = rpf->fmtinfo->alpha;
   828			}
   829		}
   830	
   831		list_for_each_entry(entity, &pipe->entities, list_pipe) {
   832			vsp1_entity_route_setup(entity, pipe, dlb);
   833			vsp1_entity_prepare(entity, pipe, dlb);
   834		}
   835	
   836		return 0;
   837	}
   838	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux