Skip to content

Commit

Permalink
NTB: correct ntb_spad_count comment typo
Browse files Browse the repository at this point in the history
The comment for ntb_spad_count incorrectly referred to ntb_mw_count.

Signed-off-by: Aaron Sierra <asierra@xes-inc.com>
Acked-by: Allen Hubbe <Allen.Hubbe@dell.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
  • Loading branch information
Aaron Sierra authored and Jiri Kosina committed Dec 14, 2016
1 parent ecbf128 commit 74dcba3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/ntb.h
Original file line number Diff line number Diff line change
Expand Up @@ -896,7 +896,7 @@ static inline int ntb_spad_is_unsafe(struct ntb_dev *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.
Expand Down

0 comments on commit 74dcba3

Please sign in to comment.