The Kernel build system supports the `INSTALL_MOD_PATH` to set the
target directory. To facilitate dkms installations, we need to be able
to set this path.
Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
Starting with Linux 5.18 `pci_set_dma_mask` has been removed. This patch
mimics commit 887069f42455 (media: switch from 'pci_' to 'dma_' API, Sun
Aug 22 11:30:08 2021 +0200) from upstream and thus prevents the
following compilation error.
ddbridge/ddbridge-main.c: In function ‘ddb_probe’:
ddbridge/ddbridge-main.c:286:14: error: implicit declaration of function ‘pci_set_dma_mask’; did you mean ‘ipi_send_mask’? [-Werror=implicit-function-declaration]
286 | if (!pci_set_dma_mask(pdev, DMA_BIT_MASK(64))) {
| ^~~~~~~~~~~~~~~~
| ipi_send_mask
ddbridge/ddbridge-main.c:287:17: error: implicit declaration of function ‘pci_set_consistent_dma_mask’ [-Werror=implicit-function-declaration]
287 | pci_set_consistent_dma_mask(pdev, DMA_BIT_MASK(64));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
When enabling CONFIG_DVB_MMAP the dvb_vb2_ctx is copied to a
non-existant variable ctx, which causes an obvious compilation error.
dvb-core/dmxdev.c: In function ‘dvb_dmxdev_ts_callback’:
dvb-core/dmxdev.c:495:17: error: ‘ctx’ undeclared (first use in this function)
495 | ctx = &dmxdevfilter->vb2_ctx;
| ^~~
dvb-core/dmxdev.c:495:17: note: each undeclared identifier is reported only once for each function it appears in
This was fixed upstream in commit 57868acc369a (media: videobuf2: Add new uAPI
for DVB streaming I/O, Mon Dec 18 22:35:53 2017 -0500) about 5 years
ago.
Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>