<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux.git/drivers/staging/qlge, branch v5.8</title>
<subtitle>Linux kernel source tree</subtitle>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/'/>
<entry>
<title>staging: qlge: unmap dma when lock failed</title>
<updated>2020-05-19T14:15:39+00:00</updated>
<author>
<name>Xiangyang Zhang</name>
<email>xyz.sun.ok@gmail.com</email>
</author>
<published>2020-05-17T05:46:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=811eb344d5b092c4f4d0e0d61508743894cf2be0'/>
<id>811eb344d5b092c4f4d0e0d61508743894cf2be0</id>
<content type='text'>
DMA not unmapped when lock failed, this patch fixed it.

Signed-off-by: Xiangyang Zhang &lt;xyz.sun.ok@gmail.com&gt;
Fixes: 4322c5bee85e ("qlge: Expand coverage of hw lock for config register.")
Link: https://lore.kernel.org/r/20200517054638.10764-1-xyz.sun.ok@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>
DMA not unmapped when lock failed, this patch fixed it.

Signed-off-by: Xiangyang Zhang &lt;xyz.sun.ok@gmail.com&gt;
Fixes: 4322c5bee85e ("qlge: Expand coverage of hw lock for config register.")
Link: https://lore.kernel.org/r/20200517054638.10764-1-xyz.sun.ok@gmail.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: qlge: Remove unnecessary spaces in qlge_main.c</title>
<updated>2020-05-15T13:47:31+00:00</updated>
<author>
<name>Xiangyang Zhang</name>
<email>xyz.sun.ok@gmail.com</email>
</author>
<published>2020-05-13T13:00:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=ec269f1250c677ae9c1d493d900075ae0c191526'/>
<id>ec269f1250c677ae9c1d493d900075ae0c191526</id>
<content type='text'>
Fix checkpatch.pl check:

  CHECK: No space is necessary after a cast

Signed-off-by: Xiangyang Zhang &lt;xyz.sun.ok@gmail.com&gt;
Link: https://lore.kernel.org/r/20200513130042.13185-1-xyz.sun.ok@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>
Fix checkpatch.pl check:

  CHECK: No space is necessary after a cast

Signed-off-by: Xiangyang Zhang &lt;xyz.sun.ok@gmail.com&gt;
Link: https://lore.kernel.org/r/20200513130042.13185-1-xyz.sun.ok@gmail.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: qlge: Fix function argument alignment warning in ql_init_device</title>
<updated>2020-05-05T10:20:40+00:00</updated>
<author>
<name>Rylan Dmello</name>
<email>mail@rylan.coffee</email>
</author>
<published>2020-04-30T01:35:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=8d8a1424a03e0fe6dff5542a2d412a3836eb87a7'/>
<id>8d8a1424a03e0fe6dff5542a2d412a3836eb87a7</id>
<content type='text'>
Fix checkpatch.pl check:

  CHECK: Alignment should match open parenthesis

Signed-off-by: Rylan Dmello &lt;mail@rylan.coffee&gt;
Link: https://lore.kernel.org/r/12c7c34330b410e4ee8b9b5634f1a50ceb9c3590.1588209862.git.mail@rylan.coffee
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 checkpatch.pl check:

  CHECK: Alignment should match open parenthesis

Signed-off-by: Rylan Dmello &lt;mail@rylan.coffee&gt;
Link: https://lore.kernel.org/r/12c7c34330b410e4ee8b9b5634f1a50ceb9c3590.1588209862.git.mail@rylan.coffee
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: qlge: Fix suspect code indent warning in ql_init_device</title>
<updated>2020-05-05T10:20:40+00:00</updated>
<author>
<name>Rylan Dmello</name>
<email>mail@rylan.coffee</email>
</author>
<published>2020-04-30T01:34:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=2ceed067e85e77852f29a999c2df5dfc4cba2e2f'/>
<id>2ceed067e85e77852f29a999c2df5dfc4cba2e2f</id>
<content type='text'>
Fix checkpatch.pl warnings:

  WARNING: suspect code indent for conditional statements (16, 23)
  WARNING: line over 80 characters

Signed-off-by: Rylan Dmello &lt;mail@rylan.coffee&gt;
Link: https://lore.kernel.org/r/7c07400dbce98d0c4c84aa941da8f34e32616159.1588209862.git.mail@rylan.coffee
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 checkpatch.pl warnings:

  WARNING: suspect code indent for conditional statements (16, 23)
  WARNING: line over 80 characters

Signed-off-by: Rylan Dmello &lt;mail@rylan.coffee&gt;
Link: https://lore.kernel.org/r/7c07400dbce98d0c4c84aa941da8f34e32616159.1588209862.git.mail@rylan.coffee
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: qlge: Remove multi-line dereference from ql_request_irq</title>
<updated>2020-05-05T10:20:40+00:00</updated>
<author>
<name>Rylan Dmello</name>
<email>mail@rylan.coffee</email>
</author>
<published>2020-04-30T01:34:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=4ba1bb9b7a73d1dc88443960c494aaa4c82d5462'/>
<id>4ba1bb9b7a73d1dc88443960c494aaa4c82d5462</id>
<content type='text'>
Fix checkpatch.pl warning:

  WARNING: Avoid multiple line dereference - prefer 'qdev-&gt;flags'

Signed-off-by: Rylan Dmello &lt;mail@rylan.coffee&gt;
Link: https://lore.kernel.org/r/517d71f0cbc55e6880c19a9ff16c2c8ab8913251.1588209862.git.mail@rylan.coffee
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 checkpatch.pl warning:

  WARNING: Avoid multiple line dereference - prefer 'qdev-&gt;flags'

Signed-off-by: Rylan Dmello &lt;mail@rylan.coffee&gt;
Link: https://lore.kernel.org/r/517d71f0cbc55e6880c19a9ff16c2c8ab8913251.1588209862.git.mail@rylan.coffee
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: qlge: Remove goto statements from ql_get_mac_addr_reg</title>
<updated>2020-05-05T10:20:40+00:00</updated>
<author>
<name>Rylan Dmello</name>
<email>mail@rylan.coffee</email>
</author>
<published>2020-04-30T01:33:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=faeea64fb9748002ed2aecff6e5caa01cc829735'/>
<id>faeea64fb9748002ed2aecff6e5caa01cc829735</id>
<content type='text'>
Similar to ql_set_mac_addr_reg, ql_get_mac_addr_reg also has several
goto statements that can be trivially replaced with a break statement.

Signed-off-by: Rylan Dmello &lt;mail@rylan.coffee&gt;
Link: https://lore.kernel.org/r/9339ea49c4f943411adae3b9b5b278ae8bf062e1.1588209862.git.mail@rylan.coffee
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Similar to ql_set_mac_addr_reg, ql_get_mac_addr_reg also has several
goto statements that can be trivially replaced with a break statement.

Signed-off-by: Rylan Dmello &lt;mail@rylan.coffee&gt;
Link: https://lore.kernel.org/r/9339ea49c4f943411adae3b9b5b278ae8bf062e1.1588209862.git.mail@rylan.coffee
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: qlge: Fix indentation in ql_get_mac_addr_reg</title>
<updated>2020-05-05T10:20:40+00:00</updated>
<author>
<name>Rylan Dmello</name>
<email>mail@rylan.coffee</email>
</author>
<published>2020-04-30T01:33:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=58c2a44dbab0e3deea137a15203235ee915f12e1'/>
<id>58c2a44dbab0e3deea137a15203235ee915f12e1</id>
<content type='text'>
This has similar indentation style issues as ql_set_mac_addr_reg, so I
thought I'd re-indent this too.

Fix several checkpatch.pl warnings:

  WARNING: line over 80 characters

Signed-off-by: Rylan Dmello &lt;mail@rylan.coffee&gt;
Link: https://lore.kernel.org/r/b51f21b20514dc5197266a5a52d31c7b85f16741.1588209862.git.mail@rylan.coffee
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 has similar indentation style issues as ql_set_mac_addr_reg, so I
thought I'd re-indent this too.

Fix several checkpatch.pl warnings:

  WARNING: line over 80 characters

Signed-off-by: Rylan Dmello &lt;mail@rylan.coffee&gt;
Link: https://lore.kernel.org/r/b51f21b20514dc5197266a5a52d31c7b85f16741.1588209862.git.mail@rylan.coffee
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: qlge: Remove gotos from ql_set_mac_addr_reg</title>
<updated>2020-05-05T10:20:40+00:00</updated>
<author>
<name>Rylan Dmello</name>
<email>mail@rylan.coffee</email>
</author>
<published>2020-04-30T01:33:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=7c40ba652cf706789a19bfe38c551d9782ab6ed4'/>
<id>7c40ba652cf706789a19bfe38c551d9782ab6ed4</id>
<content type='text'>
As suggested by Joe Perches, this patch removes the 'exit' label
from the ql_set_mac_addr_reg function and replaces the goto
statements with break statements.

Signed-off-by: Rylan Dmello &lt;mail@rylan.coffee&gt;
Reviewed-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Link: https://lore.kernel.org/r/a6f485e43eb55e8fdc64a7a346cb0419b55c3cb6.1588209862.git.mail@rylan.coffee
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As suggested by Joe Perches, this patch removes the 'exit' label
from the ql_set_mac_addr_reg function and replaces the goto
statements with break statements.

Signed-off-by: Rylan Dmello &lt;mail@rylan.coffee&gt;
Reviewed-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Link: https://lore.kernel.org/r/a6f485e43eb55e8fdc64a7a346cb0419b55c3cb6.1588209862.git.mail@rylan.coffee
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: qlge: Fix indentation in ql_set_mac_addr_reg</title>
<updated>2020-05-05T10:20:39+00:00</updated>
<author>
<name>Rylan Dmello</name>
<email>mail@rylan.coffee</email>
</author>
<published>2020-04-30T01:32:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=7d9a39e01d8c8c719590815aaeeda5dbf6e7fae5'/>
<id>7d9a39e01d8c8c719590815aaeeda5dbf6e7fae5</id>
<content type='text'>
Based on Joe Perches' feedback, fix the indentation throughout
ql_set_mac_addr_reg. This helps fix several "line over 80 characters"
warnings along with the original "multiple line dereference" warning.

Fix checkpatch.pl warnings:

  WARNING: Avoid multiple line dereference - prefer 'qdev-&gt;func'
  WARNING: line over 80 characters

Signed-off-by: Rylan Dmello &lt;mail@rylan.coffee&gt;
Link: https://lore.kernel.org/r/299f2cb3b7d4efa30b44d4d1defbcd5f54bd7eaf.1588209862.git.mail@rylan.coffee
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Based on Joe Perches' feedback, fix the indentation throughout
ql_set_mac_addr_reg. This helps fix several "line over 80 characters"
warnings along with the original "multiple line dereference" warning.

Fix checkpatch.pl warnings:

  WARNING: Avoid multiple line dereference - prefer 'qdev-&gt;func'
  WARNING: line over 80 characters

Signed-off-by: Rylan Dmello &lt;mail@rylan.coffee&gt;
Link: https://lore.kernel.org/r/299f2cb3b7d4efa30b44d4d1defbcd5f54bd7eaf.1588209862.git.mail@rylan.coffee
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: qlge: Remove print statements for lbq_clean_idx and lbq_free_cnt</title>
<updated>2020-04-28T12:25:26+00:00</updated>
<author>
<name>Rylan Dmello</name>
<email>mail@rylan.coffee</email>
</author>
<published>2020-04-27T04:15:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=5fa83c2566660956e6556e1090e24c642eb93822'/>
<id>5fa83c2566660956e6556e1090e24c642eb93822</id>
<content type='text'>
Remove debug print statements referring to non-existent fields
'lbq_clean_idx' and 'lbq_free_cnt' in the 'rx_ring' struct, which causes
a compilation failure when QL_DEV_DUMP is set.

These fields were initially removed as a part of commit aec626d2092f
("staging: qlge: Update buffer queue prod index despite oom") in 2019.

Their replacement fields ('next_to_use' and 'next_to_clean') are already
being printed, so this patch does not add new debug statements for them.

Signed-off-by: Rylan Dmello &lt;mail@rylan.coffee&gt;
Link: https://lore.kernel.org/r/aa7e0197f4e34cec0855124e45696e33dd9527e5.1587959245.git.mail@rylan.coffee
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove debug print statements referring to non-existent fields
'lbq_clean_idx' and 'lbq_free_cnt' in the 'rx_ring' struct, which causes
a compilation failure when QL_DEV_DUMP is set.

These fields were initially removed as a part of commit aec626d2092f
("staging: qlge: Update buffer queue prod index despite oom") in 2019.

Their replacement fields ('next_to_use' and 'next_to_clean') are already
being printed, so this patch does not add new debug statements for them.

Signed-off-by: Rylan Dmello &lt;mail@rylan.coffee&gt;
Link: https://lore.kernel.org/r/aa7e0197f4e34cec0855124e45696e33dd9527e5.1587959245.git.mail@rylan.coffee
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
