wifi: ath9k: Fix typo
PATCH 1/1 wifi: ath9k: Fix typo
This only worked by chance, because all callers of this macro used the same identifiers that were expected by the macro.
$ grep -rn ath_for_each_chanctx
drivers/net/wireless/ath/ath9k/main.c:1576: ath_for_each_chanctx(sc, ctx)
drivers/net/wireless/ath/ath9k/main.c:2554: ath_for_each_chanctx(sc, ctx) {
drivers/net/wireless/ath/ath9k/channel.c:165: ath_for_each_chanctx(sc, ctx) {
drivers/net/wireless/ath/ath9k/channel.c:291: ath_for_each_chanctx(sc, ctx) {
drivers/net/wireless/ath/ath9k/channel.c:861: ath_for_each_chanctx(sc, ctx) {
drivers/net/wireless/ath/ath9k/debug.c:717: ath_for_each_chanctx(sc, ctx) {
drivers/net/wireless/ath/ath9k/ath9k.h:446:#define ath_for_each_chanctx(_sc, _ctx) \---
Hi!
I haven't build-tested the patch. It should obviously work, but please check. I just realized about it while doing something else, and thought I should send a quick fix.
Have a lovely night!
Alex
drivers/net/wireless/ath/ath9k/ath9k.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/wireless/ath/ath9k/ath9k.h +1 -1
@@ -443,7 +443,7 @@ ath_node_to_tid(struct ath_node *an, u8 tidno)#define case_rtn_string (val) case val: return #val -#define ath_for_each_chanctx (_sc, _ctx) \ +#define ath_for_each_chanctx (sc, ctx) \ for (ctx = &sc->chanctx[0]; \ ctx <= &sc->chanctx[ARRAY_SIZE(sc->chanctx) - 1]; \ ctx++)
Range-diff against v0:
-: ------------ > 1: 6ab107cf786f wifi: ath9k: Fix typo
Signature · 1 line
2.51.0
Quoted 12 lines · Alejandro Colomar
This only worked by chance, because all callers of this macro used the same identifiers that were expected by the macro.
$ grep -rn ath_for_each_chanctx drivers/net/wireless/ath/ath9k/main.c:1576: ath_for_each_chanctx(sc, ctx) drivers/net/wireless/ath/ath9k/main.c:2554: ath_for_each_chanctx(sc, ctx) { drivers/net/wireless/ath/ath9k/channel.c:165: ath_for_each_chanctx(sc, ctx) { drivers/net/wireless/ath/ath9k/channel.c:291: ath_for_each_chanctx(sc, ctx) { drivers/net/wireless/ath/ath9k/channel.c:861: ath_for_each_chanctx(sc, ctx) { drivers/net/wireless/ath/ath9k/debug.c:717: ath_for_each_chanctx(sc, ctx) { drivers/net/wireless/ath/ath9k/ath9k.h:446:#define ath_for_each_chanctx(_sc, _ctx) \
Quoted 5 lines
Fixes c4dc0d040e35 (2014-06-19; "ath9k: Fetch appropriate operating channel context")Cc Rajkumar Manoharan <[email protected]>Cc John W. Linville <[email protected]>Cc Toke Høiland-Jørgensen <[email protected]>Signed-off-by Alejandro Colomar <[email protected]>
Yeah, looks reasonable - thanks!
Quoted 14 lines · Toke Høiland-Jørgensen
Quoted 12 lines · Alejandro Colomar
This only worked by chance, because all callers of this macro used the same identifiers that were expected by the macro.
$ grep -rn ath_for_each_chanctx drivers/net/wireless/ath/ath9k/main.c:1576: ath_for_each_chanctx(sc, ctx) drivers/net/wireless/ath/ath9k/main.c:2554: ath_for_each_chanctx(sc, ctx) { drivers/net/wireless/ath/ath9k/channel.c:165: ath_for_each_chanctx(sc, ctx) { drivers/net/wireless/ath/ath9k/channel.c:291: ath_for_each_chanctx(sc, ctx) { drivers/net/wireless/ath/ath9k/channel.c:861: ath_for_each_chanctx(sc, ctx) { drivers/net/wireless/ath/ath9k/debug.c:717: ath_for_each_chanctx(sc, ctx) { drivers/net/wireless/ath/ath9k/ath9k.h:446:#define ath_for_each_chanctx(_sc, _ctx) \
Quoted 1 line
Quoted 1 line
Fixes c4dc0d040e35 (2014-06-19; "ath9k: Fetch appropriate operating channel context")
I'm dropping the Fixes tag since the existing code actually works and hence there is no need to backport to LTS kernels.
Quoted 9 lines
Quoted 4 lines
Cc Rajkumar Manoharan <[email protected]>Cc John W. Linville <[email protected]>Cc Toke Høiland-Jørgensen <[email protected]>Signed-off-by Alejandro Colomar <[email protected]>Yeah, looks reasonable - thanks!
Hi Jeff,
Quoted 15 lines · Jeff Johnson
Quoted 14 lines · Toke Høiland-Jørgensen
Quoted 12 lines · Alejandro Colomar
This only worked by chance, because all callers of this macro used the same identifiers that were expected by the macro.
$ grep -rn ath_for_each_chanctx drivers/net/wireless/ath/ath9k/main.c:1576: ath_for_each_chanctx(sc, ctx) drivers/net/wireless/ath/ath9k/main.c:2554: ath_for_each_chanctx(sc, ctx) { drivers/net/wireless/ath/ath9k/channel.c:165: ath_for_each_chanctx(sc, ctx) { drivers/net/wireless/ath/ath9k/channel.c:291: ath_for_each_chanctx(sc, ctx) { drivers/net/wireless/ath/ath9k/channel.c:861: ath_for_each_chanctx(sc, ctx) { drivers/net/wireless/ath/ath9k/debug.c:717: ath_for_each_chanctx(sc, ctx) { drivers/net/wireless/ath/ath9k/ath9k.h:446:#define ath_for_each_chanctx(_sc, _ctx) \
Quoted 4 lines
Quoted 1 line
Quoted 1 line
Fixes c4dc0d040e35 (2014-06-19; "ath9k: Fetch appropriate operating channel context")I'm dropping the Fixes tag since the existing code actually works and hence there is no need to backport to LTS kernels.
Sounds reasonable. Alternatively, a line next to it saying
[Do not backport]
would work, I guess.
Greg, I've seen this situation already a few times. A Fixes tag getting removed to avoid triggering a stable backport. But I think keeping the Fixes tag could be useful. Should we have a standard way to document that a patch fixes an old commit without meaning that it should be backported? Maybe something like this?:
[Do not backport to stable] Fixes: ...
In any case, feel free to remove it.
Have a lovely night!
Alex
Quoted 11 lines
Quoted 10 lines
Quoted 5 lines
Cc Rajkumar Manoharan <[email protected]>Cc John W. Linville <[email protected]>Cc Toke Høiland-Jørgensen <[email protected]>Signed-off-by Alejandro Colomar <[email protected]>Yeah, looks reasonable - thanks!
Signature · 1 line
<https://www.alejandro-colomar.es>
Quoted 35 lines · Alejandro Colomar
Hi Jeff,
Quoted 15 lines · Jeff Johnson
Quoted 14 lines · Toke Høiland-Jørgensen
Quoted 12 lines · Alejandro Colomar
This only worked by chance, because all callers of this macro used the same identifiers that were expected by the macro.
$ grep -rn ath_for_each_chanctx drivers/net/wireless/ath/ath9k/main.c:1576: ath_for_each_chanctx(sc, ctx) drivers/net/wireless/ath/ath9k/main.c:2554: ath_for_each_chanctx(sc, ctx) { drivers/net/wireless/ath/ath9k/channel.c:165: ath_for_each_chanctx(sc, ctx) { drivers/net/wireless/ath/ath9k/channel.c:291: ath_for_each_chanctx(sc, ctx) { drivers/net/wireless/ath/ath9k/channel.c:861: ath_for_each_chanctx(sc, ctx) { drivers/net/wireless/ath/ath9k/debug.c:717: ath_for_each_chanctx(sc, ctx) { drivers/net/wireless/ath/ath9k/ath9k.h:446:#define ath_for_each_chanctx(_sc, _ctx) \Quoted 4 lines
Quoted 1 line
Quoted 1 line
Fixes c4dc0d040e35 (2014-06-19; "ath9k: Fetch appropriate operating channel context")I'm dropping the Fixes tag since the existing code actually works and hence there is no need to backport to LTS kernels.
Sounds reasonable. Alternatively, a line next to it saying
[Do not backport]
would work, I guess.
Greg, I've seen this situation already a few times. A Fixes tag getting removed to avoid triggering a stable backport. But I think keeping the Fixes tag could be useful. Should we have a standard way to document that a patch fixes an old commit without meaning that it should be backported? Maybe something like this?:
Quoted 4 lines
[Do not backport to stable] Fixes: ...In any case, feel free to remove it.
Looks like we have this:
There furthermore is a variant of the stable tag you can use to make the stable team’s backporting tools (e.g AUTOSEL or scripts that look for commits containing a ‘Fixes:’ tag) ignore a change:
Cc: <[email protected]> # reason goes here, and must be present
https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html#option-1
Do you want to re-spin with that?
/jeff
Hi Jeff,
Quoted 47 lines · Jeff Johnson
Quoted 35 lines · Alejandro Colomar
Hi Jeff,
Quoted 15 lines · Jeff Johnson
Quoted 14 lines · Toke Høiland-Jørgensen
Quoted 12 lines · Alejandro Colomar
This only worked by chance, because all callers of this macro used the same identifiers that were expected by the macro.
$ grep -rn ath_for_each_chanctx drivers/net/wireless/ath/ath9k/main.c:1576: ath_for_each_chanctx(sc, ctx) drivers/net/wireless/ath/ath9k/main.c:2554: ath_for_each_chanctx(sc, ctx) { drivers/net/wireless/ath/ath9k/channel.c:165: ath_for_each_chanctx(sc, ctx) { drivers/net/wireless/ath/ath9k/channel.c:291: ath_for_each_chanctx(sc, ctx) { drivers/net/wireless/ath/ath9k/channel.c:861: ath_for_each_chanctx(sc, ctx) { drivers/net/wireless/ath/ath9k/debug.c:717: ath_for_each_chanctx(sc, ctx) { drivers/net/wireless/ath/ath9k/ath9k.h:446:#define ath_for_each_chanctx(_sc, _ctx) \Quoted 4 lines
Quoted 1 line
Quoted 1 line
Fixes c4dc0d040e35 (2014-06-19; "ath9k: Fetch appropriate operating channel context")I'm dropping the Fixes tag since the existing code actually works and hence there is no need to backport to LTS kernels.
Sounds reasonable. Alternatively, a line next to it saying
[Do not backport]
would work, I guess.
Greg, I've seen this situation already a few times. A Fixes tag getting removed to avoid triggering a stable backport. But I think keeping the Fixes tag could be useful. Should we have a standard way to document that a patch fixes an old commit without meaning that it should be backported? Maybe something like this?:
Quoted 4 lines
[Do not backport to stable] Fixes: ...In any case, feel free to remove it.
Looks like we have this:
There furthermore is a variant of the stable tag you can use to make the stable team’s backporting tools (e.g AUTOSEL or scripts that look for commits containing a ‘Fixes:’ tag) ignore a change:
Cc: <[email protected]> # reason goes here, and must be present
Quoted 3 lines
https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html#option-1
Do you want to re-spin with that?
Would you mind amending to include the following tag?:
I don't know where I keep the patch, so I'd have to apply it from the email to resend. Could you amend it yourself?
Have a lovely night!
Alex
Quoted 2 lines
/jeff
Signature · 1 line
<https://www.alejandro-colomar.es>
Quoted 52 lines · Alejandro Colomar
Hi Jeff,
Quoted 49 lines · Jeff Johnson
Quoted 35 lines · Alejandro Colomar
Hi Jeff,
Quoted 15 lines · Jeff Johnson
Quoted 14 lines · Toke Høiland-Jørgensen
Quoted 12 lines · Alejandro Colomar
This only worked by chance, because all callers of this macro used the same identifiers that were expected by the macro.
$ grep -rn ath_for_each_chanctx drivers/net/wireless/ath/ath9k/main.c:1576: ath_for_each_chanctx(sc, ctx) drivers/net/wireless/ath/ath9k/main.c:2554: ath_for_each_chanctx(sc, ctx) { drivers/net/wireless/ath/ath9k/channel.c:165: ath_for_each_chanctx(sc, ctx) { drivers/net/wireless/ath/ath9k/channel.c:291: ath_for_each_chanctx(sc, ctx) { drivers/net/wireless/ath/ath9k/channel.c:861: ath_for_each_chanctx(sc, ctx) { drivers/net/wireless/ath/ath9k/debug.c:717: ath_for_each_chanctx(sc, ctx) { drivers/net/wireless/ath/ath9k/ath9k.h:446:#define ath_for_each_chanctx(_sc, _ctx) \Quoted 4 lines
Quoted 1 line
Quoted 1 line
Fixes c4dc0d040e35 (2014-06-19; "ath9k: Fetch appropriate operating channel context")I'm dropping the Fixes tag since the existing code actually works and hence there is no need to backport to LTS kernels.
Sounds reasonable. Alternatively, a line next to it saying
[Do not backport]
would work, I guess.
Greg, I've seen this situation already a few times. A Fixes tag getting removed to avoid triggering a stable backport. But I think keeping the Fixes tag could be useful. Should we have a standard way to document that a patch fixes an old commit without meaning that it should be backported? Maybe something like this?:
Quoted 4 lines
[Do not backport to stable] Fixes: ...In any case, feel free to remove it.
Looks like we have this:
There furthermore is a variant of the stable tag you can use to make the stable team’s backporting tools (e.g AUTOSEL or scripts that look for commits containing a ‘Fixes:’ tag) ignore a change:
Cc: <[email protected]> # reason goes here, and must be presenthttps://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html#option-1
Quoted 8 lines
Quoted 1 line
Do you want to re-spin with that?
Would you mind amending to include the following tag?:
Cc <[email protected]> # the code worked by chanceI don't know where I keep the patch, so I'd have to apply it from the email to resend. Could you amend it yourself?
sure, I'll amend the patch in my pending branch
/jeff
Quoted 55 lines · Jeff Johnson
Quoted 54 lines · Alejandro Colomar
Hi Jeff,
Quoted 50 lines · Jeff Johnson
Quoted 35 lines · Alejandro Colomar
Hi Jeff,
Quoted 15 lines · Jeff Johnson
Quoted 14 lines · Toke Høiland-Jørgensen
Quoted 12 lines · Alejandro Colomar
This only worked by chance, because all callers of this macro used the same identifiers that were expected by the macro.
$ grep -rn ath_for_each_chanctx drivers/net/wireless/ath/ath9k/main.c:1576: ath_for_each_chanctx(sc, ctx) drivers/net/wireless/ath/ath9k/main.c:2554: ath_for_each_chanctx(sc, ctx) { drivers/net/wireless/ath/ath9k/channel.c:165: ath_for_each_chanctx(sc, ctx) { drivers/net/wireless/ath/ath9k/channel.c:291: ath_for_each_chanctx(sc, ctx) { drivers/net/wireless/ath/ath9k/channel.c:861: ath_for_each_chanctx(sc, ctx) { drivers/net/wireless/ath/ath9k/debug.c:717: ath_for_each_chanctx(sc, ctx) { drivers/net/wireless/ath/ath9k/ath9k.h:446:#define ath_for_each_chanctx(_sc, _ctx) \Quoted 4 lines
Quoted 1 line
Quoted 1 line
Fixes c4dc0d040e35 (2014-06-19; "ath9k: Fetch appropriate operating channel context")I'm dropping the Fixes tag since the existing code actually works and hence there is no need to backport to LTS kernels.
Sounds reasonable. Alternatively, a line next to it saying
[Do not backport]
would work, I guess.
Greg, I've seen this situation already a few times. A Fixes tag getting removed to avoid triggering a stable backport. But I think keeping the Fixes tag could be useful. Should we have a standard way to document that a patch fixes an old commit without meaning that it should be backported? Maybe something like this?:
Quoted 4 lines
[Do not backport to stable] Fixes: ...In any case, feel free to remove it.
Looks like we have this:
There furthermore is a variant of the stable tag you can use to make the stable team’s backporting tools (e.g AUTOSEL or scripts that look for commits containing a ‘Fixes:’ tag) ignore a change:
Cc: <[email protected]> # reason goes here, and must be presenthttps://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html#option-1
Do you want to re-spin with that?
Quoted 8 lines
Quoted 6 lines
Would you mind amending to include the following tag?:
Cc <[email protected]> # the code worked by chanceI don't know where I keep the patch, so I'd have to apply it from the email to resend. Could you amend it yourself?
sure, I'll amend the patch in my pending branch
I've also updated the Fixes tag to meet the expected format...
Quoted 2 lines
/jeff
Hi Jeff, Greg,
Quoted 4 lines · Jeff Johnson
Quoted 4 lines
Quoted 2 lines
I don't know where I keep the patch, so I'd have to apply it from the email to resend. Could you amend it yourself?
sure, I'll amend the patch in my pending branch
Thanks!
Quoted 2 lines
I've also updated the Fixes tag to meet the expected format...
Fixes c4dc0d040e35 ("ath9k: Fetch appropriate operating channel context")
Greg, I CCed you in the man-pages thread where I discussed adding the commit date to the Fixes tags. I was interested in your opinion, and also think this could be useful in the kernel.
Do you have any opinion about this? Should I send a mail to some kernel mailing list to propose its use in the kernel?
The format I used is documented in the Linux man-pages here:
<https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git/tree/CONTRIBUTING.d/patches/trailer#n16>
Fixes
Add 'Fixes:' tags as necessary. 'Fixes:' trailer fields should have the following format.
where the author date is optional, and only included if it's somehow important. The commit date is often more important, as it's sorted, and thus can be used to find (with a binary search) a commit whose hash and subject may have collisions. For example:
See <CONTRIBUTING.d/git> for how to configure the alias.ref and alias.ref2 git aliases. The commit references can be produced with them.
$ git ref bb509e6fc
bb509e6fcbae (2020-10-16; "kernel_lockdown.7: New page documenting the Kernel Lockdown feature")
and here:
<https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git/tree/CONTRIBUTING.d/git#n46>
alias.ref, alias.ref2
To produce git commit references, the following git aliases are
useful.
$ git config --global alias.ref \
"show -s --format=tformat:'%C(auto)%h (%cs%x3B \"%s\")%C(reset)'"
$ git config --global alias.ref2 \
"show -s --format=tformat:'%C(auto)%h (%as, %cs%x3B \"%s\")%C(reset)'"
core.abbrev
Use 12 characters in abbreviated hashes.
$ git config --global core.abbrev 12The Fixes tag I used in this particular patch was
Have a lovely night!
Alex
Quoted 4 lines
Quoted 3 lines
/jeff
Signature · 1 line
<https://www.alejandro-colomar.es>
Quoted 63 lines · Alejandro Colomar
Hi Jeff, Greg,
Quoted 4 lines · Jeff Johnson
Quoted 4 lines
Quoted 2 lines
I don't know where I keep the patch, so I'd have to apply it from the email to resend. Could you amend it yourself?
sure, I'll amend the patch in my pending branch
Thanks!
Quoted 2 lines
I've also updated the Fixes tag to meet the expected format...
Fixes c4dc0d040e35 ("ath9k: Fetch appropriate operating channel context")Greg, I CCed you in the man-pages thread where I discussed adding the commit date to the Fixes tags. I was interested in your opinion, and also think this could be useful in the kernel.
Do you have any opinion about this? Should I send a mail to some kernel mailing list to propose its use in the kernel?
The format I used is documented in the Linux man-pages here:
<https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git/tree/CONTRIBUTING.d/patches/trailer#n16>Fixes
Add 'Fixes:' tags as necessary. 'Fixes:' trailer fields should have the following format.Fixes 12-char-hash ([author-date,] commit-date; "subject")where the author date is optional, and only included if it's somehow important. The commit date is often more important, as it's sorted, and thus can be used to find (with a binary search) a commit whose hash and subject may have collisions. For example:
Fixes bb509e6fcbae (2020-10-16; "kernel_lockdown.7: New page documenting the Kernel Lockdown feature")See <CONTRIBUTING.d/git> for how to configure the alias.ref and alias.ref2 git aliases. The commit references can be produced with them.
$ git ref
bb509e6fc
bb509e6fcbae(2020-10-16; "kernel_lockdown.7: New page documenting the Kernel Lockdown feature")and here:
<https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git/tree/CONTRIBUTING.d/git#n46>alias.ref, alias.ref2 To produce git commit references, the following git aliases are useful. $ git config --global alias.ref \ "show -s --format=tformat:'%C(auto)%h (%cs%x3B \"%s\")%C(reset)'" $ git config --global alias.ref2 \ "show -s --format=tformat:'%C(auto)%h (%as, %cs%x3B \"%s\")%C(reset)'" core.abbrev Use 12 characters in abbreviated hashes. $ git config --global core.abbrev 12
Quoted 3 lines
The Fixes tag I used in this particular patch was
Fixes c4dc0d040e35 (2014-06-19; "ath9k: Fetch appropriate operating channel context")
This format doesn't conform to the format described in:
https://www.kernel.org/doc/html/latest/process/submitting-patches.html
And it fails scripts/checkpatch.pl
Review the comments from when a similar change was proposed (including a response from Greg):
https://lore.kernel.org/all/[email protected]/
And referencing a project which you authored as an example of how to do things doesn't give much credibility. Please follow Linux kernel style.
/jeff
Hi Jeff,
Quoted 8 lines · Jeff Johnson
This format doesn't conform to the format described in:
https://www.kernel.org/doc/html/latest/process/submitting-patches.htmlAnd it fails
scripts/checkpatch.plReview the comments from when a similar change was proposed (including a response from Greg):
https://lore.kernel.org/all/[email protected]/
Thanks! I'll reply there.
Quoted 3 lines
And referencing a project which you authored as an example of how to do things doesn't give much credibility. Please follow Linux kernel style.
Sure; for this patch please use the amended one. I was pointing to that for discussing changing the format used in the kernel, globally, not to use it in this patch.
Have a lovely night!
Alex
Quoted 2 lines
/jeff
Signature · 1 line
<https://www.alejandro-colomar.es>
Quoted 29 lines · Alejandro Colomar
Hi Jeff,
Quoted 15 lines · Jeff Johnson
Quoted 14 lines · Toke Høiland-Jørgensen
Quoted 12 lines · Alejandro Colomar
This only worked by chance, because all callers of this macro used the same identifiers that were expected by the macro.
$ grep -rn ath_for_each_chanctx drivers/net/wireless/ath/ath9k/main.c:1576: ath_for_each_chanctx(sc, ctx) drivers/net/wireless/ath/ath9k/main.c:2554: ath_for_each_chanctx(sc, ctx) { drivers/net/wireless/ath/ath9k/channel.c:165: ath_for_each_chanctx(sc, ctx) { drivers/net/wireless/ath/ath9k/channel.c:291: ath_for_each_chanctx(sc, ctx) { drivers/net/wireless/ath/ath9k/channel.c:861: ath_for_each_chanctx(sc, ctx) { drivers/net/wireless/ath/ath9k/debug.c:717: ath_for_each_chanctx(sc, ctx) { drivers/net/wireless/ath/ath9k/ath9k.h:446:#define ath_for_each_chanctx(_sc, _ctx) \Quoted 4 lines
Quoted 1 line
Quoted 1 line
Fixes c4dc0d040e35 (2014-06-19; "ath9k: Fetch appropriate operating channel context")I'm dropping the Fixes tag since the existing code actually works and hence there is no need to backport to LTS kernels.
Sounds reasonable. Alternatively, a line next to it saying
[Do not backport]
would work, I guess.
Quoted 8 lines
Greg, I've seen this situation already a few times. A Fixes tag getting removed to avoid triggering a stable backport. But I think keeping the Fixes tag could be useful. Should we have a standard way to document that a patch fixes an old commit without meaning that it should be backported? Maybe something like this?:
[Do not backport to stable] Fixes: ...
As per the in-kernel documentation file
https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html
There furthermore is a variant of the stable tag you can use to make the stable team's backporting tools (e.g AUTOSEL or scripts that look for commits containing a 'Fixes:' tag) ignore a change::
So I think it is documented already :)
thanks,
greg k-h
Hi Greg,
Quoted 6 lines · Greg KH
Quoted 2 lines
[Do not backport to stable] Fixes: ...As per the in-kernel documentation file
https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html
Quoted 7 lines
There furthermore is a variant of the stable tag you can use to make the stable team's backporting tools (e.g AUTOSEL or scripts that look for commits containing a 'Fixes:' tag) ignore a change::
Cc <[email protected]> # reason goes here, and must be presentSo I think it is documented already :)
Thanks! I'll use that. :)
Cheers,
Alex
Quoted 4 lines
thanks,
greg k-h
Signature · 1 line
<https://www.alejandro-colomar.es>
Jeff Johnson
AppliedQuoted 12 lines · Alejandro Colomar
This only worked by chance, because all callers of this macro used the same identifiers that were expected by the macro.
$ grep -rn ath_for_each_chanctx drivers/net/wireless/ath/ath9k/main.c:1576: ath_for_each_chanctx(sc, ctx) drivers/net/wireless/ath/ath9k/main.c:2554: ath_for_each_chanctx(sc, ctx) { drivers/net/wireless/ath/ath9k/channel.c:165: ath_for_each_chanctx(sc, ctx) { drivers/net/wireless/ath/ath9k/channel.c:291: ath_for_each_chanctx(sc, ctx) { drivers/net/wireless/ath/ath9k/channel.c:861: ath_for_each_chanctx(sc, ctx) { drivers/net/wireless/ath/ath9k/debug.c:717: ath_for_each_chanctx(sc, ctx) { drivers/net/wireless/ath/ath9k/ath9k.h:446:#define ath_for_each_chanctx(_sc, _ctx) \
Quoted 1 line
[...]
Applied, thanks!
[1/1] wifi: ath9k: Fix typo
commit: a8911fbeff8bee4fe3376c5044b64fbf3cceb78e
Best regards,
Signature · 1 line
Jeff Johnson <[email protected]>