[GIT PATCH] Staging driver patches for 3.8-rc3

2013-01-13 Thread Greg KH
The following changes since commit d1c3ed669a2d452cacfb48c2d171a1f364dae2ed: Linux 3.8-rc2 (2013-01-02 18:13:21 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git/ tags/staging-3.8-rc3 for you to fetch changes up to 397c60668aa5a

[PATCH staging] vt6656: Fix inconsistent structure packing

2013-01-13 Thread Ben Hutchings
vt6656 has several headers that use the #pragma pack(1) directive to enable structure packing, but never disable it. The layout of structures defined in other headers can then depend on which order the various headers are included in, breaking the One Definition Rule. In practice this resulted in

[PATCH] staging: et131x: Only configure regs if link state changes

2013-01-13 Thread Mark Einon
Some config regs get set whenever adjust_link() is called. Change this so that these registers only get set when the link state changes to UP. Also remove unnecessary second assignment of boot_coma. Signed-off-by: Mark Einon --- drivers/staging/et131x/et131x.c | 83 ++-

[patch] Staging: comedi: add a missing break statement

2013-01-13 Thread Dan Carpenter
This is a static checker fix. From the context it looks like there should be a break here. Signed-off-by: Dan Carpenter --- Please review this carefully. I think it's probably correct, but I'd appreciate an Ack from someone who knows comedi better. diff --git a/drivers/staging/comedi/drivers/n

Re: [patch 2/2] staging: line6: use after free bug requesting version

2013-01-13 Thread Stefan Hajnoczi
On Sun, Jan 13, 2013 at 7:15 PM, Markus Grabner wrote: > Considering the suggestions made so far, I came up with the following > solution: the function "line6_send_raw_message_async" now has an additional > argument "bool copy", which indicates whether the supplied buffer should be > copied into a

Re: [patch 2/2] staging: line6: use after free bug requesting version

2013-01-13 Thread Markus Grabner
On Thursday 06 December 2012 06:18:02 Stefan Hajnoczi wrote: > On Wed, Dec 5, 2012 at 7:44 PM, Dan Carpenter wrote: > > diff --git a/drivers/staging/line6/driver.c > > b/drivers/staging/line6/driver.c index 8a5d89e..884e0d8 100644 > > --- a/drivers/staging/line6/driver.c > > +++ b/drivers/staging