Re: zr36067 no longer loads automatically (regression)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Trent,

On Fri, 9 Jan 2009 12:20:54 -0800 (PST), Trent Piepho wrote:
> On Fri, 9 Jan 2009, Trent Piepho wrote:
> > Here is a new version against latest v4l-dvb sources.  Jean, are you trying
> > to apply against the kernel tree?  These patches are against the v4l-dvb Hg
> > repository which isn't quite the same as what's in the kernel.
> >
> > I have some more patches at http://linuxtv.org/hg/~tap/zoran
> 
> Forgot the patch

Patch tested successfully. Nice cleanup! I wanted to do it for quite
some time but could never find the time.

Acked-by: Jean Delvare <khali@xxxxxxxxxxxx>

With just one suggestion:

> (...)
> +static int __init zoran_init(void)
>  {
>  	int i;
> 
> (...)
> +	i = pci_register_driver(&zoran_driver);
> +	if (i) {
> +		dprintk(1,
> +			KERN_ERR
> +			"%s: Unable to register ZR36057 driver\n",
> +			ZORAN_NAME);
> +		return i;

"i" could be renamed to "err" for clarity.

>  	}
> 
>  	return 0;
>  }

Thanks,
-- 
Jean Delvare
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux