<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux.git/drivers/staging/vc04_services, branch v5.5</title>
<subtitle>Linux kernel source tree</subtitle>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/'/>
<entry>
<title>staging: vchiq: call unregister_chrdev_region() when driver registration fails</title>
<updated>2019-12-10T09:56:56+00:00</updated>
<author>
<name>Marcelo Diop-Gonzalez</name>
<email>marcgonzalez@google.com</email>
</author>
<published>2019-12-03T15:39:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=d2cdb20507fe2079a146459f9718b45d78cbbe61'/>
<id>d2cdb20507fe2079a146459f9718b45d78cbbe61</id>
<content type='text'>
This undoes the previous call to alloc_chrdev_region() on failure,
and is probably what was meant originally given the label name.

Signed-off-by: Marcelo Diop-Gonzalez &lt;marcgonzalez@google.com&gt;
Cc: stable &lt;stable@vger.kernel.org&gt;
Fixes: 187ac53e590c ("staging: vchiq_arm: rework probe and init functions")
Reviewed-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Reviewed-by: Nicolas Saenz Julienne &lt;nsaenzjulienne@suse.de&gt;
Link: https://lore.kernel.org/r/20191203153921.70540-1-marcgonzalez@google.com
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 undoes the previous call to alloc_chrdev_region() on failure,
and is probably what was meant originally given the label name.

Signed-off-by: Marcelo Diop-Gonzalez &lt;marcgonzalez@google.com&gt;
Cc: stable &lt;stable@vger.kernel.org&gt;
Fixes: 187ac53e590c ("staging: vchiq_arm: rework probe and init functions")
Reviewed-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Reviewed-by: Nicolas Saenz Julienne &lt;nsaenzjulienne@suse.de&gt;
Link: https://lore.kernel.org/r/20191203153921.70540-1-marcgonzalez@google.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: vchiq: Have vchiq_dump_* functions return an error code</title>
<updated>2019-11-22T10:40:31+00:00</updated>
<author>
<name>Marcelo Diop-Gonzalez</name>
<email>marcgonzalez@google.com</email>
</author>
<published>2019-11-20T20:21:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=0f6f8749872e7be6c083dc845bf4d45a7018b79c'/>
<id>0f6f8749872e7be6c083dc845bf4d45a7018b79c</id>
<content type='text'>
These functions currently modify the struct dump_context passed
to them, and set context-&gt;actual to -EFAULT in case of error.
The issue is that this is never returned to the user (except
accidentally when things align so that that happens). So, have
these functions return 0 on success and the appropriate error
code otherwise, and return nonzero errors to the user.

Reviewed-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Signed-off-by: Marcelo Diop-Gonzalez &lt;marcgonzalez@google.com&gt;
Reviewed-by: Nicolas Saenz Julienne &lt;nsaenzjulienne@suse.de&gt;
Link: https://lore.kernel.org/r/20191120202102.249121-5-marcgonzalez@google.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These functions currently modify the struct dump_context passed
to them, and set context-&gt;actual to -EFAULT in case of error.
The issue is that this is never returned to the user (except
accidentally when things align so that that happens). So, have
these functions return 0 on success and the appropriate error
code otherwise, and return nonzero errors to the user.

Reviewed-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Signed-off-by: Marcelo Diop-Gonzalez &lt;marcgonzalez@google.com&gt;
Reviewed-by: Nicolas Saenz Julienne &lt;nsaenzjulienne@suse.de&gt;
Link: https://lore.kernel.org/r/20191120202102.249121-5-marcgonzalez@google.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: vchiq: Refactor indentation in vchiq_dump_* functions</title>
<updated>2019-11-22T10:40:31+00:00</updated>
<author>
<name>Marcelo Diop-Gonzalez</name>
<email>marcgonzalez@google.com</email>
</author>
<published>2019-11-20T20:21:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=0046b33ce553f48551ea6e4879562d423ed3f1a0'/>
<id>0046b33ce553f48551ea6e4879562d423ed3f1a0</id>
<content type='text'>
Doing this helps with readability, and makes
the logic easier to follow.

Signed-off-by: Marcelo Diop-Gonzalez &lt;marcgonzalez@google.com&gt;
Reviewed-by: Nicolas Saenz Julienne &lt;nsaenzjulienne@suse.de&gt;
Link: https://lore.kernel.org/r/20191120202102.249121-4-marcgonzalez@google.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Doing this helps with readability, and makes
the logic easier to follow.

