Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1129877pxf; Fri, 2 Apr 2021 01:56:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwIqNQ7RZTPMss8ErKAbwwFixb6/7WRtRVVzNf2i18KqPBGSP3IBn29ghcg2QvMjStxnNTb X-Received: by 2002:a05:6e02:13a6:: with SMTP id h6mr10047980ilo.86.1617353762126; Fri, 02 Apr 2021 01:56:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617353762; cv=none; d=google.com; s=arc-20160816; b=IZegiHMMv6difkRxucPE/THYnz3u/ep+/eA19PHDzbggOBb+aLatAjKRiyQzFTp8AE QXaHd7M3GKKuAWIQRQ6zTiHH6zDKD9vMoPAW+T4UDQKj9SCd4Qh5JONtPRVvKYFmwNk2 mH5vSsRj1rbioeubpRK6HhkaOPfbm38tszlZZ0xRl2XEQe6akNEraj7+7/SuWrVT/XBz uCcAcYOOMmt7jTzS+9Mu9KsIYS0gjJYks2UPvyWgXW73e2paV+tpW/mQt/Bu/NLehrl2 8H0oV5DJqhO0oAtyIZE/B3d2qjaFtOhUT+JI7nNSH8g8icRwP0PqSZ1z5PEJuyHNUuL0 sqLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=WEfmUnR3/kRz1EveSukV4WfvzNHdm0dBLzKOtzhrMmg=; b=bgDNbVAkz0fpfKAz35uvVagbV08BjmLzTNXEoSCYFCnRzN1BihIKaVZ9oFHa6rr8ux 9CpHtIjJ1lq1P3rQiVL0JG3x9PXBdsyU4oAyBO68Bi0Yovk3XEGcVaQNHf9tjUPeqCwm r9OVencVNGmlJcPjE4umoNrUgMt6ZDugeNOvTUCB1b1hA5wLCarWu3eT/mnhA8SlW582 N7xu9BaDP2t7vcuTDkKRWMfMWLxqfWCe73meWBUoNkY7UbPcEQ/Vf7QapS6sKGD7hNI2 Ue1nfRVch3xM32daZJFn51jnxcGepInB1kEL0B5RxXy91r2feM4nY4l2k2GgCfiYu52F valQ== 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=vivo.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p31si7457065jal.19.2021.04.02.01.55.48; Fri, 02 Apr 2021 01:56:02 -0700 (PDT) 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=vivo.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234354AbhDBIza (ORCPT + 99 others); Fri, 2 Apr 2021 04:55:30 -0400 Received: from mail-m17635.qiye.163.com ([59.111.176.35]:57500 "EHLO mail-m17635.qiye.163.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229599AbhDBIz3 (ORCPT ); Fri, 2 Apr 2021 04:55:29 -0400 Received: from ubuntu.localdomain (unknown [36.152.145.181]) by mail-m17635.qiye.163.com (Hmail) with ESMTPA id 8FC374003CC; Fri, 2 Apr 2021 16:55:27 +0800 (CST) From: Bernard Zhao To: David Airlie , Daniel Vetter , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Cc: Bernard Zhao Subject: [PATCH] drm/gud: cleanup coding style a bit Date: Fri, 2 Apr 2021 01:55:21 -0700 Message-Id: <20210402085523.76928-1-bernard@vivo.com> X-Mailer: git-send-email 2.31.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-HM-Spam-Status: e1kfGhgUHx5ZQUtXWQgYFAkeWUFZS1VLWVdZKFlBSE83V1ktWUFJV1kPCR oVCBIfWUFZGUxKHhlLGEpCSxpCVkpNSkxITkhMSUxMSUNVEwETFhoSFyQUDg9ZV1kWGg8SFR0UWU FZT0tIVUpKS0hKQ1VLWQY+ X-HM-Sender-Digest: e1kMHhlZQR0aFwgeV1kSHx4VD1lBWUc6NQw6Czo4Tj8PMCovDToKCk0a TxwaCRxVSlVKTUpMSE5ITElMQk1CVTMWGhIXVRkeCRUaCR87DRINFFUYFBZFWVdZEgtZQVlITVVK TklVSk9OVUpDSllXWQgBWUFKTEtMNwY+ X-HM-Tid: 0a7891cb5eb2d991kuws8fc374003cc Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix coccicheck warning: drivers/gpu/drm/gud/gud_internal.h:89:2-3: Unneeded semicolon drivers/gpu/drm/gud/gud_internal.h:107:2-3: Unneeded semicolon Signed-off-by: Bernard Zhao --- drivers/gpu/drm/gud/gud_internal.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/gud/gud_internal.h b/drivers/gpu/drm/gud/gud_internal.h index de2f2d2dbc60..b65105585578 100644 --- a/drivers/gpu/drm/gud/gud_internal.h +++ b/drivers/gpu/drm/gud/gud_internal.h @@ -86,7 +86,7 @@ static inline u8 gud_from_fourcc(u32 fourcc) return GUD_PIXEL_FORMAT_XRGB8888; case DRM_FORMAT_ARGB8888: return GUD_PIXEL_FORMAT_ARGB8888; - }; + } return 0; } @@ -104,7 +104,7 @@ static inline u32 gud_to_fourcc(u8 format) return DRM_FORMAT_XRGB8888; case GUD_PIXEL_FORMAT_ARGB8888: return DRM_FORMAT_ARGB8888; - }; + } return 0; } -- 2.31.0