<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/sound/isa/sb, branch linux-5.0.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.0.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.0.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2019-04-20T07:16:46Z</updated>
<entry>
<title>ALSA: sb8: add a check for request_region</title>
<updated>2019-04-20T07:16:46Z</updated>
<author>
<name>Kangjie Lu</name>
</author>
<published>2019-03-15T04:04:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4c12b50fc86a4bf37441eb7c3765e8c55578cff8'/>
<id>urn:sha1:4c12b50fc86a4bf37441eb7c3765e8c55578cff8</id>
<content type='text'>
[ Upstream commit dcd0feac9bab901d5739de51b3f69840851f8919 ]

In case request_region fails, the fix returns an error code to
avoid NULL pointer dereference.

Signed-off-by: Kangjie Lu &lt;kjlu@umn.edu&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>Remove 'type' argument from access_ok() function</title>
<updated>2019-01-04T02:57:57Z</updated>
<author>
<name>Linus Torvalds</name>
</author>
<published>2019-01-04T02:57:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=96d4f267e40f9509e8a66e2b39e8b95655617693'/>
<id>urn:sha1:96d4f267e40f9509e8a66e2b39e8b95655617693</id>
<content type='text'>
Nobody has actually used the type (VERIFY_READ vs VERIFY_WRITE) argument
of the user address range verification function since we got rid of the
old racy i386-only code to walk page tables by hand.

It existed because the original 80386 would not honor the write protect
bit when in kernel mode, so you had to do COW by hand before doing any
user access.  But we haven't supported that in a long time, and these
days the 'type' argument is a purely historical artifact.

A discussion about extending 'user_access_begin()' to do the range
checking resulted this patch, because there is no way we're going to
move the old VERIFY_xyz interface to that model.  And it's best done at
the end of the merge window when I've done most of my merges, so let's
just get this done once and for all.