Signed-off-by: Marcelo Diop-Gonzalez &lt;marcgonzalez@google.com&gt;
Reviewed-by: Nicolas Saenz Julienne &lt;nsaenzjulienne@suse.de&gt;
Link: https://lore.kernel.org/r/20191120202102.249121-4-marcgonzalez@google.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: vchiq_dump: Replace min with min_t</title>
<updated>2019-11-22T10:32:54+00:00</updated>
<author>
<name>Marcelo Diop-Gonzalez</name>
<email>marcgonzalez@google.com</email>
</author>
<published>2019-11-20T20:21:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=96a8b2912fe56f49193879a771baf214b4f209e4'/>
<id>96a8b2912fe56f49193879a771baf214b4f209e4</id>
<content type='text'>
Replacing this fixes checkpatch warnings.

Signed-off-by: Marcelo Diop-Gonzalez &lt;marcgonzalez@google.com&gt;
Link: https://lore.kernel.org/r/20191120202102.249121-3-marcgonzalez@google.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Replacing this fixes checkpatch warnings.

Signed-off-by: Marcelo Diop-Gonzalez &lt;marcgonzalez@google.com&gt;
Link: https://lore.kernel.org/r/20191120202102.249121-3-marcgonzalez@google.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: vchiq: Fix block comment format in vchiq_dump()</title>
<updated>2019-11-22T10:32:54+00:00</updated>
<author>
<name>Marcelo Diop-Gonzalez</name>
<email>marcgonzalez@google.com</email>
</author>
<published>2019-11-20T20:20:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=eacb77aad729c1ec077de267065210f92efdece2'/>
<id>eacb77aad729c1ec077de267065210f92efdece2</id>
<content type='text'>
This fixes a checkpatch warning.

Signed-off-by: Marcelo Diop-Gonzalez &lt;marcgonzalez@google.com&gt;
Link: https://lore.kernel.org/r/20191120202102.249121-2-marcgonzalez@google.com
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 fixes a checkpatch warning.

Signed-off-by: Marcelo Diop-Gonzalez &lt;marcgonzalez@google.com&gt;
Link: https://lore.kernel.org/r/20191120202102.249121-2-marcgonzalez@google.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: vc04: Fix Kconfig indentation</title>
<updated>2019-11-20T14:20:29+00:00</updated>
<author>
<name>Krzysztof Kozlowski</name>
<email>krzk@kernel.org</email>
</author>
<published>2019-11-20T13:38:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=83072c35ee878cd3ad5e85c282dd13097de74b03'/>
<id>83072c35ee878cd3ad5e85c282dd13097de74b03</id>
<content type='text'>
Adjust indentation from spaces to tab (+optional two spaces) as in
coding style with command like:
	$ sed -e 's/^        /\t/' -i */Kconfig

Signed-off-by: Krzysztof Kozlowski &lt;krzk@kernel.org&gt;
Link: https://lore.kernel.org/r/20191120133848.13250-1-krzk@kernel.org
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Adjust indentation from spaces to tab (+optional two spaces) as in
coding style with command like:
	$ sed -e 's/^        /\t/' -i */Kconfig

Signed-off-by: Krzysztof Kozlowski &lt;krzk@kernel.org&gt;
Link: https://lore.kernel.org/r/20191120133848.13250-1-krzk@kernel.org
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: vchiq: Refactor indentation in vchiq_platform_conn_state_changed()</title>
<updated>2019-11-15T06:14:55+00:00</updated>
<author>
<name>Marcelo Diop-Gonzalez</name>
<email>marcgonzalez@google.com</email>
</author>
<published>2019-11-14T23:28:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=2611045e3555cd0d75837ae69ffd70ef51e28bf7'/>
<id>2611045e3555cd0d75837ae69ffd70ef51e28bf7</id>
<content type='text'>
Reducing the indentation level helps a bit with
the readability of this function. There's also a checkpatch
fix here, moving the first argument to kthread_create() onto
the same line, as well as a relocation of the statement
"char threadname[16];" to the top of the function to avoid
a declaration in the middle of code.

