From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============1137200750937553982==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: [PATCH] RDMA/core: fix semicolon.cocci warnings Date: Wed, 16 Sep 2020 01:54:04 +0800 Message-ID: <20200915175404.GA29195@fe22543e240f> In-Reply-To: <202009160101.B5bfy0dW%lkp@intel.com> List-Id: --===============1137200750937553982== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: kernel test robot 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 --- 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 w= rite 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 =3D (struct ib_uqp_object *)uobj_alloc(UVERBS_OBJECT_QP, attrs, &ib_dev); --===============1137200750937553982==--