Skip to content

Instantly share code, notes, and snippets.

@imchairmanm
Created April 10, 2024 09:36
Show Gist options
  • Save imchairmanm/09df2e3fe9b38c23b79b9029213a86c5 to your computer and use it in GitHub Desktop.
Save imchairmanm/09df2e3fe9b38c23b79b9029213a86c5 to your computer and use it in GitHub Desktop.
linuxKernel.packages.linux_6_8.ipu6-drivers on unstable logs
@nix { "action": "setPhase", "phase": "unpackPhase" }
Running phase: unpackPhase
unpacking source archive /nix/store/j4ap5fdknayq4sav3kkcnr3bql8y33dk-source
source root is source
@nix { "action": "setPhase", "phase": "patchPhase" }
Running phase: patchPhase
'/nix/store/rw402gbbkmpgy467d3by2dim8k3cmsih-source/backport-include' -> './backport-include'
'/nix/store/rw402gbbkmpgy467d3by2dim8k3cmsih-source/backport-include/drivers' -> './backport-include/drivers'
'/nix/store/rw402gbbkmpgy467d3by2dim8k3cmsih-source/backport-include/drivers/misc' -> './backport-include/drivers/misc'
'/nix/store/rw402gbbkmpgy467d3by2dim8k3cmsih-source/backport-include/drivers/misc/mei' -> './backport-include/drivers/misc/mei'
'/nix/store/rw402gbbkmpgy467d3by2dim8k3cmsih-source/backport-include/drivers/misc/mei/hbm.h' -> './backport-include/drivers/misc/mei/hbm.h'
'/nix/store/rw402gbbkmpgy467d3by2dim8k3cmsih-source/backport-include/drivers/misc/mei/hw.h' -> './backport-include/drivers/misc/mei/hw.h'
'/nix/store/rw402gbbkmpgy467d3by2dim8k3cmsih-source/backport-include/drivers/misc/mei/mei_dev.h' -> './backport-include/drivers/misc/mei/mei_dev.h'
'/nix/store/rw402gbbkmpgy467d3by2dim8k3cmsih-source/drivers/gpio' -> './drivers/gpio'
'/nix/store/rw402gbbkmpgy467d3by2dim8k3cmsih-source/drivers/gpio/gpio-ljca.c' -> './drivers/gpio/gpio-ljca.c'
'/nix/store/rw402gbbkmpgy467d3by2dim8k3cmsih-source/drivers/i2c' -> './drivers/i2c'
'/nix/store/rw402gbbkmpgy467d3by2dim8k3cmsih-source/drivers/i2c/busses' -> './drivers/i2c/busses'
'/nix/store/rw402gbbkmpgy467d3by2dim8k3cmsih-source/drivers/i2c/busses/i2c-ljca.c' -> './drivers/i2c/busses/i2c-ljca.c'
'/nix/store/rw402gbbkmpgy467d3by2dim8k3cmsih-source/drivers/mfd' -> './drivers/mfd'
'/nix/store/rw402gbbkmpgy467d3by2dim8k3cmsih-source/drivers/mfd/ljca.c' -> './drivers/mfd/ljca.c'
'/nix/store/rw402gbbkmpgy467d3by2dim8k3cmsih-source/drivers/misc' -> './drivers/misc'
'/nix/store/rw402gbbkmpgy467d3by2dim8k3cmsih-source/drivers/misc/ivsc' -> './drivers/misc/ivsc'
'/nix/store/rw402gbbkmpgy467d3by2dim8k3cmsih-source/drivers/misc/ivsc/Kconfig' -> './drivers/misc/ivsc/Kconfig'
'/nix/store/rw402gbbkmpgy467d3by2dim8k3cmsih-source/drivers/misc/ivsc/Makefile' -> './drivers/misc/ivsc/Makefile'
'/nix/store/rw402gbbkmpgy467d3by2dim8k3cmsih-source/drivers/misc/ivsc/intel_vsc.c' -> './drivers/misc/ivsc/intel_vsc.c'
'/nix/store/rw402gbbkmpgy467d3by2dim8k3cmsih-source/drivers/misc/ivsc/intel_vsc.h' -> './drivers/misc/ivsc/intel_vsc.h'
'/nix/store/rw402gbbkmpgy467d3by2dim8k3cmsih-source/drivers/misc/ivsc/mei_ace.c' -> './drivers/misc/ivsc/mei_ace.c'
'/nix/store/rw402gbbkmpgy467d3by2dim8k3cmsih-source/drivers/misc/ivsc/mei_ace_debug.c' -> './drivers/misc/ivsc/mei_ace_debug.c'
'/nix/store/rw402gbbkmpgy467d3by2dim8k3cmsih-source/drivers/misc/ivsc/mei_csi.c' -> './drivers/misc/ivsc/mei_csi.c'
'/nix/store/rw402gbbkmpgy467d3by2dim8k3cmsih-source/drivers/misc/ivsc/mei_pse.c' -> './drivers/misc/ivsc/mei_pse.c'
'/nix/store/rw402gbbkmpgy467d3by2dim8k3cmsih-source/drivers/misc/mei' -> './drivers/misc/mei'
'/nix/store/rw402gbbkmpgy467d3by2dim8k3cmsih-source/drivers/misc/mei/hw-vsc.c' -> './drivers/misc/mei/hw-vsc.c'
'/nix/store/rw402gbbkmpgy467d3by2dim8k3cmsih-source/drivers/misc/mei/hw-vsc.h' -> './drivers/misc/mei/hw-vsc.h'
'/nix/store/rw402gbbkmpgy467d3by2dim8k3cmsih-source/drivers/misc/mei/spi-vsc.c' -> './drivers/misc/mei/spi-vsc.c'
'/nix/store/rw402gbbkmpgy467d3by2dim8k3cmsih-source/drivers/spi' -> './drivers/spi'
'/nix/store/rw402gbbkmpgy467d3by2dim8k3cmsih-source/drivers/spi/spi-ljca.c' -> './drivers/spi/spi-ljca.c'
'/nix/store/rw402gbbkmpgy467d3by2dim8k3cmsih-source/include/linux' -> './include/linux'
'/nix/store/rw402gbbkmpgy467d3by2dim8k3cmsih-source/include/linux/mfd' -> './include/linux/mfd'
'/nix/store/rw402gbbkmpgy467d3by2dim8k3cmsih-source/include/linux/mfd/ljca.h' -> './include/linux/mfd/ljca.h'
'/nix/store/rw402gbbkmpgy467d3by2dim8k3cmsih-source/include/linux/vsc.h' -> './include/linux/vsc.h'
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "configurePhase" }
Running phase: configurePhase
no configure script, doing nothing
@nix { "action": "setPhase", "phase": "buildPhase" }
Running phase: buildPhase
build flags: -j16 SHELL=/nix/store/a1s263pmsci9zykm5xcdf7x9rv26w6d5-bash-5.2p26/bin/bash O=\$\(buildRoot\) CC=/nix/store/ac1hb5dc2z4biwgy8mjrhlifffkkrvdq-gcc-wrapper-13.2.0/bin/cc HOSTCC=/nix/store/ac1hb5dc2z4biwgy8mjrhlifffkkrvdq-gcc-wrapper-13.2.0/bin/cc HOSTLD=/nix/store/jsjfmx7r6cpyixxsg7bjl5cy3y8hw7k7-binutils-wrapper-2.41/bin/ld ARCH=x86_64 KERNELRELEASE=6.8.4 KERNEL_SRC=/nix/store/gcg3ymgxjx5rw8xyfy32icarkrbhylik-linux-6.8.4-dev/lib/modules/6.8.4/build
make -C /nix/store/gcg3ymgxjx5rw8xyfy32icarkrbhylik-linux-6.8.4-dev/lib/modules/6.8.4/build M=/build/source modules
make[1]: Entering directory '/nix/store/gcg3ymgxjx5rw8xyfy32icarkrbhylik-linux-6.8.4-dev/lib/modules/6.8.4/build'
CC [M] /build/source/drivers/mfd/ljca.o
CC [M] /build/source/drivers/spi/spi-ljca.o
CC [M] /build/source/drivers/gpio/gpio-ljca.o
CC [M] /build/source/drivers/i2c/busses/i2c-ljca.o
CC [M] /build/source/drivers/misc/mei/spi-vsc.o
CC [M] /build/source/drivers/misc/mei/hw-vsc.o
CC [M] /build/source/drivers/misc/ivsc/intel_vsc.o
CC [M] /build/source/drivers/misc/ivsc/mei_csi.o
CC [M] /build/source/drivers/misc/ivsc/mei_ace.o
CC [M] /build/source/drivers/misc/ivsc/mei_pse.o
CC [M] /build/source/drivers/misc/ivsc/mei_ace_debug.o
CC [M] /build/source/drivers/media/i2c/hm11b1.o
CC [M] /build/source/drivers/media/i2c/gc5035.o
CC [M] /build/source/drivers/media/i2c/ov01a1s.o
CC [M] /build/source/drivers/media/i2c/ov01a10.o
CC [M] /build/source/drivers/media/pci/intel/ipu6/../ipu.o
/build/source/drivers/misc/ivsc/mei_ace.c:314:5: warning: no previous prototype for 'ipu_own_camera' []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes]8;;]
314 | int ipu_own_camera(void *ace, struct camera_status *status)
| ^~~~~~~~~~~~~~
/build/source/drivers/misc/ivsc/mei_ace.c:321:5: warning: no previous prototype for 'ace_own_camera' []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes]8;;]
321 | int ace_own_camera(void *ace, struct camera_status *status)
| ^~~~~~~~~~~~~~
/build/source/drivers/misc/ivsc/mei_ace.c:328:5: warning: no previous prototype for 'get_camera_status' []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes]8;;]
328 | int get_camera_status(void *ace, struct camera_status *status)
| ^~~~~~~~~~~~~~~~~
/build/source/drivers/mfd/ljca.c: In function 'try_match_acpi_hid':
/build/source/drivers/mfd/ljca.c:224:17: error: implicit declaration of function 'strlcpy'; did you mean 'strscpy'? []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Werror=implicit-function-declaration]8;;]
224 | strlcpy(ids[0].id, hids[i], sizeof(ids[0].id));
| ^~~~~~~
| strscpy
/build/source/drivers/mfd/ljca.c: At top level:
/build/source/drivers/mfd/ljca.c:323:6: warning: no previous prototype for 'ljca_dump' []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes]8;;]
323 | void ljca_dump(struct ljca_dev *ljca, void *buf, int len)
| ^~~~~~~~~
CC [M] /build/source/drivers/media/pci/intel/ipu6/../ipu-bus.o
In file included from /nix/store/gcg3ymgxjx5rw8xyfy32icarkrbhylik-linux-6.8.4-dev/lib/modules/6.8.4/source/include/linux/printk.h:564,
from /nix/store/gcg3ymgxjx5rw8xyfy32icarkrbhylik-linux-6.8.4-dev/lib/modules/6.8.4/source/include/asm-generic/bug.h:22,
from /nix/store/gcg3ymgxjx5rw8xyfy32icarkrbhylik-linux-6.8.4-dev/lib/modules/6.8.4/source/arch/x86/include/asm/bug.h:87,
from /nix/store/gcg3ymgxjx5rw8xyfy32icarkrbhylik-linux-6.8.4-dev/lib/modules/6.8.4/source/include/linux/bug.h:5,
from /nix/store/gcg3ymgxjx5rw8xyfy32icarkrbhylik-linux-6.8.4-dev/lib/modules/6.8.4/source/arch/x86/include/asm/paravirt.h:19,
from /nix/store/gcg3ymgxjx5rw8xyfy32icarkrbhylik-linux-6.8.4-dev/lib/modules/6.8.4/source/arch/x86/include/asm/irqflags.h:60,
from /nix/store/gcg3ymgxjx5rw8xyfy32icarkrbhylik-linux-6.8.4-dev/lib/modules/6.8.4/source/include/linux/irqflags.h:18,
from /nix/store/gcg3ymgxjx5rw8xyfy32icarkrbhylik-linux-6.8.4-dev/lib/modules/6.8.4/source/include/linux/spinlock.h:59,
from /nix/store/gcg3ymgxjx5rw8xyfy32icarkrbhylik-linux-6.8.4-dev/lib/modules/6.8.4/source/include/linux/mmzone.h:8,
from /nix/store/gcg3ymgxjx5rw8xyfy32icarkrbhylik-linux-6.8.4-dev/lib/modules/6.8.4/source/include/linux/gfp.h:7,
from /nix/store/gcg3ymgxjx5rw8xyfy32icarkrbhylik-linux-6.8.4-dev/lib/modules/6.8.4/source/include/linux/slab.h:16,
from /nix/store/gcg3ymgxjx5rw8xyfy32icarkrbhylik-linux-6.8.4-dev/lib/modules/6.8.4/source/include/linux/resource_ext.h:11,
from /nix/store/gcg3ymgxjx5rw8xyfy32icarkrbhylik-linux-6.8.4-dev/lib/modules/6.8.4/source/include/linux/acpi.h:13,
from /build/source/drivers/spi/spi-ljca.c:8:
/build/source/drivers/spi/spi-ljca.c: In function 'ljca_spi_prepare_message':
/build/source/drivers/spi/spi-ljca.c:216:39: warning: format '%d' expects argument of type 'int', but argument 4 has type 'u8 *' {aka 'unsigned char *'} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat=-Wformat=]8;;]
216 | dev_dbg(&ljca_spi->pdev->dev, "cs %d\n", spi->chip_select);
| ^~~~~~~~~
/nix/store/gcg3ymgxjx5rw8xyfy32icarkrbhylik-linux-6.8.4-dev/lib/modules/6.8.4/source/include/linux/dynamic_debug.h:224:29: note: in definition of macro '__dynamic_func_call_cls'
224 | func(&id, ##__VA_ARGS__); \
| ^~~~~~~~~~~
/nix/store/gcg3ymgxjx5rw8xyfy32icarkrbhylik-linux-6.8.4-dev/lib/modules/6.8.4/source/include/linux/dynamic_debug.h:250:9: note: in expansion of macro '_dynamic_func_call_cls'
250 | _dynamic_func_call_cls(_DPRINTK_CLASS_DFLT, fmt, func, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
/nix/store/gcg3ymgxjx5rw8xyfy32icarkrbhylik-linux-6.8.4-dev/lib/modules/6.8.4/source/include/linux/dynamic_debug.h:273:9: note: in expansion of macro '_dynamic_func_call'
273 | _dynamic_func_call(fmt, __dynamic_dev_dbg, \
| ^~~~~~~~~~~~~~~~~~
/nix/store/gcg3ymgxjx5rw8xyfy32icarkrbhylik-linux-6.8.4-dev/lib/modules/6.8.4/source/include/linux/dev_printk.h:155:9: note: in expansion of macro 'dynamic_dev_dbg'
155 | dynamic_dev_dbg(dev, dev_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~
/nix/store/gcg3ymgxjx5rw8xyfy32icarkrbhylik-linux-6.8.4-dev/lib/modules/6.8.4/source/include/linux/dev_printk.h:155:30: note: in expansion of macro 'dev_fmt'
155 | dynamic_dev_dbg(dev, dev_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~
/build/source/drivers/spi/spi-ljca.c:216:9: note: in expansion of macro 'dev_dbg'
216 | dev_dbg(&ljca_spi->pdev->dev, "cs %d\n", spi->chip_select);
| ^~~~~~~
/build/source/drivers/spi/spi-ljca.c:216:44: note: format string is defined here
216 | dev_dbg(&ljca_spi->pdev->dev, "cs %d\n", spi->chip_select);
| ~^
| |
| int
| %hhn
/build/source/drivers/gpio/gpio-ljca.c:256:6: warning: no previous prototype for 'ljca_gpio_event_cb' []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes]8;;]
256 | void ljca_gpio_event_cb(struct platform_device *pdev, u8 cmd,
| ^~~~~~~~~~~~~~~~~~
CC [M] /build/source/drivers/media/i2c/ov02c10.o
LD [M] /build/source/intel_vsc.o
CC [M] /build/source/drivers/media/pci/intel/ipu6/../ipu-dma.o
CC [M] /build/source/drivers/media/i2c/ov02e10.o
CC [M] /build/source/drivers/media/pci/intel/ipu6/../ipu-mmu.o
/build/source/drivers/media/i2c/ov01a1s.c: In function 'ov01a1s_set_format':
/build/source/drivers/media/i2c/ov01a1s.c:836:18: error: implicit declaration of function 'v4l2_subdev_get_try_format'; did you mean 'v4l2_subdev_get_fmt'? []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Werror=implicit-function-declaration]8;;]
836 | *v4l2_subdev_get_try_format(sd, sd_state, fmt->pad) = fmt->format;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| v4l2_subdev_get_fmt
/build/source/drivers/media/i2c/ov01a1s.c:836:17: error: invalid type argument of unary '*' (have 'int')
836 | *v4l2_subdev_get_try_format(sd, sd_state, fmt->pad) = fmt->format;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/source/drivers/media/i2c/ov01a1s.c: In function 'ov01a1s_get_format':
/build/source/drivers/media/i2c/ov01a1s.c:875:31: error: invalid type argument of unary '*' (have 'int')
875 | fmt->format = *v4l2_subdev_get_try_format(&ov01a1s->sd,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
876 |  sd_state, fmt->pad);
| ~~~~~~~~~~~~~~~~~~~
/build/source/drivers/media/i2c/ov01a1s.c: In function 'ov01a1s_open':
/build/source/drivers/media/i2c/ov01a1s.c:934:35: warning: passing argument 2 of 'ov01a1s_update_pad_format' makes pointer from integer without a cast []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wint-conversion-Wint-conversion]8;;]
934 | v4l2_subdev_get_try_format(sd, fh->state, 0));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| int
/build/source/drivers/media/i2c/ov01a1s.c:608:66: note: expected 'struct v4l2_mbus_framefmt *' but argument is of type 'int'
608 | struct v4l2_mbus_framefmt *fmt)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
/build/source/drivers/media/i2c/ov01a10.c: In function 'ov01a10_set_format':
/build/source/drivers/media/i2c/ov01a10.c:756:18: error: implicit declaration of function 'v4l2_subdev_get_try_format'; did you mean 'v4l2_subdev_get_fmt'? []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Werror=implicit-function-declaration]8;;]
756 | *v4l2_subdev_get_try_format(sd, sd_state, fmt->pad) = fmt->format;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| v4l2_subdev_get_fmt
/build/source/drivers/media/i2c/ov01a10.c:756:17: error: invalid type argument of unary '*' (have 'int')
756 | *v4l2_subdev_get_try_format(sd, sd_state, fmt->pad) = fmt->format;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/source/drivers/media/i2c/ov01a10.c: In function 'ov01a10_get_format':
/build/source/drivers/media/i2c/ov01a10.c:795:31: error: invalid type argument of unary '*' (have 'int')
795 | fmt->format = *v4l2_subdev_get_try_format(&ov01a10->sd,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
796 |  sd_state, fmt->pad);
| ~~~~~~~~~~~~~~~~~~~
/build/source/drivers/media/i2c/ov01a10.c: In function 'ov01a10_open':
/build/source/drivers/media/i2c/ov01a10.c:854:35: warning: passing argument 2 of 'ov01a10_update_pad_format' makes pointer from integer without a cast []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wint-conversion-Wint-conversion]8;;]
854 | v4l2_subdev_get_try_format(sd, fh->state, 0));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| int
/build/source/drivers/media/i2c/ov01a10.c:571:66: note: expected 'struct v4l2_mbus_framefmt *' but argument is of type 'int'
571 | struct v4l2_mbus_framefmt *fmt)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
LD [M] /build/source/mei_csi.o
cc1: some warnings being treated as errors
cc1: some warnings being treated as errors
/build/source/drivers/media/i2c/gc5035.c: In function 'gc5035_set_fmt':
/build/source/drivers/media/i2c/gc5035.c:1500:18: error: implicit declaration of function 'v4l2_subdev_get_try_format'; did you mean 'v4l2_subdev_get_fmt'? []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Werror=implicit-function-declaration]8;;]
1500 | *v4l2_subdev_get_try_format(sd, sd_state, fmt->pad) = fmt->format;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| v4l2_subdev_get_fmt
/build/source/drivers/media/i2c/gc5035.c:1500:17: error: invalid type argument of unary '*' (have 'int')
1500 | *v4l2_subdev_get_try_format(sd, sd_state, fmt->pad) = fmt->format;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/source/drivers/media/i2c/gc5035.c: In function 'gc5035_get_fmt':
/build/source/drivers/media/i2c/gc5035.c:1525:31: error: invalid type argument of unary '*' (have 'int')
1525 | fmt->format = *v4l2_subdev_get_try_format(sd, sd_state, fmt->pad);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[4]: *** [/nix/store/gcg3ymgxjx5rw8xyfy32icarkrbhylik-linux-6.8.4-dev/lib/modules/6.8.4/source/scripts/Makefile.build:243: /build/source/drivers/media/i2c/ov01a10.o] Error 1
make[4]: *** Waiting for unfinished jobs....
/build/source/drivers/media/i2c/gc5035.c: At top level:
/build/source/drivers/media/i2c/gc5035.c:1717:10: error: 'const struct v4l2_subdev_pad_ops' has no member named 'init_cfg'
1717 | .init_cfg = gc5035_entity_init_cfg,
| ^~~~~~~~
/build/source/drivers/media/i2c/gc5035.c:1717:21: error: initialization of 'int (*)(struct v4l2_subdev *, struct v4l2_subdev_state *, struct v4l2_subdev_mbus_code_enum *)' from incompatible pointer type 'int (*)(struct v4l2_subdev *, struct v4l2_subdev_state *)' []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Werror=incompatible-pointer-types]8;;]
1717 | .init_cfg = gc5035_entity_init_cfg,
| ^~~~~~~~~~~~~~~~~~~~~~
/build/source/drivers/media/i2c/gc5035.c:1717:21: note: (near initialization for 'gc5035_pad_ops.enum_mbus_code')
make[4]: *** [/nix/store/gcg3ymgxjx5rw8xyfy32icarkrbhylik-linux-6.8.4-dev/lib/modules/6.8.4/source/scripts/Makefile.build:243: /build/source/drivers/media/i2c/ov01a1s.o] Error 1
LD [M] /build/source/mei_ace.o
CC [M] /build/source/drivers/media/pci/intel/ipu6/../ipu-buttress.o
LD [M] /build/source/mei_ace_debug.o
LD [M] /build/source/spi-ljca.o
LD [M] /build/source/i2c-ljca.o
cc1: some warnings being treated as errors
make[4]: *** [/nix/store/gcg3ymgxjx5rw8xyfy32icarkrbhylik-linux-6.8.4-dev/lib/modules/6.8.4/source/scripts/Makefile.build:243: /build/source/drivers/media/i2c/gc5035.o] Error 1
LD [M] /build/source/mei_pse.o
CC [M] /build/source/drivers/media/pci/intel/ipu6/../ipu-trace.o
CC [M] /build/source/drivers/media/pci/intel/ipu6/../ipu-cpd.o
CC [M] /build/source/drivers/media/pci/intel/ipu6/ipu6.o
CC [M] /build/source/drivers/media/pci/intel/ipu6/../ipu-fw-com.o
LD [M] /build/source/gpio-ljca.o
CC [M] /build/source/drivers/media/pci/intel/ipu6/../cio2-bridge.o
CC [M] /build/source/drivers/media/pci/intel/ipu6/../ipu-isys.o
/build/source/drivers/media/i2c/hm11b1.c: In function 'hm11b1_set_format':
/build/source/drivers/media/i2c/hm11b1.c:924:18: error: implicit declaration of function 'v4l2_subdev_get_try_format'; did you mean 'v4l2_subdev_get_fmt'? []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Werror=implicit-function-declaration]8;;]
924 | *v4l2_subdev_get_try_format(sd, sd_state, fmt->pad) = fmt->format;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| v4l2_subdev_get_fmt
/build/source/drivers/media/i2c/hm11b1.c:924:17: error: invalid type argument of unary '*' (have 'int')
924 | *v4l2_subdev_get_try_format(sd, sd_state, fmt->pad) = fmt->format;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/source/drivers/media/i2c/hm11b1.c: In function 'hm11b1_get_format':
/build/source/drivers/media/i2c/hm11b1.c:965:31: error: invalid type argument of unary '*' (have 'int')
965 | fmt->format = *v4l2_subdev_get_try_format(&hm11b1->sd,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
966 |  sd_state, fmt->pad);
| ~~~~~~~~~~~~~~~~~~~
/build/source/drivers/media/i2c/hm11b1.c: In function 'hm11b1_open':
/build/source/drivers/media/i2c/hm11b1.c:1023:34: warning: passing argument 2 of 'hm11b1_update_pad_format' makes pointer from integer without a cast []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wint-conversion-Wint-conversion]8;;]
1023 | v4l2_subdev_get_try_format(sd, fh->state, 0));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| int
/build/source/drivers/media/i2c/hm11b1.c:742:65: note: expected 'struct v4l2_mbus_framefmt *' but argument is of type 'int'
742 | struct v4l2_mbus_framefmt *fmt)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
cc1: some warnings being treated as errors
make[4]: *** [/nix/store/gcg3ymgxjx5rw8xyfy32icarkrbhylik-linux-6.8.4-dev/lib/modules/6.8.4/source/scripts/Makefile.build:243: /build/source/drivers/media/i2c/hm11b1.o] Error 1
CC [M] /build/source/drivers/media/pci/intel/ipu6/../ipu-isys-csi2.o
cc1: some warnings being treated as errors
make[3]: *** [/nix/store/gcg3ymgxjx5rw8xyfy32icarkrbhylik-linux-6.8.4-dev/lib/modules/6.8.4/source/scripts/Makefile.build:243: /build/source/drivers/mfd/ljca.o] Error 1
make[3]: *** Waiting for unfinished jobs....
CC [M] /build/source/drivers/media/pci/intel/ipu6/ipu6-isys.o
CC [M] /build/source/drivers/media/pci/intel/ipu6/ipu6-isys-phy.o
CC [M] /build/source/drivers/media/pci/intel/ipu6/ipu6-isys-dwc-phy.o
CC [M] /build/source/drivers/media/pci/intel/ipu6/ipu6-isys-csi2.o
/build/source/drivers/media/i2c/ov02e10.c: In function 'ov02e10_set_format':
/build/source/drivers/media/i2c/ov02e10.c:880:18: error: implicit declaration of function 'v4l2_subdev_get_try_format'; did you mean 'v4l2_subdev_get_fmt'? []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Werror=implicit-function-declaration]8;;]
880 | *v4l2_subdev_get_try_format(sd, sd_state, fmt->pad) =
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| v4l2_subdev_get_fmt
/build/source/drivers/media/i2c/ov02e10.c:880:17: error: invalid type argument of unary '*' (have 'int')
880 | *v4l2_subdev_get_try_format(sd, sd_state, fmt->pad) =
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/source/drivers/media/i2c/ov02e10.c: In function 'ov02e10_get_format':
/build/source/drivers/media/i2c/ov02e10.c:913:31: error: invalid type argument of unary '*' (have 'int')
913 | fmt->format = *v4l2_subdev_get_try_format(&ov02e10->sd,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
914 |  sd_state, fmt->pad);
| ~~~~~~~~~~~~~~~~~~~
/build/source/drivers/media/i2c/ov02e10.c: In function 'ov02e10_open':
/build/source/drivers/media/i2c/ov02e10.c:959:35: warning: passing argument 2 of 'ov02e10_update_pad_format' makes pointer from integer without a cast []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wint-conversion-Wint-conversion]8;;]
959 | v4l2_subdev_get_try_format(sd, fh->state, 0));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| int
/build/source/drivers/media/i2c/ov02e10.c:590:66: note: expected 'struct v4l2_mbus_framefmt *' but argument is of type 'int'
590 | struct v4l2_mbus_framefmt *fmt)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
cc1: some warnings being treated as errors
make[4]: *** [/nix/store/gcg3ymgxjx5rw8xyfy32icarkrbhylik-linux-6.8.4-dev/lib/modules/6.8.4/source/scripts/Makefile.build:243: /build/source/drivers/media/i2c/ov02e10.o] Error 1
CC [M] /build/source/drivers/media/pci/intel/ipu6/ipu6-isys-gpc.o
CC [M] /build/source/drivers/media/pci/intel/ipu6/../ipu-isys-csi2-be-soc.o
/build/source/drivers/media/pci/intel/ipu6/../cio2-bridge.c:471:5: warning: no previous prototype for 'cio2_bridge_init' []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes]8;;]
471 | int cio2_bridge_init(struct pci_dev *cio2)
| ^~~~~~~~~~~~~~~~
/build/source/drivers/media/i2c/ov02c10.c: In function 'ov02c10_set_format':
/build/source/drivers/media/i2c/ov02c10.c:1180:18: error: implicit declaration of function 'v4l2_subdev_get_try_format'; did you mean 'v4l2_subdev_get_fmt'? []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Werror=implicit-function-declaration]8;;]
1180 | *v4l2_subdev_get_try_format(sd, sd_state, fmt->pad) = fmt->format;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| v4l2_subdev_get_fmt
/build/source/drivers/media/i2c/ov02c10.c:1180:17: error: invalid type argument of unary '*' (have 'int')
1180 | *v4l2_subdev_get_try_format(sd, sd_state, fmt->pad) = fmt->format;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/source/drivers/media/i2c/ov02c10.c: In function 'ov02c10_get_format':
/build/source/drivers/media/i2c/ov02c10.c:1219:31: error: invalid type argument of unary '*' (have 'int')
1219 | fmt->format = *v4l2_subdev_get_try_format(&ov02c10->sd,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1220 |  sd_state, fmt->pad);
| ~~~~~~~~~~~~~~~~~~~
/build/source/drivers/media/i2c/ov02c10.c: In function 'ov02c10_open':
/build/source/drivers/media/i2c/ov02c10.c:1278:35: warning: passing argument 2 of 'ov02c10_update_pad_format' makes pointer from integer without a cast []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wint-conversion-Wint-conversion]8;;]
1278 | v4l2_subdev_get_try_format(sd, fh->state, 0));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| int
/build/source/drivers/media/i2c/ov02c10.c:937:66: note: expected 'struct v4l2_mbus_framefmt *' but argument is of type 'int'
937 | struct v4l2_mbus_framefmt *fmt)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
cc1: some warnings being treated as errors
make[4]: *** [/nix/store/gcg3ymgxjx5rw8xyfy32icarkrbhylik-linux-6.8.4-dev/lib/modules/6.8.4/source/scripts/Makefile.build:243: /build/source/drivers/media/i2c/ov02c10.o] Error 1
make[3]: *** [/nix/store/gcg3ymgxjx5rw8xyfy32icarkrbhylik-linux-6.8.4-dev/lib/modules/6.8.4/source/scripts/Makefile.build:481: /build/source/drivers/media/i2c] Error 2
CC [M] /build/source/drivers/media/pci/intel/ipu6/../ipu-fw-isys.o
CC [M] /build/source/drivers/media/pci/intel/ipu6/../ipu-isys-video.o
CC [M] /build/source/drivers/media/pci/intel/ipu6/../ipu-isys-queue.o
CC [M] /build/source/drivers/media/pci/intel/ipu6/../ipu-isys-subdev.o
CC [M] /build/source/drivers/media/pci/intel/ipu6/../ipu-psys.o
CC [M] /build/source/drivers/media/pci/intel/ipu6/ipu6-psys.o
/build/source/drivers/media/pci/intel/ipu6/../ipu-isys.c: In function 'isys_register_devices':
/build/source/drivers/media/pci/intel/ipu6/../ipu-isys.c:979:9: error: implicit declaration of function 'strlcpy'; did you mean 'strscpy'? []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Werror=implicit-function-declaration]8;;]
979 | strlcpy(isys->media_dev.model,
| ^~~~~~~
| strscpy
CC [M] /build/source/drivers/media/pci/intel/ipu6/ipu-resources.o
CC [M] /build/source/drivers/media/pci/intel/ipu6/ipu6-psys-gpc.o
CC [M] /build/source/drivers/media/pci/intel/ipu6/ipu6-l-scheduler.o
CC [M] /build/source/drivers/media/pci/intel/ipu6/ipu6-ppg.o
CC [M] /build/source/drivers/media/pci/intel/ipu6/ipu-fw-resources.o
CC [M] /build/source/drivers/media/pci/intel/ipu6/ipu6-fw-resources.o
CC [M] /build/source/drivers/media/pci/intel/ipu6/ipu6se-fw-resources.o
/build/source/drivers/media/pci/intel/ipu6/../ipu-isys-video.c: In function 'ipu_isys_vidioc_querycap':
/build/source/drivers/media/pci/intel/ipu6/../ipu-isys-video.c:362:9: error: implicit declaration of function 'strlcpy'; did you mean 'strscpy'? []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Werror=implicit-function-declaration]8;;]
362 | strlcpy(cap->driver, IPU_ISYS_NAME, sizeof(cap->driver));
| ^~~~~~~
| strscpy
CC [M] /build/source/drivers/media/pci/intel/ipu6/ipu6ep-fw-resources.o
cc1: some warnings being treated as errors
CC [M] /build/source/drivers/media/pci/intel/ipu6/../ipu-fw-psys.o
make[5]: *** [/nix/store/gcg3ymgxjx5rw8xyfy32icarkrbhylik-linux-6.8.4-dev/lib/modules/6.8.4/source/scripts/Makefile.build:243: /build/source/drivers/media/pci/intel/ipu6/../ipu-isys.o] Error 1
make[5]: *** Waiting for unfinished jobs....
/build/source/drivers/media/pci/intel/ipu6/../ipu-isys-subdev.c: In function '__ipu_isys_get_ffmt':
/build/source/drivers/media/pci/intel/ipu6/../ipu-isys-subdev.c:166:24: error: implicit declaration of function 'v4l2_subdev_get_try_format'; did you mean 'v4l2_subdev_get_fmt'? []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Werror=implicit-function-declaration]8;;]
166 | return v4l2_subdev_get_try_format(sd, state, pad);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| v4l2_subdev_get_fmt
/build/source/drivers/media/pci/intel/ipu6/../ipu-isys-subdev.c:166:24: warning: returning 'int' from a function with return type 'struct v4l2_mbus_framefmt *' makes pointer from integer without a cast []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wint-conversion-Wint-conversion]8;;]
166 | return v4l2_subdev_get_try_format(sd, state, pad);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/source/drivers/media/pci/intel/ipu6/../ipu-psys.c: In function 'ipu_psys_probe':
/build/source/drivers/media/pci/intel/ipu6/../ipu-psys.c:1650:9: error: implicit declaration of function 'strlcpy'; did you mean 'strscpy'? []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Werror=implicit-function-declaration]8;;]
1650 | strlcpy(psys->caps.dev_model, IPU_MEDIA_DEV_MODEL_NAME,
| ^~~~~~~
| strscpy
/build/source/drivers/media/pci/intel/ipu6/../ipu-isys-subdev.c: In function '__ipu_isys_get_selection':
/build/source/drivers/media/pci/intel/ipu6/../ipu-isys-subdev.c:204:32: error: implicit declaration of function 'v4l2_subdev_get_try_crop'; did you mean 'v4l2_subdev_state_get_crop'? []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Werror=implicit-function-declaration]8;;]
204 | return v4l2_subdev_get_try_crop(sd, state, pad);
| ^~~~~~~~~~~~~~~~~~~~~~~~
| v4l2_subdev_state_get_crop
/build/source/drivers/media/pci/intel/ipu6/../ipu-isys-subdev.c:204:32: warning: returning 'int' from a function with return type 'struct v4l2_rect *' makes pointer from integer without a cast []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wint-conversion-Wint-conversion]8;;]
204 | return v4l2_subdev_get_try_crop(sd, state, pad);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/source/drivers/media/pci/intel/ipu6/../ipu-isys-subdev.c:206:32: error: implicit declaration of function 'v4l2_subdev_get_try_compose'; did you mean 'v4l2_subdev_state_get_compose'? []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Werror=implicit-function-declaration]8;;]
206 | return v4l2_subdev_get_try_compose(sd, state, pad);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| v4l2_subdev_state_get_compose
/build/source/drivers/media/pci/intel/ipu6/../ipu-isys-subdev.c:206:32: warning: returning 'int' from a function with return type 'struct v4l2_rect *' makes pointer from integer without a cast []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wint-conversion-Wint-conversion]8;;]
206 | return v4l2_subdev_get_try_compose(sd, state, pad);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/source/drivers/media/pci/intel/ipu6/../ipu-isys-subdev.c: In function 'ipu_isys_subdev_open':
/build/source/drivers/media/pci/intel/ipu6/../ipu-isys-subdev.c:760:25: warning: initialization of 'struct v4l2_mbus_framefmt *' from 'int' makes pointer from integer without a cast []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wint-conversion-Wint-conversion]8;;]
760 | v4l2_subdev_get_try_format(sd, fh->state, i);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/build/source/drivers/media/pci/intel/ipu6/../ipu-isys-subdev.c:762:25: warning: initialization of 'struct v4l2_rect *' from 'int' makes pointer from integer without a cast []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wint-conversion-Wint-conversion]8;;]
762 | v4l2_subdev_get_try_crop(sd, fh->state, i);
| ^~~~~~~~~~~~~~~~~~~~~~~~
/build/source/drivers/media/pci/intel/ipu6/../ipu-isys-subdev.c:764:25: warning: initialization of 'struct v4l2_rect *' from 'int' makes pointer from integer without a cast []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wint-conversion-Wint-conversion]8;;]
764 | v4l2_subdev_get_try_compose(sd, fh->state, i);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[5]: *** [/nix/store/gcg3ymgxjx5rw8xyfy32icarkrbhylik-linux-6.8.4-dev/lib/modules/6.8.4/source/scripts/Makefile.build:243: /build/source/drivers/media/pci/intel/ipu6/../ipu-isys-subdev.o] Error 1
cc1: some warnings being treated as errors
make[5]: *** [/nix/store/gcg3ymgxjx5rw8xyfy32icarkrbhylik-linux-6.8.4-dev/lib/modules/6.8.4/source/scripts/Makefile.build:243: /build/source/drivers/media/pci/intel/ipu6/../ipu-isys-video.o] Error 1
cc1: some warnings being treated as errors
make[5]: *** [/nix/store/gcg3ymgxjx5rw8xyfy32icarkrbhylik-linux-6.8.4-dev/lib/modules/6.8.4/source/scripts/Makefile.build:243: /build/source/drivers/media/pci/intel/ipu6/../ipu-psys.o] Error 1
make[4]: *** [/nix/store/gcg3ymgxjx5rw8xyfy32icarkrbhylik-linux-6.8.4-dev/lib/modules/6.8.4/source/scripts/Makefile.build:481: /build/source/drivers/media/pci/intel/ipu6] Error 2
make[3]: *** [/nix/store/gcg3ymgxjx5rw8xyfy32icarkrbhylik-linux-6.8.4-dev/lib/modules/6.8.4/source/scripts/Makefile.build:481: /build/source/drivers/media/pci/intel] Error 2
make[2]: *** [/nix/store/gcg3ymgxjx5rw8xyfy32icarkrbhylik-linux-6.8.4-dev/lib/modules/6.8.4/source/Makefile:1921: /build/source] Error 2
make[1]: *** [/nix/store/gcg3ymgxjx5rw8xyfy32icarkrbhylik-linux-6.8.4-dev/lib/modules/6.8.4/source/Makefile:240: __sub-make] Error 2
make[1]: Leaving directory '/nix/store/gcg3ymgxjx5rw8xyfy32icarkrbhylik-linux-6.8.4-dev/lib/modules/6.8.4/build'
make: *** [Makefile:78: all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment