Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenSUSE Tumbleweed (kernel 4.9.0-2): compat.h again... #44

Open
THN1 opened this issue Jan 14, 2017 · 0 comments
Open

OpenSUSE Tumbleweed (kernel 4.9.0-2): compat.h again... #44

THN1 opened this issue Jan 14, 2017 · 0 comments

Comments

@THN1
Copy link

THN1 commented Jan 14, 2017

`make[2]: Entering directory '/usr/src/linux-4.9.0-2-obj/x86_64/default'
CC [M] /home/me/media_build_experimental/v4l/msp3400-driver.o
In file included from :0:0:
/home/me/media_build_experimental/v4l/compat.h:1463:1: error: redefinition of 'pci_zalloc_consistent'
pci_zalloc_consistent(struct pci_dev *hwdev, size_t size,
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/src/linux-4.9.0-2/include/linux/pci.h:2153:0,
from /home/me/media_build_experimental/v4l/compat.h:1459,
from :0:
/usr/src/linux-4.9.0-2/include/linux/pci-dma-compat.h:23:1: note: previous definition of 'pci_zalloc_consistent' was here
pci_zalloc_consistent(struct pci_dev *hwdev, size_t size,
^~~~~~~~~~~~~~~~~~~~~
In file included from :0:0:
/home/me/media_build_experimental/v4l/compat.h:1552:0: warning: "DMA_ATTR_SKIP_CPU_SYNC" redefined
#define DMA_ATTR_SKIP_CPU_SYNC 0

In file included from /usr/src/linux-4.9.0-2/include/linux/pci-dma-compat.h:7:0,
from /usr/src/linux-4.9.0-2/include/linux/pci.h:2153,
from /home/me/media_build_experimental/v4l/compat.h:1459,
from :0:
/usr/src/linux-4.9.0-2/include/linux/dma-mapping.h:47:0: note: this is the location of the previous definition
#define DMA_ATTR_SKIP_CPU_SYNC (1UL << 5)

`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant