<feed xmlns='http://www.w3.org/2005/Atom'>
<title>pm24.git/drivers/staging/rtl8192e, branch v6.0</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<id>https://git.kobert.dev/pm24.git/atom?h=v6.0</id>
<link rel='self' href='https://git.kobert.dev/pm24.git/atom?h=v6.0'/>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/'/>
<updated>2022-07-08T12:25:46Z</updated>
<entry>
<title>Staging: rtl8192e: Added spaces around '+'</title>
<updated>2022-07-08T12:25:46Z</updated>
<author>
<name>Felix Schlepper</name>
<email>f3sch.git@outlook.com</email>
</author>
<published>2022-07-01T09:24:54Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=a27e2eb5e9febf16c503423424a67289a4eb03c3'/>
<id>urn:sha1:a27e2eb5e9febf16c503423424a67289a4eb03c3</id>
<content type='text'>
This addresses two issues raised by checkpatch.pl:

     $ ./scripts/checkpatch.pl --terse -f drivers/staging/rtl8192e/rtllib_wx.c
     CHECK: spaces preferred around that '+' (ctx:VxV)

Tested-by: Philipp Hortmann &lt;philipp.g.hortmann@gmail.com&gt;
Signed-off-by: Felix Schlepper &lt;f3sch.git@outlook.com&gt;
Link: https://lore.kernel.org/r/87628a2dd08ec0e5b02090485e7a9a1d91b7d2a5.1656667089.git.f3sch.git@outlook.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Staging: rtl8192e: Remove unnecessary blank line</title>
<updated>2022-07-08T12:25:46Z</updated>
<author>
<name>Felix Schlepper</name>
<email>f3sch.git@outlook.com</email>
</author>
<published>2022-07-01T09:24:53Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=ea32f580e853ca28709474f786134b574bbeacbf'/>
<id>urn:sha1:ea32f580e853ca28709474f786134b574bbeacbf</id>
<content type='text'>
This addresses an issue raised by checkpatch.pl:

     $ ./scripts/checkpatch.pl --terse -f drivers/staging/rtl8192e/rtllib_wx.c
     CHECK: Blank lines aren't necessary before a close brace '}'

Tested-by: Philipp Hortmann &lt;philipp.g.hortmann@gmail.com&gt;
Signed-off-by: Felix Schlepper &lt;f3sch.git@outlook.com&gt;
Link: https://lore.kernel.org/r/f3c6bd5c79331e82f006fb2694f791030b07c5ba.1656667089.git.f3sch.git@outlook.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Staging: rtl8192e: Added braces around else</title>
<updated>2022-07-08T12:25:46Z</updated>
<author>
<name>Felix Schlepper</name>
<email>f3sch.git@outlook.com</email>
</author>
<published>2022-07-01T09:24:52Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=58f364ecb13ecece3a84d6517b6be4a4672db655'/>
<id>urn:sha1:58f364ecb13ecece3a84d6517b6be4a4672db655</id>
<content type='text'>
This addresses two issues raised by checkpatch.pl:

     $ ./scripts/checkpatch.pl --terse -f drivers/staging/rtl8192e/rtllib_wx.c
     CHECK: braces {} should be used on all arms of this statement
     CHECK: Unbalanced braces around else statement

The coding style rule with not using unnecessary braces around if/else
does not apply if only one branch is a single statement.

Tested-by: Philipp Hortmann &lt;philipp.g.hortmann@gmail.com&gt;
Signed-off-by: Felix Schlepper &lt;f3sch.git@outlook.com&gt;
Link: https://lore.kernel.org/r/651f51d9f92e8a445ceaf9f2073f16dd10458a74.1656667089.git.f3sch.git@outlook.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Staging: rtl8192e: Remove unnecessary parentheses</title>
<updated>2022-07-08T12:25:46Z</updated>
<author>
<name>Felix Schlepper</name>
<email>f3sch.git@outlook.com</email>
</author>
<published>2022-07-01T09:24:51Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=907d2772f75168d2f39087c8c77195c16d3e019d'/>
<id>urn:sha1:907d2772f75168d2f39087c8c77195c16d3e019d</id>
<content type='text'>
This addresses an issue raised by checkpatch.pl:

     $ ./scripts/checkpatch.pl --terse -f drivers/staging/rtl8192e/rtllib_wx.c
     Unnecessary parentheses around wrqu-&gt;encoding

Tested-by: Philipp Hortmann &lt;philipp.g.hortmann@gmail.com&gt;
Signed-off-by: Felix Schlepper &lt;f3sch.git@outlook.com&gt;
Link: https://lore.kernel.org/r/0e4e340be3f4c7f35a5381b726b1db5fc6842f10.1656667089.git.f3sch.git@outlook.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Staging: rtl8192e: Avoid multiple assignments</title>
<updated>2022-07-08T12:25:45Z</updated>
<author>
<name>Felix Schlepper</name>
<email>f3sch.git@outlook.com</email>
</author>
<published>2022-07-01T09:24:50Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=2393ef09cad85a0563a7d30ea7a560a7af58f26c'/>
<id>urn:sha1:2393ef09cad85a0563a7d30ea7a560a7af58f26c</id>
<content type='text'>
This addresses an issue raised by checkpatch.pl:

     $ ./scripts/checkpatch.pl --terse -f drivers/staging/rtl8192e/rtllib_wx.c
     CHECK: multiple assignments should be avoided

Tested-by: Philipp Hortmann &lt;philipp.g.hortmann@gmail.com&gt;
Signed-off-by: Felix Schlepper &lt;f3sch.git@outlook.com&gt;
Link: https://lore.kernel.org/r/899a1010643a05668465069951518e5dcab9c77e.1656667089.git.f3sch.git@outlook.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Staging: rtl8192e: Refactored rtllib_modes</title>
<updated>2022-07-08T12:25:45Z</updated>
<author>
<name>Felix Schlepper</name>
<email>f3sch.git@outlook.com</email>
</author>
<published>2022-07-01T09:24:49Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=177a561e0bebe81444473d5d779d163bd53bc949'/>
<id>urn:sha1:177a561e0bebe81444473d5d779d163bd53bc949</id>
<content type='text'>
The initial reason for looking at this code was an
issue raised by checkpatch.pl:

     $ ./scripts/checkpatch.pl --terse -f drivers/staging/rtl8192e/rtllib_wx.c
     CHECK: Please use a blank line after function/struct/union/enum
     declarations

The additional blank line above the struct/before the headers is
just cleaner.

However, as it turns out since there is no str formatting required
One can replace the error prone str + size struct with a char array.
The rest of this patch fixes the usecases.

Tested-by: Philipp Hortmann &lt;philipp.g.hortmann@gmail.com&gt;
Signed-off-by: Felix Schlepper &lt;f3sch.git@outlook.com&gt;
Link: https://lore.kernel.org/r/4dbc4939e88a2c94f1819b4b0cc2c81dc332710b.1656667089.git.f3sch.git@outlook.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Staging: rtl8192e: Cleaning up error handling</title>
<updated>2022-06-27T11:50:03Z</updated>
<author>
<name>Felix Schlepper</name>
<email>f3sch.git@outlook.com</email>
</author>
<published>2022-06-24T13:54:55Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=acde2522fa1aaa9aea58fb4c7dca596e8c0b5d57'/>
<id>urn:sha1:acde2522fa1aaa9aea58fb4c7dca596e8c0b5d57</id>
<content type='text'>
Moved error handling to one common block.
This removes double checking if all txb-&gt;fragments[]
were initialized.
The original code worked fine, but this is cleaner.

Signed-off-by: Felix Schlepper &lt;f3sch.git@outlook.com&gt;
Link: https://lore.kernel.org/r/13b32131cd00a1f0b8793657a24ada71240a8350.1656078068.git.f3sch.git@outlook.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Staging: rtl8192e: Using kzalloc and delete memset</title>
<updated>2022-06-27T11:50:03Z</updated>
<author>
<name>Felix Schlepper</name>
<email>f3sch.git@outlook.com</email>
</author>
<published>2022-06-24T13:54:54Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=9fdc63fe40faaffeecaf3f1425dd1b27892f96fc'/>
<id>urn:sha1:9fdc63fe40faaffeecaf3f1425dd1b27892f96fc</id>
<content type='text'>
By using kzalloc, we can delete a memset.  The practical difference
is that using kzalloc() will zero out the txb-&gt;fragments[] array.
The original code worked fine, but zeroing everything seems nicer.

Signed-off-by: Felix Schlepper &lt;f3sch.git@outlook.com&gt;
Link: https://lore.kernel.org/r/9727fe31c675f2f3052ca2fa586d137dd856ac91.1656078068.git.f3sch.git@outlook.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Staging: rtl8192e: Use struct_size</title>
<updated>2022-06-27T11:50:03Z</updated>
<author>
<name>Felix Schlepper</name>
<email>f3sch.git@outlook.com</email>
</author>
<published>2022-06-24T13:54:53Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=71eac0c07c7b26063bf5ee14a082e05421688552'/>
<id>urn:sha1:71eac0c07c7b26063bf5ee14a082e05421688552</id>
<content type='text'>
Using struct_size is encouraged because it is safer
than using sizeof and calculations by hand.

Signed-off-by: Felix Schlepper &lt;f3sch.git@outlook.com&gt;
Link: https://lore.kernel.org/r/54ea62a2b7628d3bdd5aa52df82c3e91704a2127.1656078068.git.f3sch.git@outlook.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: rtl8192e: remove null check after call container_of()</title>
<updated>2022-05-19T15:42:43Z</updated>
<author>
<name>Haowen Bai</name>
<email>baihaowen@meizu.com</email>
</author>
<published>2022-05-16T10:20:03Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=37a3929feba82d71f3d3519fb57c25bef8ed281a'/>
<id>urn:sha1:37a3929feba82d71f3d3519fb57c25bef8ed281a</id>
<content type='text'>
container_of() will never return NULL, so remove useless code.

Signed-off-by: Haowen Bai &lt;baihaowen@meizu.com&gt;
Link: https://lore.kernel.org/r/1652696403-17852-1-git-send-email-baihaowen@meizu.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
</feed>
