]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
NTB: correct ntb_spad_count comment typo
authorAaron Sierra <asierra@xes-inc.com>
Wed, 7 Dec 2016 01:09:16 +0000 (19:09 -0600)
committerJiri Kosina <jkosina@suse.cz>
Wed, 14 Dec 2016 09:54:29 +0000 (10:54 +0100)
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>
include/linux/ntb.h

index 6f47562d477bd863377e56b7ca3d2634cb1d05e6..50a7dbe88cf344478f109a94bb81a83c8ef335c9 100644 (file)
@@ -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.