2004-09-01 07:32:49

by Frederik Deweerdt

[permalink] [raw]
Subject: Re: [patch 3/4] v4l: bttv driver update.

Le Tue, Aug 31, 2004 at 05:24:05PM +0200, Gerd Knorr ?crivit:
> Hi,
[...]
> - rc=bttv_I2CRead(btv,(PX_I2C_PIC<<1),NULL);
> + rc=bttv_I2CRead(btv,(PX_I2C_PIC<<1),0);

Sorry if it's irrelevant here, but I though there had been a
campaign advocating "NULL instead of 0 in the Linux Kernel"?
Ref: http://lkml.org/lkml/2004/7/8/9

Regards,
Frederik Deweerdt
[email protected]


2004-09-03 09:45:28

by Gerd Knorr

[permalink] [raw]
Subject: Re: [patch 3/4] v4l: bttv driver update.

Frederik Deweerdt <[email protected]> writes:

> Le Tue, Aug 31, 2004 at 05:24:05PM +0200, Gerd Knorr écrivit:
> > Hi,
> [...]
> > - rc=bttv_I2CRead(btv,(PX_I2C_PIC<<1),NULL);
> > + rc=bttv_I2CRead(btv,(PX_I2C_PIC<<1),0);
>
> Sorry if it's irrelevant here, but I though there had been a
> campaign advocating "NULL instead of 0 in the Linux Kernel"?
> Ref: http://lkml.org/lkml/2004/7/8/9

Oops, that one slipped through when merging the 2.6.9-rc1 changes into
my tree. Chunk can be dropped.

Gerd

--
return -ENOSIG;