Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp83072pxb; Mon, 1 Feb 2021 23:10:07 -0800 (PST) X-Google-Smtp-Source: ABdhPJwTw3LrMYTB+HcFebvCZEJ0fVgTn8t2AnM7Jssihf2lfXqyWNbxLZohCX1pvGCjdgyyMQlN X-Received: by 2002:a17:906:5ac8:: with SMTP id x8mr5333900ejs.347.1612249807132; Mon, 01 Feb 2021 23:10:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612249807; cv=none; d=google.com; s=arc-20160816; b=zTPP+ZV927fJ1EFMAdAOLMTYtQRInJPYe0coKPNEo8sfX/X0CqcH85/ZZDGeIWMx7v LNthyhwSgfcMS7HJPwRBJqKvUwFAtVS22u94SEqBN05Hb7k/3/A9StD645ZJKUr+5xwD 7jBfmphF+iSPBHQsB9tafw1CkSlpVddqDpkk7tJjl4YpDOEqSMneTrJncr9GaIkxjZuM YybHpXkHtT9WcE7Wbw0x38aj9pmwYm6CuyXOspA6aq59IYTjqs5BE89dqserlPUCIOBR Bf5DYM1gWRJLEvBXmNyieeSwmGF9kwr/s7mbBPvKfM0DsMmGNsHPIE6WdIqxa+BGqJY8 L2FQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=Vutzo1neWTlLtKot0qZXu7y6eOL/Rlup6Yx0jsAZF5c=; b=M/qj4ZWdjPB6KtjnNNzI75FQY5LSKM8MKgMs9ig5xjY+JuikWXDw29QGnGxNNiDsxI xKzNS2Zn9O6F01XRbI0qkqItT1TGTmCxt7eRHHTPjHbv1mOOrqIeF1jCJmmx/NoZD3D9 Ag36W7VUVw/XkJnq5vXr+QWD704myO8+pYpWPPWwWXwrmLJ8UoI4H+Nr2ZiJbIlvUTv8 qEo4OVMUwMHkqqgrUy4NCDkZlCBxbz7306doUZYHFmCjuIoffbQf6UH2qvEw36jr6OW1 eJoPHBANCeN8bLx8ZTTu953kb+Htshu7VAy10+kBhEqeN2PSNQKIFtJ35ceWvXT503vw MmsQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id kl10si12934696ejc.291.2021.02.01.23.09.41; Mon, 01 Feb 2021 23:10:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232524AbhBBHIw (ORCPT + 99 others); Tue, 2 Feb 2021 02:08:52 -0500 Received: from out30-130.freemail.mail.aliyun.com ([115.124.30.130]:56193 "EHLO out30-130.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232018AbhBBHIO (ORCPT ); Tue, 2 Feb 2021 02:08:14 -0500 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R171e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=alimailimapcm10staff010182156082;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=7;SR=0;TI=SMTPD_---0UNexAtl_1612249647; Received: from j63c13417.sqa.eu95.tbsite.net(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0UNexAtl_1612249647) by smtp.aliyun-inc.com(127.0.0.1); Tue, 02 Feb 2021 15:07:28 +0800 From: Yang Li To: anitha.chrisanthus@intel.com Cc: edmund.j.dea@intel.com, airlied@linux.ie, daniel@ffwll.ch, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Yang Li Subject: [PATCH] drm/kmb: remove unneeded semicolon Date: Tue, 2 Feb 2021 15:07:26 +0800 Message-Id: <1612249646-68040-1-git-send-email-yang.lee@linux.alibaba.com> X-Mailer: git-send-email 1.8.3.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Eliminate the following coccicheck warning: ./drivers/gpu/drm/kmb/kmb_dsi.c:281:3-4: Unneeded semicolon ./drivers/gpu/drm/kmb/kmb_dsi.c:301:3-4: Unneeded semicolon ./drivers/gpu/drm/kmb/kmb_dsi.c:318:3-4: Unneeded semicolon ./drivers/gpu/drm/kmb/kmb_dsi.c:337:3-4: Unneeded semicolon ./drivers/gpu/drm/kmb/kmb_dsi.c:361:2-3: Unneeded semicolon Reported-by: Abaci Robot Signed-off-by: Yang Li --- drivers/gpu/drm/kmb/kmb_dsi.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/kmb/kmb_dsi.c b/drivers/gpu/drm/kmb/kmb_dsi.c index 4b5d82a..231041b 100644 --- a/drivers/gpu/drm/kmb/kmb_dsi.c +++ b/drivers/gpu/drm/kmb/kmb_dsi.c @@ -281,7 +281,7 @@ static u32 mipi_get_datatype_params(u32 data_type, u32 data_mode, default: DRM_ERROR("DSI: Invalid data_mode %d\n", data_mode); return -EINVAL; - }; + } break; case DSI_LP_DT_PPS_YCBCR422_16B: data_type_param.size_constraint_pixels = 2; @@ -301,7 +301,7 @@ static u32 mipi_get_datatype_params(u32 data_type, u32 data_mode, default: DRM_ERROR("DSI: Invalid data_mode %d\n", data_mode); return -EINVAL; - }; + } break; case DSI_LP_DT_LPPS_YCBCR422_20B: case DSI_LP_DT_PPS_YCBCR422_24B: @@ -318,7 +318,7 @@ static u32 mipi_get_datatype_params(u32 data_type, u32 data_mode, default: DRM_ERROR("DSI: Invalid data_mode %d\n", data_mode); return -EINVAL; - }; + } break; case DSI_LP_DT_PPS_RGB565_16B: data_type_param.size_constraint_pixels = 1; @@ -337,7 +337,7 @@ static u32 mipi_get_datatype_params(u32 data_type, u32 data_mode, default: DRM_ERROR("DSI: Invalid data_mode %d\n", data_mode); return -EINVAL; - }; + } break; case DSI_LP_DT_PPS_RGB666_18B: data_type_param.size_constraint_pixels = 4; @@ -361,7 +361,7 @@ static u32 mipi_get_datatype_params(u32 data_type, u32 data_mode, default: DRM_ERROR("DSI: Invalid data_type %d\n", data_type); return -EINVAL; - }; + } *params = data_type_param; return 0; -- 1.8.3.1