This patch was mostly done with a sed-script, with manual fix-ups for
the cases that weren't of the trivial 'access_ok(VERIFY_xyz' form.

There were a couple of notable cases:

 - csky still had the old "verify_area()" name as an alias.

 - the iter_iov code had magical hardcoded knowledge of the actual
   values of VERIFY_{READ,WRITE} (not that they mattered, since nothing
   really used it)

 - microblaze used the type argument for a debug printout

but other than those oddities this should be a total no-op patch.

I tried to fix up all architectures, did fairly extensive grepping for
access_ok() uses, and the changes are trivial, but I may have missed
something.  Any missed conversion should be trivially fixable, though.

Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>ALSA: sb8: Fix fall-through annotations</title>
<updated>2018-10-02T15:38:40Z</updated>
<author>
<name>Gustavo A. R. Silva</name>
</author>
<published>2018-10-02T09:56:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fe1a10bab242ef0184fdaea6d63905e5f49b6041'/>
<id>urn:sha1:fe1a10bab242ef0184fdaea6d63905e5f49b6041</id>
<content type='text'>
Replace "fallthru" with a proper "fall through" annotation.

This fix is part of the ongoing efforts to enabling
-Wimplicit-fallthrough

Signed-off-by: Gustavo A. R. Silva &lt;gustavo@embeddedor.com&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: isa: Remove empty init and exit</title>
<updated>2018-08-03T14:11:35Z</updated>
<author>
<name>Takashi Iwai</name>
</author>
<published>2018-08-03T13:44:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=498aaa9152eef3e101ec897f9c9b51662f700830'/>
<id>urn:sha1:498aaa9152eef3e101ec897f9c9b51662f700830</id>
<content type='text'>
For a sake of code simplification, remove the init and the exit
entries that do nothing.

Notes for readers: actually it's OK to remove *both* init and exit,
but not OK to remove the exit entry.  By removing only the exit while
keeping init, the module becomes permanently loaded; i.e. you cannot
unload it any longer!

Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: sb: Fix a typo</title>
<updated>2018-08-02T05:43:47Z</updated>
<author>
<name>Takashi Iwai</name>
</author>
<published>2018-08-02T05:40:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=789b7f43858f1c74a1c528e8b8f78c78624800d8'/>
<id>urn:sha1:789b7f43858f1c74a1c528e8b8f78c78624800d8</id>
<content type='text'>
There was a typo of COPY_USER in the dead code (that is disabled
as default).

Fixes: 4b83eff81c81 ("ALSA: sb: Convert to the new PCM ops")
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: sb: Proper endian notations</title>
<updated>2018-07-27T07:06:14Z</updated>
<author>
<name>Takashi Iwai</name>
</author>
<published>2018-07-25T21:24:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=13e9a3edb4b702b701b5a9553b830aa3d2a3e3e9'/>
<id>urn:sha1:13e9a3edb4b702b701b5a9553b830aa3d2a3e3e9</id>
<content type='text'>
The data types defined in SB CSP driver code are all in little-endian,
hence the proper type like __le32 should be used.

Spotted by sparse, a warning like:
  sound/isa/sb/sb16_csp.c:330:14: warning: cast to restricted __le32

Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: sb: Fix sparse warning wrt PCM format type</title>
<updated>2018-07-27T07:05:33Z</updated>
<author>
<name>Takashi Iwai</name>
</author>
<published>2018-07-25T21:19:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e5d3765b6c4cb3ba64295a4205a2f68a4e8fe083'/>
<id>urn:sha1:e5d3765b6c4cb3ba64295a4205a2f68a4e8fe083</id>
<content type='text'>
The PCM format type is with __bitwise, and it can't be converted from
integer implicitly.  Instead of an ugly cast, declare the function
argument of snd_sb_csp_autoload() with the proper snd_pcm_format_t
type.

This fixes the sparse warnings like:
  sound/isa/sb/sb16_csp.c:743:22: warning: restricted snd_pcm_format_t degrades to integer

Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: sb: Fix PCM format bit calculation</title>
<updated>2018-07-27T07:05:32Z</updated>
<author>
<name>Takashi Iwai</name>
</author>
<published>2018-07-25T21:19:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=55ff2d1ea5487fe131cce399baf4503dcf5cc8e1'/>
<id>urn:sha1:55ff2d1ea5487fe131cce399baf4503dcf5cc8e1</id>
<content type='text'>
The PCM format type in snd_pcm_format_t can't be treated as integer
implicitly since it's with __bitwise.  We have already a helper
function to get the bit index of the given type, and use it in each
place instead.

This fixes sparse warnings like:
  sound/isa/sb/sb16_main.c:61:44: warning: restricted snd_pcm_format_t degrades to integer

Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: emu8000: Use swap macro in snd_emu8000_sample_new</title>
<updated>2018-07-17T15:18:03Z</updated>
<author>
<name>Gustavo A. R. Silva</name>
</author>
<published>2018-07-17T15:06:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7373c2a99abf2b11b5e8a226071331c0176253ff'/>
<id>urn:sha1:7373c2a99abf2b11b5e8a226071331c0176253ff</id>
<content type='text'>
Make use of the swap macro and remove unnecessary variable *tmp*. This
makes the code easier to read and maintain.

This code was detected with the help of Coccinelle.

Signed-off-by: Gustavo A. R. Silva &lt;gustavo@embeddedor.com&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: sb8: remove redundant pointer runtime</title>
<updated>2018-07-16T12:30:20Z</updated>
<author>
<name>Colin Ian King</name>
</author>
<published>2018-07-16T08:52:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7527cd209eb88ed03aeab9f4f9bde0923fd6b5d5'/>
<id>urn:sha1:7527cd209eb88ed03aeab9f4f9bde0923fd6b5d5</id>
<content type='text'>
Pointer runtime is being assigned but is never used hence it is
redundant and can be removed.

Cleans up clang warning:
warning: variable 'runtime' set but not used [-Wunused-but-set-variable]

Signed-off-by: Colin Ian King &lt;colin.king@canonical.com&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
</feed>
