<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-stable.git/drivers/staging/rtl8712, branch linux-4.12.y</title>
<subtitle>Linux kernel stable tree</subtitle>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/'/>
<entry>
<title>staging: rtl8712: fixed multiple line derefence issue</title>
<updated>2017-04-08T15:05:59+00:00</updated>
<author>
<name>Prasant Jalan</name>
<email>prasant.jalan@gmail.com</email>
</author>
<published>2017-04-03T06:15:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=ad3dbb9a106fb5f9899b3137534f09507862fed8'/>
<id>ad3dbb9a106fb5f9899b3137534f09507862fed8</id>
<content type='text'>
Checkpatch emits WARNING: Avoid multiple line dereference.

Checkpatch warning is fixed by:
* Trivial indentation improvement and
* Using += instead of + helps shortening the statement.

Signed-off-by: Prasant Jalan &lt;prasant.jalan@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>
Checkpatch emits WARNING: Avoid multiple line dereference.

Checkpatch warning is fixed by:
* Trivial indentation improvement and
* Using += instead of + helps shortening the statement.

Signed-off-by: Prasant Jalan &lt;prasant.jalan@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: rtl8712: code style fix</title>
<updated>2017-04-08T15:05:59+00:00</updated>
<author>
<name>Tejaswini Poluri</name>
<email>tejaswinipoluri3@gmail.com</email>
</author>
<published>2017-03-30T15:11:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=b76cc94a107ccaa7003d7ce63ff1b23aaed8f0f9'/>
<id>b76cc94a107ccaa7003d7ce63ff1b23aaed8f0f9</id>
<content type='text'>
Fixed the warnings from checkpatch.pl on file rtl8712/mlme_linux.c
Avoided multiple line dereferences in the code

Signed-off-by: Tejaswini Poluri &lt;tejaswinipoluri3@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>
Fixed the warnings from checkpatch.pl on file rtl8712/mlme_linux.c
Avoided multiple line dereferences in the code

Signed-off-by: Tejaswini Poluri &lt;tejaswinipoluri3@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: rtl8712: Invert comparison to reduce indentation</title>
<updated>2017-03-23T13:24:45+00:00</updated>
<author>
<name>Narcisa Ana Maria Vasile</name>
<email>narcisaanamaria12@gmail.com</email>
</author>
<published>2017-03-21T22:53:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=22d89cc86c35d510f305a5e2bb651627487d26e9'/>
<id>22d89cc86c35d510f305a5e2bb651627487d26e9</id>
<content type='text'>
Check the condition: "pdata-&gt;length &lt; 32" first, to be able to return immediately
in case of error and then continue with the rest of the function without one
extra indentation level.

This was found using the following Coccinelle script:

@disable neg_if@
expression e,E;
statement S;
@@

*if (e)
    S
    else { return -E; }

    @disable neg_if@
    expression e,E;
    statement S;
    identifier l;
    @@

    *if
(e)
    S
    else
{ rc = -E; goto l; }

Signed-off-by: Narcisa Ana Maria Vasile &lt;narcisaanamaria12@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>
Check the condition: "pdata-&gt;length &lt; 32" first, to be able to return immediately
in case of error and then continue with the rest of the function without one
extra indentation level.

This was found using the following Coccinelle script:

@disable neg_if@
expression e,E;
statement S;
@@

*if (e)
    S
    else { return -E; }

    @disable neg_if@
    expression e,E;
    statement S;
    identifier l;
    @@

    *if
(e)
    S
    else
{ rc = -E; goto l; }

Signed-off-by: Narcisa Ana Maria Vasile &lt;narcisaanamaria12@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: rtl8712: Restructure code for clarity</title>
<updated>2017-03-23T13:24:45+00:00</updated>
<author>
<name>Narcisa Ana Maria Vasile</name>
<email>narcisaanamaria12@gmail.com</email>
</author>
<published>2017-03-21T22:53:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=ad93cc9f15a78a7cc6532db2a0cd0dd8d4311de6'/>
<id>ad93cc9f15a78a7cc6532db2a0cd0dd8d4311de6</id>
<content type='text'>
Invert if statements to be able to return immediately in case of error,
and to avoid additional else branch.

