From: Oleksij Rempel <linux@rempel-privat.de>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] [PATCH] ath9k: add phy.c
Date: Sat, 16 May 2015 07:43:16 +0200 [thread overview]
Message-ID: <5556D8F4.5010509@rempel-privat.de> (raw)
In-Reply-To: <1431754580.15709.55.camel@perches.com>
Am 16.05.2015 um 07:36 schrieb Joe Perches:
> On Sat, 2015-05-16 at 07:27 +0200, Oleksij Rempel wrote:
>
>> Am 15.05.2015 um 20:35 schrieb Joe Perches:
>>> On Fri, 2015-05-15 at 14:35 +0200, Oleksij Rempel wrote:
>>>> ... and move dup code from ar5008_phy.c and ar9002_phy.c to phy.c
>>> []
>>>> diff --git a/drivers/net/wireless/ath/ath9k/phy.c b/drivers/net/wireless/ath/ath9k/phy.c
>>>
>>>> +void phy_hw_spur_mitigate(struct ath_hw *ah,
>>>> + struct ath9k_channel *chan, int bin)
>>>> +{
> []
>>>> + static int inc[4] = { 0, 100, 0, 0 };
>>>
>>> static const
>
>> This is cleanup patch, no fixes optimisations
>> or regressions should be introduced.
>
> Hello Oleksij.
>
> One of the old compilation units (ar9002_phy.c) had const on
> all those arrays, the other did not.
ok, thanks. changed to const version.
> const should be used here.
>
>> If you see some problems in this
>> code, you are welcome to provide a patch on top of this one :)
>
> I think you should take comments on the patches you submit.
What do you mean?
--
Regards,
Oleksij
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 230 bytes
Desc: OpenPGP digital signature
Url : http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20150516/742ce16b/attachment.pgp
next prev parent reply other threads:[~2015-05-16 5:43 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-15 12:35 [ath9k-devel] [PATCH] ath9k: add phy.c Oleksij Rempel
2015-05-15 14:38 ` Julian Calaby
2015-05-15 14:44 ` Sedat Dilek
2015-05-15 18:35 ` Joe Perches
2015-05-16 5:27 ` Oleksij Rempel
2015-05-16 5:36 ` Joe Perches
2015-05-16 5:43 ` Oleksij Rempel [this message]
2015-05-15 19:34 ` Felix Fietkau
2015-05-16 5:24 ` Oleksij Rempel
2015-05-16 5:45 ` Felix Fietkau
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5556D8F4.5010509@rempel-privat.de \
--to=linux@rempel-privat.de \
--cc=ath9k-devel@lists.ath9k.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox