]> www.infradead.org Git - users/dwmw2/linux.git/commit
NTB: Multiple NTB client fix
authorJon Mason <jon.mason@intel.com>
Fri, 26 Apr 2013 21:51:57 +0000 (14:51 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 24 May 2013 18:36:05 +0000 (11:36 -0700)
commiteb1b60a0fbe29e66106b6cb65d17b9dfdb2d335d
tree1a5fb7937c0d4c15d801dee1689e4ed8f4092f1b
parent32c0e1fe6fe8a9992f582b60a4f15858add89fcb
NTB: Multiple NTB client fix

commit 8b19d450ad188d402a183ff4a4d40f31c3916fbf upstream.

Fix issue with adding multiple ntb client devices to the ntb virtual
bus.  Previously, multiple devices would be added with the same name,
resulting in crashes.  To get around this issue, add a unique number to
the device when it is added.

Signed-off-by: Jon Mason <jon.mason@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/ntb/ntb_transport.c