On 10 May 2013 17:08, Sachin Kamat <sachin.kamat@xxxxxxxxxx> wrote: > 'dev' is a pointer. Use NULL instead of 0. > > Signed-off-by: Sachin Kamat <sachin.kamat@xxxxxxxxxx> > --- > drivers/video/udlfb.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/video/udlfb.c b/drivers/video/udlfb.c > index ec03e72..04eadc6 100644 > --- a/drivers/video/udlfb.c > +++ b/drivers/video/udlfb.c > @@ -1588,7 +1588,7 @@ static int dlfb_usb_probe(struct usb_interface *interface, > const struct usb_device_id *id) > { > struct usb_device *usbdev; > - struct dlfb_data *dev = 0; > + struct dlfb_data *dev = NULL; > int retval = -ENOMEM; > > /* usb initialization */ > -- > 1.7.9.5 > Please ignore this patch. Re-sending with few more fixes. -- With warm regards, Sachin -- To unsubscribe from this list: send the line "unsubscribe linux-fbdev" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html