mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-20 22:26:23 +00:00
ib_srpt: Avoid that checkpatch complains about using ENOSYS
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6628 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
+1
-1
@@ -4173,7 +4173,7 @@ static void srpt_add_one(struct ib_device *device)
|
||||
#endif
|
||||
|
||||
sdev->srq = use_srq ? ib_create_srq(sdev->pd, &srq_attr) :
|
||||
ERR_PTR(-ENOSYS);
|
||||
ERR_PTR(-EOPNOTSUPP);
|
||||
if (IS_ERR(sdev->srq)) {
|
||||
pr_debug("ib_create_srq() failed: %ld\n", PTR_ERR(sdev->srq));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user