From 6a491c8cda715c4583f5b9a4b2817c15279b2558 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Mon, 9 Nov 2015 19:09:44 +0000 Subject: [PATCH] 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 --- srpt/src/ib_srpt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srpt/src/ib_srpt.c b/srpt/src/ib_srpt.c index 900240e72..a7be356c1 100644 --- a/srpt/src/ib_srpt.c +++ b/srpt/src/ib_srpt.c @@ -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));