Improve layout of function since there is more horizontal space now.

This was found using the following Coccinelle script:

@disable neg_if@
expression e,E;
statement S;
@@

*if (e)
    S
    else { return -E; }

    @disable neg_if@
    expression e,E;
    statement S;
    identifier l;
    @@

    *if
(e)
    S
    else
{ rc = -E; goto l; }

Signed-off-by: Narcisa Ana Maria Vasile &lt;narcisaanamaria12@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>
Invert if statements to be able to return immediately in case of error,
and to avoid additional else branch.

Improve layout of function since there is more horizontal space now.

This was found using the following Coccinelle script:

@disable neg_if@
expression e,E;
statement S;
@@

*if (e)
    S
    else { return -E; }

    @disable neg_if@
    expression e,E;
    statement S;
    identifier l;
    @@

    *if
(e)
    S
    else
{ rc = -E; goto l; }

Signed-off-by: Narcisa Ana Maria Vasile &lt;narcisaanamaria12@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: rtl8712: Invert the test on check_fwstate() to reduce indentation</title>
<updated>2017-03-23T13:24:45+00:00</updated>
<author>
<name>Narcisa Ana Maria Vasile</name>
<email>narcisaanamaria12@gmail.com</email>
</author>
<published>2017-03-21T22:52:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=09e1aa1aaa797a40d1f9657007e7c0a90eec96cf'/>
<id>09e1aa1aaa797a40d1f9657007e7c0a90eec96cf</id>
<content type='text'>
Negate if condition to be able to return immediately in case of error,
and then continue with the rest of the function
without extra indentation level.

This was found using the following Coccinelle script:

@disable neg_if@
expression e,E;
statement S;
@@

*if (e)
    S
    else { return -E; }

    @disable neg_if@
    expression e,E;
    statement S;
    identifier
    l;
    @@

    *if
(e)
    S
    else
{ rc = -E; goto l; }

Signed-off-by: Narcisa Ana Maria Vasile &lt;narcisaanamaria12@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>
Negate if condition to be able to return immediately in case of error,
and then continue with the rest of the function
without extra indentation level.

This was found using the following Coccinelle script:

@disable neg_if@
expression e,E;
statement S;
@@

*if (e)
    S
    else { return -E; }

    @disable neg_if@
    expression e,E;
    statement S;
    identifier
    l;
    @@

    *if
(e)
    S
    else
{ rc = -E; goto l; }

Signed-off-by: Narcisa Ana Maria Vasile &lt;narcisaanamaria12@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: rtl8712: Invert if statements to reduce indentation level</title>
<updated>2017-03-23T13:24:45+00:00</updated>
<author>
<name>Narcisa Ana Maria Vasile</name>
<email>narcisaanamaria12@gmail.com</email>
</author>
<published>2017-03-21T22:52:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=e6d9379507d77c08fb9f91c8430c3f87ceb38d29'/>
<id>e6d9379507d77c08fb9f91c8430c3f87ceb38d29</id>
<content type='text'>
Invert if statements to be able to return immediately in case of error,
and to avoid additional else branch, and then continue with the rest
of the function without excessive indentation.

This was found using the following Coccinelle script:

@disable neg_if@
expression e,E;
statement S;
@@

*if (e)
S
else { return -E; }

@disable neg_if@
expression e,E;
statement S;
identifier l;
@@

*if (e)
S
else { rc = -E; goto l;  }

Signed-off-by: Narcisa Ana Maria Vasile &lt;narcisaanamaria12@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>
Invert if statements to be able to return immediately in case of error,
and to avoid additional else branch, and then continue with the rest
of the function without excessive indentation.

This was found using the following Coccinelle script:

@disable neg_if@
expression e,E;
statement S;
@@

*if (e)
S
else { return -E; }

@disable neg_if@
expression e,E;
statement S;
identifier l;
@@

*if (e)
S
else { rc = -E; goto l;  }

Signed-off-by: Narcisa Ana Maria Vasile &lt;narcisaanamaria12@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: rtl8712: checkpatch: Avoid multiple line dereferences</title>
<updated>2017-03-21T07:44:55+00:00</updated>
<author>
<name>Ding-Chi Wang</name>
<email>dcwang.tw@gmail.com</email>
</author>
<published>2017-03-18T08:59:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=50d94eac3ef4e5c26f3f68c9c10e9363c9a4b962'/>
<id>50d94eac3ef4e5c26f3f68c9c10e9363c9a4b962</id>
<content type='text'>
"WARNING: Avoid multiple line dereference - prefer 'poid_par_priv-&gt;information_buf_len'"
"WARNING: Avoid multiple line dereference - prefer 'padapter-&gt;registrypriv.dev_network.Configuration'"
"WARNING: Avoid multiple line dereference - prefer 'Adapter-&gt;mppriv.workparam.io_value'"

Signed-off-by: Ding-Chi Wang &lt;dcwang.tw@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>
"WARNING: Avoid multiple line dereference - prefer 'poid_par_priv-&gt;information_buf_len'"
"WARNING: Avoid multiple line dereference - prefer 'padapter-&gt;registrypriv.dev_network.Configuration'"
"WARNING: Avoid multiple line dereference - prefer 'Adapter-&gt;mppriv.workparam.io_value'"

Signed-off-by: Ding-Chi Wang &lt;dcwang.tw@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: rtl8712: fix bad indentation</title>
<updated>2017-03-12T14:27:40+00:00</updated>
<author>
<name>Thibaut SAUTEREAU</name>
<email>thibaut.sautereau@telecom-sudparis.eu</email>
</author>
<published>2017-03-11T18:27:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=5dee68828ac1286b6735bcb87c7242014bf95510'/>
<id>5dee68828ac1286b6735bcb87c7242014bf95510</id>
<content type='text'>
Fix bad indentation as reported by checkpatch.pl script.

Signed-off-by: Thibaut SAUTEREAU &lt;thibaut.sautereau@telecom-sudparis.eu&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>
Fix bad indentation as reported by checkpatch.pl script.

Signed-off-by: Thibaut SAUTEREAU &lt;thibaut.sautereau@telecom-sudparis.eu&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: rtl8712: Remove unnecessary cast on void pointer</title>
<updated>2017-03-09T16:37:21+00:00</updated>
<author>
<name>simran singhal</name>
<email>singhalsimran0@gmail.com</email>
</author>
<published>2017-03-04T15:30:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=c66de311168b679cb5d2c3d2f936f3e54730d8ae'/>
<id>c66de311168b679cb5d2c3d2f936f3e54730d8ae</id>
<content type='text'>
The following Coccinelle script was used to detect this:
@r@
expression x;
void* e;
type T;
identifier f;
@@
(
  *((T *)e)
|
  ((T *)x)[...]
|
  ((T*)x)-&gt;f
|
- (T*)
  e
)

Signed-off-by: simran singhal &lt;singhalsimran0@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>
The following Coccinelle script was used to detect this:
@r@
expression x;
void* e;
type T;
identifier f;
@@
(
  *((T *)e)
|
  ((T *)x)[...]
|
  ((T*)x)-&gt;f
|
- (T*)
  e
)

Signed-off-by: simran singhal &lt;singhalsimran0@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Staging: rtl8712: rtl871x_mp_ioctl.h - style fix</title>
<updated>2017-03-09T16:37:21+00:00</updated>
<author>
<name>Derek Robson</name>
<email>robsonde@gmail.com</email>
</author>
<published>2017-03-02T05:27:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=4c3ff837e5fbb325a915b50e487dc91a6546b146'/>
<id>4c3ff837e5fbb325a915b50e487dc91a6546b146</id>
<content type='text'>
Fixed style of block comments
Found using checkpatch

Signed-off-by: Derek Robson &lt;robsonde@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>
Fixed style of block comments
Found using checkpatch

Signed-off-by: Derek Robson &lt;robsonde@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
