<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/staging/nvec, branch v4.9</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v4.9</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v4.9'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2016-11-07T10:48:25Z</updated>
<entry>
<title>staging: nvec: remove managed resource from PS2 driver</title>
<updated>2016-11-07T10:48:25Z</updated>
<author>
<name>Marc Dietrich</name>
<email>marvin24@gmx.de</email>
</author>
<published>2016-11-01T12:59:40Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=68fae2f3df455f53d0dfe33483a49020b3b758f3'/>
<id>urn:sha1:68fae2f3df455f53d0dfe33483a49020b3b758f3</id>
<content type='text'>
This basicly reverts commit e534f3e9 (staging:nvec: Introduce the use of
the managed version of kzalloc). Serio struct should never by managed
because it is refcounted. Doing so will lead to a double free oops on module
remove.

Signed-off-by: Marc Dietrich &lt;marvin24@gmx.de&gt;
Fixes: e534f3e9429f ("staging:nvec: Introduce the use of the managed version of kzalloc")
Cc: stable &lt;stable@vger.kernel.org&gt; # 3.15+
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Revert "staging: nvec: ps2: change serio type to passthrough"</title>
<updated>2016-11-07T10:48:25Z</updated>
<author>
<name>Paul Fertser</name>
<email>fercerpav@gmail.com</email>
</author>
<published>2016-10-27T14:22:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=17c1c9ba15b238ef79b51cf40d855c05b58d5934'/>
<id>urn:sha1:17c1c9ba15b238ef79b51cf40d855c05b58d5934</id>
<content type='text'>
This reverts commit 36b30d6138f4677514aca35ab76c20c1604baaad.

This is necessary to detect paz00 (ac100) touchpad properly as one
speaking ETPS/2 protocol. Without it X.org's synaptics driver doesn't
work as the touchpad is detected as an ImPS/2 mouse instead.

Commit ec6184b1c717b8768122e25fe6d312f609cc1bb4 changed the way
auto-detection is performed on ports marked as pass through and made the
issue apparent.

A pass through port is an additional PS/2 port used to connect a slave
device to a master device that is using PS/2 to communicate with the
host (so slave's PS/2 communication is tunneled over master's PS/2
link). "Synaptics PS/2 TouchPad Interfacing Guide" describes such a
setup (PS/2 PASS-THROUGH OPTION section).

Since paz00's embedded controller is not connected to a PS/2 port
itself, the PS/2 interface it exposes is not a pass-through one.

Signed-off-by: Paul Fertser &lt;fercerpav@gmail.com&gt;
Acked-by: Marc Dietrich &lt;marvin24@gmx.de&gt;
Fixes: 36b30d6138f4 ("staging: nvec: ps2: change serio type to passthrough")
Cc: stable &lt;stable@vger.kernel.org&gt; # 3.4+
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>drivers: staging: nvec: remove bogus reset command for PS/2 interface</title>
<updated>2016-11-07T10:48:25Z</updated>
<author>
<name>Paul Fertser</name>
<email>fercerpav@gmail.com</email>
</author>
<published>2016-10-27T14:22:08Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=d8f8a74d5fece355d2234e1731231d1aebc66b38'/>
<id>urn:sha1:d8f8a74d5fece355d2234e1731231d1aebc66b38</id>
<content type='text'>
This command was sent behind serio's back and the answer to it was
confusing atkbd probe function which lead to the elantech touchpad
getting detected as a keyboard.

To prevent this from happening just let every party do its part of the
job.

Signed-off-by: Paul Fertser &lt;fercerpav@gmail.com&gt;
Acked-by: Marc Dietrich &lt;marvin24@gmx.de&gt;
Cc: stable &lt;stable@vger.kernel.org&gt; # 3.4+
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Staging: nvec: removes a useless cast on a void pointer</title>
<updated>2016-03-28T14:30:36Z</updated>
<author>
<name>Ben Marsh</name>
<email>bmarsh94@gmail.com</email>
</author>
<published>2016-03-15T18:37:54Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=a3dac5a35cc54fa983e3de56ec010734c87315c4'/>
<id>urn:sha1:a3dac5a35cc54fa983e3de56ec010734c87315c4</id>
<content type='text'>
Remove an unnecessary cast on a void pointer in nvec_power.c

