From patchwork Sat Apr 16 14:39:43 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: kernel test robot X-Patchwork-Id: 12815875 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 5675FC433F5 for ; Sat, 16 Apr 2022 14:40:14 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 0C28210E08E; Sat, 16 Apr 2022 14:40:12 +0000 (UTC) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by gabe.freedesktop.org (Postfix) with ESMTPS id 4320C8813A; Sat, 16 Apr 2022 14:40:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1650120010; x=1681656010; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=giH75PUQ022Db46ekY9Mz3w6pJYzb+AbO32k406zZpY=; b=R5dtJAOs0Efn9y7BJfzpuSD9IY6p6nXpGw9UjNnGyKV4TVjjgCc2t+Pw n0F2OsGBjeAzc5iRtdD6Ewl/58HuF+sg2nPtVD5xHy0sW/apjCSu39Lq5 EHZAKrXLZi+MHu5hE90Br3D8OFdw+LAIl7X3h9TnhQd9pCxu5HLZNryI0 wsBlpBIc7J1SSSW73KM60BjZj7ERVUPe1wBuswCZwMRyzi/HGZYksZdym L+5duKM4ya2iO9IQzurvtPTW8JYvwZ+eVIqHM9gZLl7xrwCs1kTslPSwa IBcOjTd6lJ2UNTm2sOdNQ1fG3Godim6LxD/1JFUokzl2s0e5YP/nO6WDU Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10318"; a="349748021" X-IronPort-AV: E=Sophos;i="5.90,264,1643702400"; d="scan'208";a="349748021" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Apr 2022 07:40:09 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,264,1643702400"; d="scan'208";a="509257618" Received: from lkp-server01.sh.intel.com (HELO 3abc53900bec) ([10.239.97.150]) by orsmga003.jf.intel.com with ESMTP; 16 Apr 2022 07:40:07 -0700 Received: from kbuild by 3abc53900bec with local (Exim 4.95) (envelope-from ) id 1nfjap-0003Dt-1k; Sat, 16 Apr 2022 14:40:07 +0000 Date: Sat, 16 Apr 2022 22:39:43 +0800 From: kernel test robot To: Ramalingam C Subject: [PATCH] drm/i915/migrate: fix semicolon.cocci warnings Message-ID: References: <202204162238.wHNWRiAG-lkp@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <202204162238.wHNWRiAG-lkp@intel.com> X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Thomas Hellstrom , intel-gfx@lists.freedesktop.org, kbuild-all@lists.01.org, dri-devel@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" From: kernel test robot drivers/gpu/drm/i915/gt/intel_migrate.c:643:2-3: Unneeded semicolon Remove unneeded semicolon. Generated by: scripts/coccinelle/misc/semicolon.cocci Fixes: da0595ae91da ("drm/i915/migrate: Evict and restore the flatccs capable lmem obj") Reported-by: kernel test robot Signed-off-by: kernel test robot --- tree: git://anongit.freedesktop.org/drm-intel for-linux-next-gt head: bcfc713f11f957711f9494f69c740b95ed335d57 commit: da0595ae91da837929a00470ab40546090e5b9ae [9/9] drm/i915/migrate: Evict and restore the flatccs capable lmem obj :::::: branch date: 14 hours ago :::::: commit date: 2 days ago drivers/gpu/drm/i915/gt/intel_migrate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/gpu/drm/i915/gt/intel_migrate.c +++ b/drivers/gpu/drm/i915/gt/intel_migrate.c @@ -640,7 +640,7 @@ static int scatter_list_length(struct sc while (sg && sg_dma_len(sg)) { len += sg_dma_len(sg); sg = sg_next(sg); - }; + } return len; }