[linux-dvb] [av7110/budget/budget-ci/budget-av drivers] please test: drivers switched to I2C interrupt mode

Oliver Endriss o.endriss at gmx.de
Thu Nov 2 14:24:52 CET 2006


Gregoire Favre wrote:
> On Wed, Nov 01, 2006 at 02:06:17PM -0800, C.Y.M wrote:
> 
> C.Y.M had more luck than I (with the patch to allow 2.6.19 compilation
> applied) :
> 
>   CC [M]  /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/av7110_hw.o
> /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/av7110_hw.c: In function 'av7110_bootarm':
> /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/av7110_hw.c:238: error: size of array 'type name' is negative
> /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/av7110_hw.c:238: warning: comparison of distinct pointer types lacks a cast
> /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/av7110_hw.c:238: error: size of array 'type name' is negative
> /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/av7110_hw.c:238: warning: comparison of distinct pointer types lacks a cast
> /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/av7110_hw.c:238: error: size of array 'type name' is negative
> /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/av7110_hw.c:238: warning: comparison of distinct pointer types lacks a cast
> /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/av7110_hw.c:238: error: size of array 'type name' is negative
> /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/av7110_hw.c:238: warning: comparison of distinct pointer types lacks a cast
> /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/av7110_hw.c:302: error: size of array 'type name' is negative
> /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/av7110_hw.c:302: warning: comparison of distinct pointer types lacks a cast
> /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/av7110_hw.c:302: error: size of array 'type name' is negative
> /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/av7110_hw.c:302: warning: comparison of distinct pointer types lacks a cast
> /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/av7110_hw.c:302: error: size of array 'type name' is negative
> /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/av7110_hw.c:302: warning: comparison of distinct pointer types lacks a cast
> /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/av7110_hw.c:302: error: size of array 'type name' is negative
> /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/av7110_hw.c:302: warning: comparison of distinct pointer types lacks a cast
> make[2]: *** [/usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/av7110_hw.o] Error 1
> make[1]: *** [_module_/usr/src/CVS/v4l-dvb-av7110-refactoring/v4l] Error 2
> make[1]: Leaving directory `/usr/src/linux-2.6.19-rc4-mm1'
> make: *** [default] Error 2

Hm - it compiles here without any warnings. ;-(
Maybe some problem with macro expansion.

The attached patch replaces the macros by inline functions.
Does it work now?

Oliver

-- 
--------------------------------------------------------
VDR Remote Plugin 0.3.8 available at
http://www.escape-edv.de/endriss/vdr/
--------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: saa7146_IER_inline.diff
Type: text/x-diff
Size: 1709 bytes
Desc: not available
Url : http://www.linuxtv.org/pipermail/linux-dvb/attachments/20061102/a1d124fd/saa7146_IER_inline.bin


More information about the linux-dvb mailing list