Re: [PATCH v5] fpga manager: Add Altera CvP driver

From: kbuild test robot
Date: Sun May 14 2017 - 15:02:30 EST


Hi Anatolij,

[auto build test ERROR on linus/master]
[also build test ERROR on v4.12-rc1 next-20170512]
[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/Anatolij-Gustschin/fpga-manager-Add-Altera-CvP-driver/20170515-000247
config: sparc-allyesconfig (attached as .config)
compiler: sparc64-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=sparc

All errors (new ones prefixed by >>):

drivers//fpga/altera-cvp.c: In function 'altera_cvp_write_init':
>> drivers//fpga/altera-cvp.c:196:21: error: 'FPGA_MGR_COMPRESSED_BITSTREAM' undeclared (first use in this function)
if (info->flags & FPGA_MGR_COMPRESSED_BITSTREAM)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers//fpga/altera-cvp.c:196:21: note: each undeclared identifier is reported only once for each function it appears in

vim +/FPGA_MGR_COMPRESSED_BITSTREAM +196 drivers//fpga/altera-cvp.c

190 return -EINVAL;
191 }
192
193 if (info->flags & FPGA_MGR_ENCRYPTED_BITSTREAM)
194 conf->numclks = 4; /* ratio for encrypted images */
195
> 196 if (info->flags & FPGA_MGR_COMPRESSED_BITSTREAM)
197 conf->numclks = 8; /* ratio for all compressed images */
198 }
199

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

Attachment: .config.gz
Description: application/gzip