I got a link error in allyesconfig:
drivers/staging/media/platform/bcm2835/bcm2835-camera.o: In function `vidioc_enum_framesizes':
bcm2835-camera.c:(.text.vidioc_enum_framesizes+0x0): multiple definition of `vidioc_enum_framesizes'
drivers/media/platform/vivid/vivid-vid-cap.o:vivid-vid-cap.c:(.text.vidioc_enum_framesizes+0x0): first defined here
While both drivers are equally at fault for this problem, the bcm2835 one was
just added and is easier to fix, as it is only one file, and none of its symbols
need to be globally visible. This marks the three global symbols as static.
Fixes: 7b3ad5abf027 ("staging: Import the BCM2835 MMAL-based V4L2 camera driver.")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
drivers/staging/media/platform/bcm2835/bcm2835-camera.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
On Thu, Feb 2, 2017 at 12:34 PM, Arnd Bergmann [off-list ref] wrote:
I got a link error in allyesconfig:
drivers/staging/media/platform/bcm2835/bcm2835-camera.o: In function `vidioc_enum_framesizes':
bcm2835-camera.c:(.text.vidioc_enum_framesizes+0x0): multiple definition of `vidioc_enum_framesizes'
drivers/media/platform/vivid/vivid-vid-cap.o:vivid-vid-cap.c:(.text.vidioc_enum_framesizes+0x0): first defined here
While both drivers are equally at fault for this problem, the bcm2835 one was
just added and is easier to fix, as it is only one file, and none of its symbols
need to be globally visible. This marks the three global symbols as static.
Fixes: 7b3ad5abf027 ("staging: Import the BCM2835 MMAL-based V4L2 camera driver.")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
On Thu, Feb 2, 2017 at 1:04 PM, Arnd Bergmann [off-list ref] wrote:
On Thu, Feb 2, 2017 at 12:34 PM, Arnd Bergmann [off-list ref] wrote:
quoted
I got a link error in allyesconfig:
Fixes: 7b3ad5abf027 ("staging: Import the BCM2835 MMAL-based V4L2 camera driver.")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Please disregard this patch version, it's broken.
Too late, I see it's already applied, I'll send a follow-up to revert
the first hunk.
Arnd
On Thu, Feb 02, 2017 at 01:11:36PM +0100, Arnd Bergmann wrote:
On Thu, Feb 2, 2017 at 1:04 PM, Arnd Bergmann [off-list ref] wrote:
quoted
On Thu, Feb 2, 2017 at 12:34 PM, Arnd Bergmann [off-list ref] wrote:
quoted
I got a link error in allyesconfig:
Fixes: 7b3ad5abf027 ("staging: Import the BCM2835 MMAL-based V4L2 camera driver.")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Please disregard this patch version, it's broken.
Too late, I see it's already applied, I'll send a follow-up to revert
the first hunk.
Ah, I could have just dropped your patch (it's a testing branch that I
can rebase), but I took your newer patch that fixed it up, so all is
good.
That's what I get for applying patches too quickly :)
thanks,
greg k-h
On Thu, Feb 2, 2017 at 1:22 PM, Greg Kroah-Hartman
[off-list ref] wrote:
On Thu, Feb 02, 2017 at 01:11:36PM +0100, Arnd Bergmann wrote:
quoted
On Thu, Feb 2, 2017 at 1:04 PM, Arnd Bergmann [off-list ref] wrote:
quoted
On Thu, Feb 2, 2017 at 12:34 PM, Arnd Bergmann [off-list ref] wrote:
quoted
I got a link error in allyesconfig:
Fixes: 7b3ad5abf027 ("staging: Import the BCM2835 MMAL-based V4L2 camera driver.")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Please disregard this patch version, it's broken.
Too late, I see it's already applied, I'll send a follow-up to revert
the first hunk.
Ah, I could have just dropped your patch (it's a testing branch that I
can rebase), but I took your newer patch that fixed it up, so all is
good.
That's what I get for applying patches too quickly :)
I should really have been more careful about testing. I had the first
version in my
working tree while doing randconfig tests. None of the new randconfig builds
ran into the issue (the driver gets rarely enabled because of its dependencies),
and the original failure had already been marked as fixed in my build system
after an earlier patch only changed one of the prototypes.
Arnd