From patchwork Sat Sep 21 06:20:45 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julia Lawall X-Patchwork-Id: 11155829 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B0E03112B for ; Sun, 22 Sep 2019 12:05:09 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 991C220830 for ; Sun, 22 Sep 2019 12:05:09 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 991C220830 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=lip6.fr Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 227496E0A2; Sun, 22 Sep 2019 12:04:09 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by gabe.freedesktop.org (Postfix) with ESMTPS id 532086E04A for ; Sat, 21 Sep 2019 06:49:48 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.64,531,1559512800"; d="scan'208";a="320165530" Received: from ip-215.net-89-2-7.rev.numericable.fr (HELO hadrien) ([89.2.7.215]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Sep 2019 08:20:46 +0200 Date: Sat, 21 Sep 2019 08:20:45 +0200 (CEST) From: Julia Lawall X-X-Sender: jll@hadrien To: Lucas Stach , Andrzej Hajda Subject: [PATCH] UNCLEAN: fix semicolon.cocci warnings Message-ID: User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: David Airlie , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Laurent Pinchart , Ezequiel Garcia , kbuild-all@01.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" From: kbuild test robot Remove unneeded semicolons. Generated by: scripts/coccinelle/misc/semicolon.cocci Fixes: 841b04751dc0 ("UNCLEAN: add HDMI TX driver") CC: Lucas Stach Signed-off-by: kbuild test robot Signed-off-by: Julia Lawall --- tree: git://git.infradead.org/users/ezequielg/linux hantro-vpu-postproc-for-5.5-2 head: 54ed616fb9016b89b7bcdb9c8c8bd5f0532c0def commit: 841b04751dc0a67ccbdc07b44655d9ad35e61ae7 [358/511] UNCLEAN: add HDMI TX driver :::::: branch date: 5 hours ago :::::: commit date: 3 days ago util.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/drivers/gpu/drm/bridge/cdn-hdp/mailbox-if/util.c +++ b/drivers/gpu/drm/bridge/cdn-hdp/mailbox-if/util.c @@ -148,7 +148,7 @@ u32 internal_vmkmsg(volatile u8 *dest, i if (size > 0) { internal_itobe(va_arg(vl, int), dest, size); dest += size; - len += size;; + len += size; } else { memcpy((void *)dest, va_arg(vl, void *), -size); dest -= size; @@ -214,7 +214,7 @@ void internal_vreadmsg(state_struct *sta default: pr_warn("Warning. Unsupported variable size.\n"); memcpy(ptr, src, size); - }; + } src += size; } else {