Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp2317260rwb; Mon, 15 Aug 2022 03:14:35 -0700 (PDT) X-Google-Smtp-Source: AA6agR5LXLURyBvrmaGaGpZ3+WVs7uLx6sDbwHFevdX430aLo3Cxr5ICm2Lq+klU544XgFKhasX+ X-Received: by 2002:a63:1c65:0:b0:41c:86b0:59e4 with SMTP id c37-20020a631c65000000b0041c86b059e4mr12864179pgm.382.1660558475266; Mon, 15 Aug 2022 03:14:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660558475; cv=none; d=google.com; s=arc-20160816; b=LBEOKcP1ONvGurGJwKBuSHEafg3bnxbTBuVPUXmTDuoSGarhyO2qy+FMJpuUBYiYrY FyhCWX7PF8lKCQwaoKsdnT00tx8ebky3t015F+s8wtqa0MMJVx3pffslxcOmttLTyCpY L9qToD3Ajt73H/t5tTDWbkjnXvujKsKCHJlzKHUQpUpFWFIxZVwgF6XdH7U7JaziGXL/ R+gr2mx5GWmG/KFzvd9bAyUdCzRg/CpWNtAm89Lvlnf6j/+TBmQzLwa8Dd0+p+xy+Rbu xeWgwpvtGkMoMhenu8xZMqe9nxzjYbgcwhf2EwWKTfBhcirNVzgg3SEODzBaqGZDUHVV XjWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :organization:in-reply-to:subject:cc:to:from:dkim-signature; bh=stBwQXbrQmoYzhqONybOHVIJ3208n8/CI7dm4h/riY4=; b=BZSo2Id4qILs1m8ZOFcqTtN1eegiIIjD5oQ4zS7oiD/xdDIvAUIKznmi0L8HzlkDJJ uKTfTnECndx5i0YZ4U48OdZLWh4MZEo0s8nbmkNHMGtG85ZSkdDj7ecSiAXiiAvkegaI 75K6hVZj94lPgJWiMSuTxUXGPrkXZQcs5AoVErd3LmmWMdcwUSGCo45h4jGxWBhxISQ3 GiUL2Oc325KVrmm42+v4MKnPAD5kfqRw1wh7rdfypl+QXaRVvh3Olrk1VMjUhSPFVwkn /RGWcJ1oTn42YQBS6YY3hyE5Zy9sTcd/gIWInqVPUG3VLyFj51lYTgqFE7c4GxggdMIK GP5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=P5vSBMLE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d34-20020a630e22000000b0041c335d3761si9876047pgl.363.2022.08.15.03.14.24; Mon, 15 Aug 2022 03:14:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=P5vSBMLE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241999AbiHOJ2r (ORCPT + 99 others); Mon, 15 Aug 2022 05:28:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51346 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230431AbiHOJ2o (ORCPT ); Mon, 15 Aug 2022 05:28:44 -0400 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4D7CB1BEAC; Mon, 15 Aug 2022 02:28:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1660555724; x=1692091724; h=from:to:cc:subject:in-reply-to:references:date: message-id:mime-version; bh=/ZB/bqkS16wIpUYRzAIn8dYga5U2Lc9wCDdIGKNXATg=; b=P5vSBMLEDt/d4qBNuZo4XiR3n9fusaQZ2i6SBpY95HokeGbf63i0dGZW HaLXT8AbzGOsPx0uhoHAyybn/I4LwoRH6uV/CwPLncwYQ999Xr2Ii7fOE luNRt0KsTDeX7zL2X4acXX8g9rsoy6xFwtHS4UvtnkSjnj3ok8xCMp+5h Q3BfWPkCRSewBoUkIKfzyJCrfB6HXtIHbbA0+g7dB1i5Mk3T/efFc+Yf4 9GbtI+QAX4wPP3unif8AprtQ2aFhxJeRLLkHFUNdjpqmuJauqOYN5/ItH BI0Izma7/l6Jy1oxYhj3jJwRzXm+DijyNr3YM7JlCKYMxbcU3SnxeI9nF A==; X-IronPort-AV: E=McAfee;i="6400,9594,10439"; a="378214453" X-IronPort-AV: E=Sophos;i="5.93,238,1654585200"; d="scan'208";a="378214453" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Aug 2022 02:28:43 -0700 X-IronPort-AV: E=Sophos;i="5.93,238,1654585200"; d="scan'208";a="666602713" Received: from abelova-mobl2.ccr.corp.intel.com (HELO localhost) ([10.252.50.172]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Aug 2022 02:28:40 -0700 From: Jani Nikula To: min tang , airlied@linux.ie, daniel@ffwll.ch, srinivas.pandruvada@linux.intel.com Cc: min tang , intel-gfx@lists.freedesktop.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, platform-driver-x86@vger.kernel.org, dan.carpenter@oracle.com Subject: Re: [PATCH] drm/i915/gt: Unneeded semicolon In-Reply-To: <20220813151616.4193-1-tangmin@cdjrlc.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo References: <20220813151616.4193-1-tangmin@cdjrlc.com> Date: Mon, 15 Aug 2022 12:28:38 +0300 Message-ID: <871qthsvnd.fsf@intel.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 13 Aug 2022, min tang wrote: > There is no semicolon after '}' in line 648. > > Signed-off-by: min tang > --- > drivers/gpu/drm/i915/gt/intel_migrate.c | 2 +- This part is fine. > tools/power/x86/intel-speed-select/hfi-events.c | 2 +- > tools/testing/selftests/timers/nanosleep.c | 2 +- These need to be split out and sent to their respective subsystems. BR, Jani. > 3 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/drivers/gpu/drm/i915/gt/intel_migrate.c b/drivers/gpu/drm/i915/gt/intel_migrate.c > index 2c35324b5f68..a69b244f14d0 100644 > --- a/drivers/gpu/drm/i915/gt/intel_migrate.c > +++ b/drivers/gpu/drm/i915/gt/intel_migrate.c > @@ -645,7 +645,7 @@ static int scatter_list_length(struct scatterlist *sg) > while (sg && sg_dma_len(sg)) { > len += sg_dma_len(sg); > sg = sg_next(sg); > - }; > + } > > return len; > } > diff --git a/tools/power/x86/intel-speed-select/hfi-events.c b/tools/power/x86/intel-speed-select/hfi-events.c > index 761375062505..f0ed69721308 100644 > --- a/tools/power/x86/intel-speed-select/hfi-events.c > +++ b/tools/power/x86/intel-speed-select/hfi-events.c > @@ -144,7 +144,7 @@ static int family_handler(struct nl_msg *msg, void *arg) > continue; > res->id = nla_get_u32(tb2[CTRL_ATTR_MCAST_GRP_ID]); > break; > - }; > + } > > return 0; > } > diff --git a/tools/testing/selftests/timers/nanosleep.c b/tools/testing/selftests/timers/nanosleep.c > index 71b5441c2fd9..433a09676aeb 100644 > --- a/tools/testing/selftests/timers/nanosleep.c > +++ b/tools/testing/selftests/timers/nanosleep.c > @@ -72,7 +72,7 @@ char *clockstring(int clockid) > return "CLOCK_BOOTTIME_ALARM"; > case CLOCK_TAI: > return "CLOCK_TAI"; > - }; > + } > return "UNKNOWN_CLOCKID"; > } -- Jani Nikula, Intel Open Source Graphics Center