From: Martin Fuzzey Date: Thu, 11 Feb 2010 13:50:31 +0000 (-0300) Subject: V4L/DVB: Video : pwc : Fix regression in pwc_set_shutter_speed caused by bad constan... X-Git-Tag: v2.6.33~23^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=53f68607caba85db9a73846ccd289e4b7fa96295;p=pandora-kernel.git V4L/DVB: Video : pwc : Fix regression in pwc_set_shutter_speed caused by bad constant => sizeof conversion. Regression was caused by my commit 6b35ca0d3d586b8ecb8396821af21186e20afaf0 which determined message size using sizeof rather than hardcoded constants. Unfortunately pwc_set_shutter_speed reuses a 2 byte buffer for a one byte message too so the sizeof was bogus in this case. All other uses of sizeof checked and are ok. Acked-by: Laurent Pinchart Cc: stable@kernel.org Signed-off-by: Martin Fuzzey Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed