<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/drivers/net/wireless/ath/ath6kl/debug.h, branch linux-rolling-stable</title>
<subtitle>Hosts the 0x221E linux distro kernel.</subtitle>
<id>https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-rolling-stable</id>
<link rel='self' href='https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-rolling-stable'/>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/'/>
<updated>2017-04-13T12:43:39Z</updated>
<entry>
<title>ath6kl: add __printf verification to ath6kl_dbg</title>
<updated>2017-04-13T12:43:39Z</updated>
<author>
<name>Joe Perches</name>
<email>joe@perches.com</email>
</author>
<published>2017-03-30T22:57:23Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=169345d40d0fa05c4fdcec67835b008d24cfcf26'/>
<id>urn:sha1:169345d40d0fa05c4fdcec67835b008d24cfcf26</id>
<content type='text'>
Fix fallout too.

Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Reviewed-by: Steve deRosier &lt;derosier@gmail.com&gt;
Signed-off-by: Kalle Valo &lt;kvalo@qca.qualcomm.com&gt;
</content>
</entry>
<entry>
<title>ath6kl: break stats gathering code into separate method</title>
<updated>2015-10-29T11:06:58Z</updated>
<author>
<name>Ben Greear</name>
<email>greearb@candelatech.com</email>
</author>
<published>2015-10-22T16:07:38Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=0370248379579aa0274c8f14f2d9af1f32388104'/>
<id>urn:sha1:0370248379579aa0274c8f14f2d9af1f32388104</id>
<content type='text'>
This will allow us to call it from elsewhere when implementing
ethtool stats.

Signed-off-by: Ben Greear &lt;greearb@candelatech.com&gt;
Signed-off-by: Kalle Valo &lt;kvalo@qca.qualcomm.com&gt;
</content>
</entry>
<entry>
<title>ath: change logging functions to return void</title>
<updated>2014-09-29T11:29:23Z</updated>
<author>
<name>Joe Perches</name>
<email>joe@perches.com</email>
</author>
<published>2014-09-22T17:35:34Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=babcb3edd942927091ef5e5b284ffc657c652023'/>
<id>urn:sha1:babcb3edd942927091ef5e5b284ffc657c652023</id>
<content type='text'>
The return values are not used by callers of these functions
so change the functions to return void.

Other miscellanea:

o add __printf verification to wil6210 logging functions
  No format/argument mismatches found

Acked-by: Vladimir Kondratiev &lt;qca_vkondrat@qca.qualcomm.com&gt;
Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Signed-off-by: Kalle Valo &lt;kvalo@qca.qualcomm.com&gt;
</content>
</entry>
<entry>
<title>ath6kl: fix blank lines before and after braces</title>
<updated>2014-03-13T05:46:31Z</updated>
<author>
<name>Kalle Valo</name>
<email>kvalo@qca.qualcomm.com</email>
</author>
<published>2014-03-11T10:58:01Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=3629fa14388dbfcb150f5178a018b7eb265a1189'/>
<id>urn:sha1:3629fa14388dbfcb150f5178a018b7eb265a1189</id>
<content type='text'>
Fixes checkpatch warnings:

CHECK: Blank lines aren't necessary after an open brace '{'
CHECK: Blank lines aren't necessary before a close brace '}'

Signed-off-by: Kalle Valo &lt;kvalo@qca.qualcomm.com&gt;
</content>
</entry>
<entry>
<title>ath: Remove extern from function prototypes</title>
<updated>2013-09-24T23:52:29Z</updated>
<author>
<name>Joe Perches</name>
<email>joe@perches.com</email>
</author>
<published>2013-09-23T18:37:59Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=a3dabaf02d36dbb4051188b706a3e66e6465c56b'/>
<id>urn:sha1:a3dabaf02d36dbb4051188b706a3e66e6465c56b</id>
<content type='text'>
There are a mix of function prototypes with and without extern
in the kernel sources.  Standardize on not using extern for
function prototypes.

Function prototypes don't need to be written with extern.
extern is assumed by the compiler.  Its use is as unnecessary as
using auto to declare automatic/local variables in a block.

Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
</content>
</entry>
<entry>
<title>ath6kl: add tracing support to log functions</title>
<updated>2013-03-18T11:44:16Z</updated>
<author>
<name>Kalle Valo</name>
<email>kvalo@qca.qualcomm.com</email>
</author>
<published>2013-03-18T11:42:22Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=da01d53cfb8a7e23121572004336723d64d3ace6'/>
<id>urn:sha1:da01d53cfb8a7e23121572004336723d64d3ace6</id>
<content type='text'>
All log messages are now sent through tracing interface as well if
ATH6KL_TRACING is enabled.

Signed-off-by: Kalle Valo &lt;kvalo@qca.qualcomm.com&gt;
</content>
</entry>
<entry>
<title>ath6kl: convert ath6kl_info/err/warn macros to real functions</title>
<updated>2013-03-18T11:42:21Z</updated>
<author>
<name>Kalle Valo</name>
<email>kvalo@qca.qualcomm.com</email>
</author>
<published>2013-03-18T11:42:21Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=d470b4bcc18a8209972f85a257631e96c3cad3a4'/>
<id>urn:sha1:d470b4bcc18a8209972f85a257631e96c3cad3a4</id>
<content type='text'>
After this it's cleaner to add trace calls.

Signed-off-by: Kalle Valo &lt;kvalo@qca.qualcomm.com&gt;
</content>
</entry>
<entry>
<title>ath6kl: Recover from fw crash</title>
<updated>2012-10-24T08:49:48Z</updated>
<author>
<name>Vasanthakumar Thiagarajan</name>
<email>vthiagar@qca.qualcomm.com</email>
</author>
<published>2012-08-29T14:10:26Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=84caf8005b09e0a4a57fce44119489d1b0bbbe94'/>
<id>urn:sha1:84caf8005b09e0a4a57fce44119489d1b0bbbe94</id>
<content type='text'>
Re-initialize the target when fw crash is reported.
This would make the device functional again after
target crash. During the target re-initialization
it is made sure that target is not bugged with data/cmd
request, ar-&gt;state ATH6KL_STATE_RECOVERY is used
for this purpose.

Signed-off-by: Vasanthakumar Thiagarajan &lt;vthiagar@qca.qualcomm.com&gt;
Signed-off-by: Kalle Valo &lt;kvalo@qca.qualcomm.com&gt;
</content>
</entry>
<entry>
<title>ath6kl: add full USB support</title>
<updated>2012-03-26T13:36:46Z</updated>
<author>
<name>Kalle Valo</name>
<email>kvalo@qca.qualcomm.com</email>
</author>
<published>2012-03-25T14:15:29Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=9cbee358687edf0359e29ac683ec25835134f059'/>
<id>urn:sha1:9cbee358687edf0359e29ac683ec25835134f059</id>
<content type='text'>
Now, with HTC pipe, it's possible to fully support USB version of AR6004.

Based on code by Kevin Fang.

Signed-off-by: Kalle Valo &lt;kvalo@qca.qualcomm.com&gt;
</content>
</entry>
<entry>
<title>ath6kl: Fix kernel panic while receiving fwlog during boot</title>
<updated>2012-03-06T15:53:54Z</updated>
<author>
<name>Vasanthakumar Thiagarajan</name>
<email>vthiagar@qca.qualcomm.com</email>
</author>
<published>2012-03-06T09:09:40Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=068a4633bf42501db3ec934beff07cd50c1b7e9d'/>
<id>urn:sha1:068a4633bf42501db3ec934beff07cd50c1b7e9d</id>
<content type='text'>
"ath6kl: Defer wiphy and netdev registration till the end of ath6kl_core_init()"
causes kernel panic by accessing the unallocated debug resources during
boot time. To fix this, split the debug initialization funtion into two,
one initializes the debug resource and the other takes care of debugfs
initialization. When this issue shows up the kernel crash dump would
look like

 ath6kl_debug_fwlog_event+0x9c/0x10a
 [&lt;c10666c9&gt;] register_lock_class+0x57/0x288
 [&lt;c1065cd3&gt;] ? trace_hardirqs_on+0xb/0xd
 [&lt;f801f4c9&gt;] ? ath6kl_debug_fwlog_event+0x9c/0x10a
 [&lt;c1066a8a&gt;] __lock_acquire+0x96/0xbe5
 [&lt;c106007b&gt;] ? alarmtimer_suspend+0x80/0x127
 [&lt;c10258da&gt;] ? vprintk+0x394/0x3b1
 [&lt;f801f4c9&gt;] ? ath6kl_debug_fwlog_event+0x9c/0x10a
 [&lt;c10676b3&gt;] lock_acquire+0xda/0xf9
 [&lt;f801f4c9&gt;] ? ath6kl_debug_fwlog_event+0x9c/0x10a
 [&lt;c1532ce3&gt;] _raw_spin_lock+0x28/0x58
 [&lt;f801f4c9&gt;] ? ath6kl_debug_fwlog_event+0x9c/0x10a
 [&lt;f801f4c9&gt;] ath6kl_debug_fwlog_event+0x9c/0x10a
 [&lt;f80310a4&gt;] ath6kl_wmi_control_rx+0x69d/0xb50 [ath6kl_core]
 [&lt;f802d2e1&gt;] ? ath6kl_rx+0x3c/0x839 [ath6kl_core]
 [&lt;f802d35d&gt;] ath6kl_rx+0xb8/0x839 [ath6kl_core]
 [&lt;c104b81e&gt;] ? local_clock+0x2d/0x4e
 [&lt;c102a0af&gt;] ? _local_bh_enable_ip+0x94/0x98
 [&lt;f802bfc0&gt;] ? ath6kl_alloc_amsdu_rxbuf+0xb7/0xb7
 [&lt;f8023b28&gt;] ath6kl_htc_rxmsg_pending_handler+0x891/0x988 [ath6kl_core]
 [&lt;f802bf00&gt;] ? ath6kl_refill_amsdu_rxbufs+0x89/0x92
 [&lt;f802d2a5&gt;] ? aggr_timeout+0xed/0xed [ath6kl_core]
 [&lt;f802bfc0&gt;] ? ath6kl_alloc_amsdu_rxbuf+0xb7/0xb7
 [&lt;f802c420&gt;] ? ath6kl_tx_complete+0x376/0x376 [ath6kl_core]
 [&lt;f8020e92&gt;] ath6kl_hif_intr_bh_handler+0xf7/0x33e
 [&lt;c138ab00&gt;] ? mmc_host_disable+0x15/0x3a
 [&lt;f8123b5c&gt;] ath6kl_sdio_irq_handler+0x3c/0x90 [ath6kl_sdio]
 [&lt;c1392f56&gt;] sdio_irq_thread+0xb6/0x29c
 [&lt;c1392ea0&gt;] ? sdio_claim_irq+0x1cb/0x1cb
 [&lt;c103d4c0&gt;] kthread+0x67/0x6c
 [&lt;c103d459&gt;] ? __init_kthread_worker+0x42/0x42
 [&lt;c153903a&gt;] kernel_thread_helper+0x6/0xd
 BUG: unable to handle kernel NULL pointer dereference at
EIP: [&lt;f801f4d4&gt;] ath6kl_debug_fwlog_event+0xa7/0x10a

kvalo: rename new function to ath6kl_debug_init_fs() and add a comment
why it's needed

Reported-by: Kalle Valo &lt;kvalo@qca.qualcomm.com&gt;
Signed-off-by: Vasanthakumar Thiagarajan &lt;vthiagar@qca.qualcomm.com&gt;
Signed-off-by: Kalle Valo &lt;kvalo@qca.qualcomm.com&gt;
</content>
</entry>
</feed>
