Re: [patch] [media] gspca: passing wrong length parameter to reg_w()

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

 



On Wed, May 02, 2012 at 08:47:58AM +0200, Jean-Francois Moine wrote:
> Thanks for the patch. The bug is very very old (6 years, at least -
> neither have I such a webcam).
> 

My guess is that it's harmless to write a few extra garbage bits,
but it's still worth fixing as a cleanup.

> Maybe the fix could have been
> 
> 	reg_w(gspca_dev, 0x0010, reg10, sizeof reg10);
> 
> but it is OK for me.
> 
> Acked-by: Jean-Francois Moine <http://moinejf.free.fr>

Thanks.

regards,
dan carpenter

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


[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux