./linux/scatterlist.h:185:34: error: invalid use of undefined type 'struct folio'
kernel test robot <[email protected]> Fri, 31 Jul 2026 13:33:22 +0200
| Newsgroups | dev.linux.lists.oe-kbuild |
|---|---|
| Message-ID | <[email protected]> |
:::::: :::::: Manual check reason: "low confidence bisect report" :::::: BCC: [email protected] CC: [email protected] CC: [email protected] TO: Mehdi Djait <[email protected]> CC: Hans Verkuil <[email protected]> CC: Lad Prabhakar <[email protected]> CC: Laurent Pinchart <[email protected]> CC: Sakari Ailus <[email protected]> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 8ba098e6b6ff0db8edf28528d1552be261af30d4 commit: 374e55cf087613663440719b08166b6686b36bcc media: i2c: gc2145: Use the v4l2 helper for obtaining the clock date: 12 months ago :::::: branch date: 11 hours ago :::::: commit date: 12 months ago config: s390-allnoconfig-bpf (https://download.01.org/0day-ci/archive/20260731/[email protected]/config) compiler: s390x-linux-gnu-gcc (Debian 14.2.0-19) 14.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260731/[email protected]/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Fixes: 374e55cf0876 ("media: i2c: gc2145: Use the v4l2 helper for obtaining the clock") | Reported-by: kernel test robot <[email protected]> | Closes: https://lore.kernel.org/r/[email protected]/ All errors (new ones prefixed by >>): In file included from main.c:4: ./linux/scatterlist.h:180:64: warning: 'struct folio' declared inside parameter list will not be visible outside of this definition or declaration 180 | static inline void sg_set_folio(struct scatterlist *sg, struct folio *folio, | ^~~~~ ./linux/scatterlist.h: In function 'sg_set_folio': >> ./linux/scatterlist.h:185:34: error: invalid use of undefined type 'struct folio' 185 | sg_assign_page(sg, &folio->page); | ^~ -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki