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:
Bart Van Assche
2015-11-09 19:09:44 +00:00
parent dff29eda4b
commit 6a491c8cda
+1 -1
View File
@@ -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));