<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/sound/drivers/opl3, branch linux-4.1.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.1.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.1.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2018-05-23T01:36:38Z</updated>
<entry>
<title>ALSA: opl3: Hardening for potential Spectre v1</title>
<updated>2018-05-23T01:36:38Z</updated>
<author>
<name>Takashi Iwai</name>
</author>
<published>2018-04-24T05:56:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=780b273920078cfbc63143fc695fca1e37b6a176'/>
<id>urn:sha1:780b273920078cfbc63143fc695fca1e37b6a176</id>
<content type='text'>
[ Upstream commit 7f054a5bee0987f1e2d4e59daea462421c76f2cb ]

As recently Smatch suggested, one place in OPL3 driver may expand the
array directly from the user-space value with speculation:
  sound/drivers/opl3/opl3_synth.c:476 snd_opl3_set_voice() warn: potential spectre issue 'snd_opl3_regmap'

This patch puts array_index_nospec() for hardening against it.

BugLink: https://marc.info/?l=linux-kernel&amp;m=152411496503418&amp;w=2
Reported-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Cc: &lt;stable@vger.kernel.org&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
Signed-off-by: Sasha Levin &lt;alexander.levin@microsoft.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'for-linus' into for-next</title>
<updated>2015-03-09T07:42:00Z</updated>
<author>
<name>Takashi Iwai</name>
</author>
<published>2015-03-09T07:42:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4aa01c408b7022c620241b373d4c3707a2ebeab6'/>
<id>urn:sha1:4aa01c408b7022c620241b373d4c3707a2ebeab6</id>
<content type='text'>
Merging the HD-audio fixes back to base devel branch for further
working on it.
</content>
</entry>
<entry>
<title>ALSA: opl3: small array underflow</title>
<updated>2015-03-06T12:04:42Z</updated>
<author>
<name>Dan Carpenter</name>
</author>
<published>2015-03-05T17:49:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d124380674b58f62d0ef974630d74d67bb8afeb0'/>
<id>urn:sha1:d124380674b58f62d0ef974630d74d67bb8afeb0</id>
<content type='text'>
There is a missing lower bound check on "pitchbend" so it means we can
read up to 6 elements before the start of the opl3_note_table[] array.

Thanks to Clemens Ladisch for his help with this patch.

Signed-off-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: seq: Define driver object in each driver</title>
<updated>2015-02-12T13:15:54Z</updated>
<author>
<name>Takashi Iwai</name>
</author>
<published>2015-02-12T12:43:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=056622053b8ae02978678ac1321b5bd956e7c812'/>
<id>urn:sha1:056622053b8ae02978678ac1321b5bd956e7c812</id>
<content type='text'>
This patch moves the driver object initialization and allocation to
each driver's module init/exit code like other normal drivers.  The
snd_seq_driver struct is now published in seq_device.h, and each
driver is responsible to define it with proper driver attributes
(name, probe and remove) with snd_seq_driver specific attributes as id
and argsize fields.  The helper functions snd_seq_driver_register(),
snd_seq_driver_unregister() and module_snd_seq_driver() are used for
simplifying codes.

Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: Include linux/io.h instead of asm/io.h</title>
<updated>2015-01-28T15:49:33Z</updated>
<author>
<name>Takashi Iwai</name>
</author>
<published>2015-01-28T15:49:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6cbbfe1c8ddb6ac1322a87795dff9d8712c3e359'/>
<id>urn:sha1:6cbbfe1c8ddb6ac1322a87795dff9d8712c3e359</id>
<content type='text'>
Nowadays it's recommended.  Replace all in a shot.

Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: opl3: Use setup_timer() and mod_timer()</title>
<updated>2015-01-19T10:32:26Z</updated>
<author>
<name>Takashi Iwai</name>
</author>
<published>2015-01-19T10:28:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f5d5f75fe167c8b80747290968aeaa91457cb10a'/>
<id>urn:sha1:f5d5f75fe167c8b80747290968aeaa91457cb10a</id>
<content type='text'>
No functional change, refactoring with the standard helpers.

Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: Drop unused name argument in snd_register_oss_device()</title>
<updated>2014-02-12T09:58:19Z</updated>
<author>
<name>Takashi Iwai</name>
</author>
<published>2014-02-04T12:51:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=80d7d771ae839d6fc2286f443ad8445b6721a7f3'/>
<id>urn:sha1:80d7d771ae839d6fc2286f443ad8445b6721a7f3</id>
<content type='text'>
The last argument, name, of snd_oss_register_device() is nowhere
referred in the function in the current code.  Let's drop it.

Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: Replace with IS_ENABLED()</title>
<updated>2014-02-10T10:42:00Z</updated>
<author>
<name>Takashi Iwai</name>
</author>
<published>2014-02-10T08:48:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8eeaa2f9e06dcfb45593a0fcd91e81abc7f5d209'/>
<id>urn:sha1:8eeaa2f9e06dcfb45593a0fcd91e81abc7f5d209</id>
<content type='text'>
Replace the lengthy #if defined(XXX) || defined(XXX_MODULE) with the
new IS_ENABLED() macro.

The patch still doesn't cover all ifdefs.  For example, the dependency
on CONFIG_GAMEPORT is still open-coded because this also has an extra
dependency on MODULE.  Similarly, an open-coded ifdef in pcm_oss.c and
some sequencer-related stuff are left untouched.

Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: opl3: Fix possible negative array index access</title>
<updated>2013-10-29T14:07:19Z</updated>
<author>
<name>Takashi Iwai</name>
</author>
<published>2013-10-29T14:07:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a8d09e3a6dfc44fd2246f3c57d2cd00e1a56e2bd'/>
<id>urn:sha1:a8d09e3a6dfc44fd2246f3c57d2cd00e1a56e2bd</id>
<content type='text'>
Spotted by coverity CID 115196.

Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>sound: Remove unnecessary semicolon</title>
<updated>2012-10-06T14:47:53Z</updated>
<author>
<name>Peter Senna Tschudin</name>
</author>
<published>2012-09-28T09:24:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=395d9dd5dd13c6aa3c8c61a31126af98cd1e747d'/>
<id>urn:sha1:395d9dd5dd13c6aa3c8c61a31126af98cd1e747d</id>
<content type='text'>
A simplified version of the semantic patch that finds this problem is as
follows: (http://coccinelle.lip6.fr/)

// &lt;smpl&gt;
@r1@
statement S;
position p,p1;
@@
S@p1;@p

@script:python r2@
p &lt;&lt; r1.p;
p1 &lt;&lt; r1.p1;
@@
if p[0].line != p1[0].line_end:
        cocci.include_match(False)
@@
position r1.p;
@@
-;@p
// &lt;/smpl&gt;

Signed-off-by: Peter Senna Tschudin &lt;peter.senna@gmail.com&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
</feed>
