Re: [PATCH] irda-usb: use NULL instead of 0

2006-05-06 Thread David S. Miller
From: "Randy.Dunlap" <[EMAIL PROTECTED]> Date: Mon, 1 May 2006 15:31:34 -0700 > Use NULL instead of 0 for a null pointer value (sparse warning): > drivers/net/irda/irda-usb.c:1781:30: warning: Using plain integer as NULL > pointer > > Correct timeout argument to use milliseconds instead of jiffi

Re: [PATCH] irda-usb: use NULL instead of 0

2006-05-01 Thread Randy.Dunlap
> I could be mistaken, but wasn't the usb_control_msg timeout type changed in > kernel 2.6.12? > The timeout value is no longer in jiffies but in msecs. ugh, correct. Here's a new patch. Thanks. --- From: Randy Dunlap <[EMAIL PROTECTED]> Use NULL instead of 0 for a null pointer value (sparse

Re: [PATCH] irda-usb: use NULL instead of 0

2006-05-01 Thread Ivo van Doorn
On Tuesday 2 May 2006 00:08, Randy.Dunlap wrote: > From: Randy Dunlap <[EMAIL PROTECTED]> > > Use NULL instead of 0 for a null pointer value (sparse warning): > drivers/net/irda/irda-usb.c:1781:30: warning: Using plain integer as NULL > pointer > > Signed-off-by: Randy Dunlap <[EMAIL PROTECTED]>

[PATCH] irda-usb: use NULL instead of 0

2006-05-01 Thread Randy.Dunlap
From: Randy Dunlap <[EMAIL PROTECTED]> Use NULL instead of 0 for a null pointer value (sparse warning): drivers/net/irda/irda-usb.c:1781:30: warning: Using plain integer as NULL pointer Signed-off-by: Randy Dunlap <[EMAIL PROTECTED]> --- drivers/net/irda/irda-usb.c |2 +- 1 files changed, 1