All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [PATCH] RDMA/core: fix semicolon.cocci warnings
Date: Wed, 16 Sep 2020 01:54:04 +0800	[thread overview]
Message-ID: <20200915175404.GA29195@fe22543e240f> (raw)
In-Reply-To: <202009160101.B5bfy0dW%lkp@intel.com>

[-- Attachment #1: Type: text/plain, Size: 955 bytes --]

From: kernel test robot <lkp@intel.com>

drivers/infiniband/core/uverbs_cmd.c:1292:2-3: Unneeded semicolon


 Remove unneeded semicolon.

Generated by: scripts/coccinelle/misc/semicolon.cocci

Fixes: 4010e0c25c61 ("RDMA/core: Align write and ioctl checks of QP types")
Signed-off-by: kernel test robot <lkp@intel.com>
---

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/leon/linux-rdma.git rdma-next
head:   4c0870255a8dbe1caa2cdbccdd1632680e6a2201
commit: 4010e0c25c616728e6ed11856a5c1f10fec3d651 [59/81] RDMA/core: Align write and ioctl checks of QP types

 uverbs_cmd.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/infiniband/core/uverbs_cmd.c
+++ b/drivers/infiniband/core/uverbs_cmd.c
@@ -1289,7 +1289,7 @@ static int create_qp(struct uverbs_attr_
 		break;
 	default:
 		return -EINVAL;
-	};
+	}
 
 	obj = (struct ib_uqp_object *)uobj_alloc(UVERBS_OBJECT_QP, attrs,
 						 &ib_dev);

      reply	other threads:[~2020-09-15 17:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-15 17:54 [leon-rdma:rdma-next 59/81] drivers/infiniband/core/uverbs_cmd.c:1292:2-3: Unneeded semicolon kernel test robot
2020-09-15 17:54 ` kernel test robot [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200915175404.GA29195@fe22543e240f \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.