Signed-off-by: Ben Marsh &lt;bmarsh94@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: nvec: Fix comparison to NULL</title>
<updated>2016-03-28T14:30:36Z</updated>
<author>
<name>Laura Garcia Liebana</name>
<email>nevola@gmail.com</email>
</author>
<published>2016-03-12T15:19:11Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=f05f33fae3c720bd555ceb15b46beb4c642b663a'/>
<id>urn:sha1:f05f33fae3c720bd555ceb15b46beb4c642b663a</id>
<content type='text'>
Replace the use of comparison to NULL, use !&lt;expression&gt; instead. Checkpatch detected these issues.

Signed-off-by: Laura Garcia Liebana &lt;nevola@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: nvec: Remove space after a cast</title>
<updated>2016-03-28T14:30:36Z</updated>
<author>
<name>Laura Garcia Liebana</name>
<email>nevola@gmail.com</email>
</author>
<published>2016-03-12T15:20:04Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=9fc27699bd16707ae95218ba553bde144f5afbed'/>
<id>urn:sha1:9fc27699bd16707ae95218ba553bde144f5afbed</id>
<content type='text'>
No space is required after a cast. Checkpatch detected this issue.

Signed-off-by: Laura Garcia Liebana &lt;nevola@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Staging: nvec: removes an unnecessary cast on a void pointer</title>
<updated>2016-03-12T06:09:09Z</updated>
<author>
<name>Ben Marsh</name>
<email>bmarsh94@gmail.com</email>
</author>
<published>2016-03-10T20:24:59Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=0df8f51eed506737a8ff3431e32a79135432cc3d'/>
<id>urn:sha1:0df8f51eed506737a8ff3431e32a79135432cc3d</id>
<content type='text'>
Patch to nvec_ps2.c to remove an unnecessary cast on a void pointer.

Signed-off-by: Ben Marsh &lt;bmarsh94@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: nvec: nvec.c: Drop void pointer cast</title>
<updated>2016-03-12T06:09:09Z</updated>
<author>
<name>Janani Ravichandran</name>
<email>janani.rvchndrn@gmail.com</email>
</author>
<published>2016-02-25T20:17:38Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=60d0ed1c425c71b6a87b1bace9a3b0f5efda9251'/>
<id>urn:sha1:60d0ed1c425c71b6a87b1bace9a3b0f5efda9251</id>
<content type='text'>
Void pointers need not be cast to other pointer types.
Semantic patch used:

@r@
expression x;
void *e;
type T;
identifier f;
@@

(
  *((T *)e)
|
  ((T *)x) [...]
|
  ((T *)x)-&gt;f
|
- (T *)
  e
)

Signed-off-by: Janani Ravichandran &lt;janani.rvchndrn@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: nvec: Avoid the use of BUG_ON</title>
<updated>2016-03-12T06:09:09Z</updated>
<author>
<name>Laura Garcia Liebana</name>
<email>nevola@gmail.com</email>
</author>
<published>2016-02-24T17:11:07Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=350698f6efe844f9f40bf47da7bbab75eba34c61'/>
<id>urn:sha1:350698f6efe844f9f40bf47da7bbab75eba34c61</id>
<content type='text'>
Prevent a kernel panic by avoiding the use of the BUG_ON macro.
Checkpatch detected this issue.

The BUG_ON macro is not needed as such cases shouldn't happen and they
were introduced for debugging purposes.

Signed-off-by: Laura Garcia Liebana &lt;nevola@gmail.com&gt;
Acked-by: Marc Dietrich &lt;marvin24@gmx.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: nvec: Remove blank lines before a close brace</title>
<updated>2016-03-12T06:09:09Z</updated>
<author>
<name>Laura Garcia Liebana</name>
<email>nevola@gmail.com</email>
</author>
<published>2016-02-22T17:51:23Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=aaa657312a6b483af870bd7b412a1467b7808725'/>
<id>urn:sha1:aaa657312a6b483af870bd7b412a1467b7808725</id>
<content type='text'>
Blank lines aren't necessary before a close brace '}'. Checkpatch
detected this issue.

Signed-off-by: Laura Garcia Liebana &lt;nevola@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
</feed>