Signed-off-by: Marcelo Diop-Gonzalez &lt;marcgonzalez@google.com&gt;
Link: https://lore.kernel.org/r/20191114232801.71458-1-marcgonzalez@google.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reducing the indentation level helps a bit with
the readability of this function. There's also a checkpatch
fix here, moving the first argument to kthread_create() onto
the same line, as well as a relocation of the statement
"char threadname[16];" to the top of the function to avoid
a declaration in the middle of code.

Signed-off-by: Marcelo Diop-Gonzalez &lt;marcgonzalez@google.com&gt;
Link: https://lore.kernel.org/r/20191114232801.71458-1-marcgonzalez@google.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: vchiq: Have vchiu_queue_init() return 0 on success.</title>
<updated>2019-11-07T15:26:31+00:00</updated>
<author>
<name>Marcelo Diop-Gonzalez</name>
<email>marcgonzalez@google.com</email>
</author>
<published>2019-11-05T22:27:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=b79967a27f347d39a6e0b85b49bd11963cacf5c1'/>
<id>b79967a27f347d39a6e0b85b49bd11963cacf5c1</id>
<content type='text'>
It could be confusing to return 1 on success and 0 on error
given the style elswhere.

Signed-off-by: Marcelo Diop-Gonzalez &lt;marcgonzalez@google.com&gt;
Link: https://lore.kernel.org/r/20191105222756.25369-1-marcgonzalez@google.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It could be confusing to return 1 on success and 0 on error
given the style elswhere.

Signed-off-by: Marcelo Diop-Gonzalez &lt;marcgonzalez@google.com&gt;
Link: https://lore.kernel.org/r/20191105222756.25369-1-marcgonzalez@google.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: vc04_services: Replace VCHIQ_PLATFORM_STATE_T typedef with struct opaque_platform_state</title>
<updated>2019-11-07T15:25:52+00:00</updated>
<author>
<name>Jamal Shareef</name>
<email>jamal.k.shareef@gmail.com</email>
</author>
<published>2019-11-05T22:55:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=885961fed45dca0de605a94aa6d12d694acfb787'/>
<id>885961fed45dca0de605a94aa6d12d694acfb787</id>
<content type='text'>
Replace VCHIQ_PLATFORM_STATE_T typedef with struct opaque_platform_state
to match kernel code style. Issue found by checkpatch.

Signed-off-by: Jamal Shareef &lt;jamal.k.shareef@gmail.com&gt;
Link: https://lore.kernel.org/r/ed1a877637a53881ed65dc232da04dc40fbd9fc3.1572994235.git.jamal.k.shareef@gmail.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Replace VCHIQ_PLATFORM_STATE_T typedef with struct opaque_platform_state
to match kernel code style. Issue found by checkpatch.

Signed-off-by: Jamal Shareef &lt;jamal.k.shareef@gmail.com&gt;
Link: https://lore.kernel.org/r/ed1a877637a53881ed65dc232da04dc40fbd9fc3.1572994235.git.jamal.k.shareef@gmail.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: vc04_services: Replace VCHIQ_INSTANCE_T typedef with struct vchiq_instance</title>
<updated>2019-11-07T15:25:23+00:00</updated>
<author>
<name>Jamal Shareef</name>
<email>jamal.k.shareef@gmail.com</email>
</author>
<published>2019-11-05T22:55:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=4ddf9a2555caf210f60fdcec35d8081aa4135ea0'/>
<id>4ddf9a2555caf210f60fdcec35d8081aa4135ea0</id>
<content type='text'>
Replaces  VCHIQ_INSTANCE_T typedef with struct vchiq_instance to match
kernel code style. Issue found by checkpatch.

Additionally, as part of the process renames "struct vchiq_instance_struct" to "struct vchiq_instance".

Signed-off-by: Jamal Shareef &lt;jamal.k.shareef@gmail.com&gt;
Link: https://lore.kernel.org/r/ed2b3076f93a920149716687b48e0c5e3ddf0569.1572994235.git.jamal.k.shareef@gmail.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Replaces  VCHIQ_INSTANCE_T typedef with struct vchiq_instance to match
kernel code style. Issue found by checkpatch.

Additionally, as part of the process renames "struct vchiq_instance_struct" to "struct vchiq_instance".

Signed-off-by: Jamal Shareef &lt;jamal.k.shareef@gmail.com&gt;
Link: https://lore.kernel.org/r/ed2b3076f93a920149716687b48e0c5e3ddf0569.1572994235.git.jamal.k.shareef@gmail.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
