<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux.git/drivers/staging/speakup/synth.c, branch v4.9</title>
<subtitle>Linux kernel source tree</subtitle>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/'/>
<entry>
<title>staging: speakup: Remove unnecessary parentheses</title>
<updated>2016-09-22T09:54:47+00:00</updated>
<author>
<name>Katie Dunne</name>
<email>kdunne@mail.ccsf.edu</email>
</author>
<published>2016-09-21T22:13:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=3adc4aae0e597a7cdcb9ed3f99d0933bf9a4aaa6'/>
<id>3adc4aae0e597a7cdcb9ed3f99d0933bf9a4aaa6</id>
<content type='text'>
Issue found by checkpatch.

Signed-off-by: Katie Dunne &lt;kdunne@mail.ccsf.edu&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Issue found by checkpatch.

Signed-off-by: Katie Dunne &lt;kdunne@mail.ccsf.edu&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: speakup: ensure we do not overrun synths array</title>
<updated>2016-08-15T17:14:54+00:00</updated>
<author>
<name>Colin Ian King</name>
<email>colin.king@canonical.com</email>
</author>
<published>2016-05-09T22:22:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=99a9ffacc1d390e9548b2370beb816c6739b84b2'/>
<id>99a9ffacc1d390e9548b2370beb816c6739b84b2</id>
<content type='text'>
synth_add allows one to add MAXSYNTHS synths to the synths array;
however it always NULLifies the next synth in the array which
means that on the MAXSYNTHS synth we get an out-of-bounds write of
the NULL to the synths array.  Make the synths array MAXSYNTHS + 1
elements in size to allow for the final NULL sentinal to avoid the
out-of-bounds write.

Issue found wit CoverityScan, CID#744671

Signed-off-by: Colin Ian King &lt;colin.king@canonical.com&gt;
Reviewed-by: Samuel Thibault &lt;samuel.thibault@ens-lyon.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
synth_add allows one to add MAXSYNTHS synths to the synths array;
however it always NULLifies the next synth in the array which
means that on the MAXSYNTHS synth we get an out-of-bounds write of
the NULL to the synths array.  Make the synths array MAXSYNTHS + 1
elements in size to allow for the final NULL sentinal to avoid the
out-of-bounds write.

Issue found wit CoverityScan, CID#744671

Signed-off-by: Colin Ian King &lt;colin.king@canonical.com&gt;
Reviewed-by: Samuel Thibault &lt;samuel.thibault@ens-lyon.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: speakup: Remove unnecessary test in if condition</title>
<updated>2016-03-05T22:48:04+00:00</updated>
<author>
<name>Amitoj Kaur Chawla</name>
<email>amitoj1606@gmail.com</email>
</author>
<published>2016-02-24T15:24:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=d6e29ca1f6cf566f67012dce269b5f9ba72a1659'/>
<id>d6e29ca1f6cf566f67012dce269b5f9ba72a1659</id>
<content type='text'>
Remove unnecessary test on synth-&gt;alive since it has already been
tested previously.

This fixes the following smatch warning:
drivers/staging/speakup/synth.c:182 spk_synth_is_alive_restart() warn:
we tested 'synth-&gt;alive' before and it was 'false'

Signed-off-by: Amitoj Kaur Chawla &lt;amitoj1606@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove unnecessary test on synth-&gt;alive since it has already been
tested previously.

This fixes the following smatch warning:
drivers/staging/speakup/synth.c:182 spk_synth_is_alive_restart() warn:
we tested 'synth-&gt;alive' before and it was 'false'

Signed-off-by: Amitoj Kaur Chawla &lt;amitoj1606@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: speakup: Split the comment to fit the length</title>
<updated>2015-01-18T00:14:16+00:00</updated>
<author>
<name>Panir.Nyan</name>
<email>panir.nyan@gmail.com</email>
</author>
<published>2014-12-24T04:07:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=05719ac7d5684cc23967320ae3a4e90e496bd9f6'/>
<id>05719ac7d5684cc23967320ae3a4e90e496bd9f6</id>
<content type='text'>
Split the comment to fit the length.

Signed-off-by: Panir Nyan &lt;Panir.Nyan@gmail.com&gt;
Acked-by: Samuel Thibault &lt;samuel.thibault@ens-lyon.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Split the comment to fit the length.

