NTB: correct ntb_spad_count comment typo
PATCH 1/1 NTB: correct ntb_spad_count comment typo
The comment for ntb_spad_count incorrectly referred to ntb_mw_count.
--- include/linux/ntb.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/ntb.h +1 -1
@@ -892,15 +892,15 @@ static inline int ntb_spad_is_unsafe(struct ntb_dev *ntb)if (!ntb->ops->spad_is_unsafe)return 0 ;return ntb->ops->spad_is_unsafe (ntb); }/** -* ntb_mw_count() - get the number of scratchpads +* ntb_spad_count() - get the number of scratchpads * @ntb: NTB device context. * * Hardware and topology may support a different number of scratchpads. * * Return: the number of scratchpads. */ static inline int ntb_spad_count (struct ntb_dev *ntb)
Signature · 1 line
1.9.1
RE: correct ntb_spad_count comment typo
From: Aaron Sierra
Quoted 3 lines
The comment for
ntb_spad_countincorrectly referred tontb_mw_count.Signed-off-by Aaron Sierra <[email protected]>
Quoted 27 lines
--- include/linux/ntb.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)include/linux/ntb.h +1
-2@@ -892,15 +892,15 @@ static inline int ntb_spad_is_unsafe(struct ntb_dev *ntb)if (!ntb->ops->spad_is_unsafe)return 0 ;return ntb->ops->spad_is_unsafe (ntb); }/** -* ntb_mw_count() - get the number of scratchpads +* ntb_spad_count() - get the number of scratchpads * @ntb: NTB device context. * * Hardware and topology may support a different number of scratchpads. * * Return: the number of scratchpads. */ static inline int ntb_spad_count (struct ntb_dev *ntb) --1.9.1
RE: correct ntb_spad_count comment typo
From: Allen Hubbe
Quoted 7 lines
From: Aaron Sierra
Quoted 3 lines
The comment for
ntb_spad_countincorrectly referred tontb_mw_count.Signed-off-by Aaron Sierra <[email protected]>Acked-by Allen Hubbe <[email protected]>
Actually, the commit subject line should include the subsystem name.
"NTB: Correct ntb_spad_count comment typo"
John might fix this after accepting the patch as is, but it would be easier if you amend the commit and send v2 with a new subject line.
Thanks,
Allen
Quoted 38 lines
Quoted 26 lines
--- include/linux/ntb.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)include/linux/ntb.h +1
-2@@ -892,15 +892,15 @@ static inline int ntb_spad_is_unsafe(struct ntb_dev *ntb)if (!ntb->ops->spad_is_unsafe)return 0 ;return ntb->ops->spad_is_unsafe (ntb); }/** -* ntb_mw_count() - get the number of scratchpads +* ntb_spad_count() - get the number of scratchpads * @ntb: NTB device context. * * Hardware and topology may support a different number of scratchpads. * * Return: the number of scratchpads. */ static inline int ntb_spad_count (struct ntb_dev *ntb) --Quoted 1 line
1.9.1
--
You received this message because you are subscribed to the Google Groups "linux-ntb" group.
To unsubscribe from this group and stop receiving emails from it, send an email to linux- [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/linux-
ntb/000001d2509b%242d829050%248887b0f0%24%40dell.com.
For more options, visit https://groups.google.com/d/optout.
Re: correct ntb_spad_count comment typo
----- Original Message -----
Quoted 7 lines
From: "Allen Hubbe" <[email protected]>
Sent: Wednesday, December 7, 2016 9:09:45 AMFrom: Allen Hubbe
Quoted 3 lines
From: Aaron Sierra
Quoted 2 lines
The comment for
ntb_spad_countincorrectly referred tontb_mw_count.
Quoted 8 lines
Quoted 4 lines
Quoted 1 line
Signed-off-by Aaron Sierra <[email protected]>Acked-by Allen Hubbe <[email protected]>Actually, the commit subject line should include the subsystem name.
"NTB: Correct
ntb_spad_countcomment typo"
Allen,
First of all, thanks for taking time to review my patch!
This is the exact subject that I sent out:
[PATCH] NTB: correct ntb_spad_count comment typo
Hopefully, this is just a glitch between me and you.
Quoted 4 lines
John might fix this after accepting the patch as is, but it would be easier if you amend the commit and send v2 with a new subject line.
Can anyone else confirm or deny the need for a v2?
-Aaron S.
RE: correct ntb_spad_count comment typo
From: Aaron Sierra
Quoted 5 lines
This is the exact subject that I sent out:
[PATCH] NTB: correct
ntb_spad_countcomment typoHopefully, this is just a glitch between me and you.
You're right, I replied with the wrong subject.
Thanks for the patch! Already acked.
Allen