Package: ov51x-jpeg-source Version: 1.5.2-2 Severity: important Tags: patch Justification: fails to build from source
I noticed that when I try to build the ov51x_jpeg module, the compiler says: ----------------------- /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c: In function ‘ov51x_init_isoc’: /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c:5465: warning: assignment from incompatible pointer type ----------------------- This happened only when compiling for the 2.6.21-2-amd64 kernel, with a previous kernel everything went well. Applying the following small patch solves the problem: ----------------------- --- ov51x-jpeg-core.c.orig 2007-08-23 01:23:03.000000000 +0200 +++ ov51x-jpeg-core.c 2007-10-25 20:16:06.000000000 +0200 @@ -5273,7 +5273,8 @@ } static void -ov51x_isoc_irq(struct urb *urb, struct pt_regs *regs) +//ov51x_isoc_irq(struct urb *urb, struct pt_regs *regs) +ov51x_isoc_irq(struct urb *urb) { int i; struct usb_ov511 *ov; ----------------------- After this the module compiles without warnings and works perfectly. NOTE: I have not tested the original module that gave the warning when compiling. -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (500, 'testing'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.21-2-amd64 (SMP w/1 CPU core) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages ov51x-jpeg-source depends on: ii bzip2 1.0.3-6 high-quality block-sorting file co ii debhelper 5.0.50 helper programs for debian/rules ii make 3.81-3 The GNU version of the "make" util ii module-assistant 0.10.11 tool to make module package creati ov51x-jpeg-source recommends no packages. -- no debconf information
--- ov51x-jpeg-core.c.orig 2007-08-23 01:23:03.000000000 +0200 +++ ov51x-jpeg-core.c 2007-10-25 20:16:06.000000000 +0200 @@ -5273,7 +5273,8 @@ } static void -ov51x_isoc_irq(struct urb *urb, struct pt_regs *regs) +//ov51x_isoc_irq(struct urb *urb, struct pt_regs *regs) +ov51x_isoc_irq(struct urb *urb) { int i; struct usb_ov511 *ov;