Signed-off-by: Panir Nyan &lt;Panir.Nyan@gmail.com&gt;
Acked-by: Samuel Thibault &lt;samuel.thibault@ens-lyon.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: speakup: remove jiffies comparison using time_after_eq()</title>
<updated>2014-09-23T20:31:36+00:00</updated>
<author>
<name>Tapasweni Pathak</name>
<email>tapaswenipathak@gmail.com</email>
</author>
<published>2014-09-21T13:52:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=89021ecc8364e727a24b0683a74515c8ddf308db'/>
<id>89021ecc8364e727a24b0683a74515c8ddf308db</id>
<content type='text'>
This patch fixes checkpatch.pl warning in files of speakup
WARNING : Comparing jiffies is almost always wrong; prefer time_after,
time_before and friends

Signed-off-by: Tapasweni Pathak &lt;tapaswenipathak@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch fixes checkpatch.pl warning in files of speakup
WARNING : Comparing jiffies is almost always wrong; prefer time_after,
time_before and friends

Signed-off-by: Tapasweni Pathak &lt;tapaswenipathak@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: speakup: fix missing blank lines after declarations</title>
<updated>2014-09-11T21:54:51+00:00</updated>
<author>
<name>Domagoj Trsan</name>
<email>domagoj.trsan@gmail.com</email>
</author>
<published>2014-09-09T18:04:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=8e69a8110686572a4b88d006faa8c3c759c4c261'/>
<id>8e69a8110686572a4b88d006faa8c3c759c4c261</id>
<content type='text'>
Signed-off-by: Domagoj Trsan &lt;domagoj.trsan@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Domagoj Trsan &lt;domagoj.trsan@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Staging: speakup: don't die if accessing sysfs without synth</title>
<updated>2014-05-28T00:35:50+00:00</updated>
<author>
<name>Sasha Levin</name>
<email>sasha.levin@oracle.com</email>
</author>
<published>2014-05-27T23:08:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=8b9c012a425b23c1df52cc1ddfec8259035c6754'/>
<id>8b9c012a425b23c1df52cc1ddfec8259035c6754</id>
<content type='text'>
Setting a 'silent' parameter without a synth would crash the kernel.

Signed-off-by: Sasha Levin &lt;sasha.levin@oracle.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Setting a 'silent' parameter without a synth would crash the kernel.

Signed-off-by: Sasha Levin &lt;sasha.levin@oracle.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Staging: speakup: Fix return value in synth.c</title>
<updated>2013-05-16T23:17:30+00:00</updated>
<author>
<name>Sachin Kamat</name>
<email>sachin.kamat@linaro.org</email>
</author>
<published>2013-05-13T10:38:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=4e595c0d23ff7bf3ae738c3ed563162fcc20678e'/>
<id>4e595c0d23ff7bf3ae738c3ed563162fcc20678e</id>
<content type='text'>
The function return type is a pointer. Hence return NULL instead
of 0.

Signed-off-by: Sachin Kamat &lt;sachin.kamat@linaro.org&gt;
Acked-by: Samuel Thibault &lt;samuel.thibault@ens-lyon.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The function return type is a pointer. Hence return NULL instead
of 0.

Signed-off-by: Sachin Kamat &lt;sachin.kamat@linaro.org&gt;
Acked-by: Samuel Thibault &lt;samuel.thibault@ens-lyon.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: speakup: remove custom locking macro definitions</title>
<updated>2013-05-16T23:14:50+00:00</updated>
<author>
<name>William Hubbs</name>
<email>w.d.hubbs@gmail.com</email>
</author>
<published>2013-05-13T18:31:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=667b614118b3bae7d2a82732cdde71730a3d080c'/>
<id>667b614118b3bae7d2a82732cdde71730a3d080c</id>
<content type='text'>
Signed-off-by: William Hubbs &lt;w.d.hubbs@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: William Hubbs &lt;w.d.hubbs@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: speakup: synth: remove custom locking macros</title>
<updated>2013-05-16T23:14:49+00:00</updated>
<author>
<name>William Hubbs</name>
<email>w.d.hubbs@gmail.com</email>
</author>
<published>2013-05-13T05:03:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=6697330ac556541fff5e1430ca68fadd60c4247a'/>
<id>6697330ac556541fff5e1430ca68fadd60c4247a</id>
<content type='text'>
Signed-off-by: William Hubbs &lt;w.d.hubbs@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: William Hubbs &lt;w.d.hubbs@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
