Received: by 10.223.176.5 with SMTP id f5csp313283wra; Tue, 30 Jan 2018 11:58:12 -0800 (PST) X-Google-Smtp-Source: AH8x225DqNKoaflx6cddLQsL15F4DdfsET9s1VPcXdb5ClPl7/M+F9bt+pcwpSJEnouR6V10RYHc X-Received: by 2002:a17:902:36a:: with SMTP id 97-v6mr26945048pld.365.1517342292657; Tue, 30 Jan 2018 11:58:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517342292; cv=none; d=google.com; s=arc-20160816; b=o5ldFyKrKqIpJmoK/zQMTHEwzMIWtNrvVKMgaz/XBm/nMlvdmozHvvrqNnPImS+De1 YXZffWDemvgnaLWD4nparl8l2yNyLx+j/LDVgX7+/x0ehnQbaHZlga5sXKGDGbIzKFT9 aM+0Gh/tkPm3lIqlsxoKxOhQSo0LGSz0SJDIi/lb9tdBU64wE22QT6owyrHzrc6FGCmq 2WClfrMBNEYdPUqh6pGAlFznGzcLIA+qPmQnS2JZS70rZiHa0r9bpkI0SQ17H9LnoqYx mHl2OEE1wYmERw6S+xmWJDP/fZ7UPx8o/7CzcK6F0Hy6NAmbb4yUgNqmfMmekO6/ieXq WKQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=XgDaosGSX+FECP7GhKU2JXWJbHCwfwgLdHvQ+u8JjKs=; b=luNX5eR+7CAc6yJ590RoS0dgBHXyBFYb/rcM2Z/iSThf6WBz5SYOK3WlCsrSyFwZRt RcRUgwzvtwNEc/W+Esy1g1tzYp+GbaOBS8q5eL92JDRRaOKvgAGM5/lfnvpTe0Mgs/2B fxvN5sETc5JAoSoiHIzV9stuSUYuvcU/4Q9bCLv2Tq/M9AMzEjqWama1WQKO3qaiuekA 0eurAKiglQw9sh6Hgu5vvaph01aTUqBsFHW4y8Wie5KcfnBdpDlMDNUhAsZ0Qvbw/6o6 vDqBcS5udZFFxSzmMO1aOmIEJjlnN2D4eehDR5tkdsrs9a8etIGw7jcD9r65L9ALK4kJ Em5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Ba/oofKA; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i6-v6si4608091plr.802.2018.01.30.11.57.58; Tue, 30 Jan 2018 11:58:12 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Ba/oofKA; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752921AbeA3TXu (ORCPT + 99 others); Tue, 30 Jan 2018 14:23:50 -0500 Received: from mail-yw0-f194.google.com ([209.85.161.194]:38665 "EHLO mail-yw0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752776AbeA3TXs (ORCPT ); Tue, 30 Jan 2018 14:23:48 -0500 Received: by mail-yw0-f194.google.com with SMTP id m84so5617658ywd.5 for ; Tue, 30 Jan 2018 11:23:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=XgDaosGSX+FECP7GhKU2JXWJbHCwfwgLdHvQ+u8JjKs=; b=Ba/oofKABAAzHfxFn0ofjTlfIkbLF8eoVtUmDPVjG2jmxBfTb2kHiSqK9echooHPS9 qu0g8Z5CZniRe9uWpk3ycRkrVgW5sl7qJdBC5EyMCct3moTpVF/iCT1GQuBB48J7ZhYp oKkIyxe305/7BFmAtl6rMdoDDCs2RJ6SiEAqbbcuSLawN/nw4y2h2qR9R6CPMUUIyKE6 by/72MAQ8CJrZJyI7cqs930MZEKH6/RUgmseatT0y1bNMA5VFz54rZGHNJq9CbYXPfJ9 uQIQKZ7Y+9TtSsLAeqS9eWe7CbnXGGhbzbmfVyppJ9ob+BmPM9WboLZU5/wmnv6iOoxo x2Gg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=XgDaosGSX+FECP7GhKU2JXWJbHCwfwgLdHvQ+u8JjKs=; b=WXVJ/6SMqcgBib1DnjJ0otAi1U7cl6+N5nmA/GSAAAffUZpFOSMvd+52l6Smo5GQiM 4UhUhU3CFN/ZubHbmf4CXgsLiY233SBGGc0Cj+Ns7+L/YKJKbNwubWKlgx/xDTSER6pD fkjcl8CgDUM+8kF69YHfLbeSRIo/cVI8NSwCZ0RxPho/t/eo8dEMqaWLALf5VNlUDtBz VVy9KV+8J/HXldiTpPW40+RtlbA1DlEzm6yio9kGb1KNOLe459CeNrhvriHH5pVCgw1g eW4tYqpKSFgWSmrP5o3fV66ulIAVrBZAnR8c2ARewhKKt/5kyik/bd/zQSgvIUKHbp1V shlA== X-Gm-Message-State: AKwxyteD5SqZeRCkmEm0CBgH63fUboG/fT2gHL/X0BTzx2JXBK90GcPJ dPLSnjhgeddieTBA+PUUdWnpTyqUR3Tj1sbje0AhZA== X-Received: by 10.37.219.199 with SMTP id g190mr19698473ybf.373.1517340228312; Tue, 30 Jan 2018 11:23:48 -0800 (PST) MIME-Version: 1.0 Received: by 10.37.188.133 with HTTP; Tue, 30 Jan 2018 11:23:48 -0800 (PST) In-Reply-To: <20180117185020.25169-1-luisbg@kernel.org> References: <20180117185020.25169-1-luisbg@kernel.org> From: Alex Deucher Date: Tue, 30 Jan 2018 14:23:48 -0500 Message-ID: Subject: Re: [PATCH] drm: amd: Fix trailing semicolons To: Luis de Bethencourt Cc: LKML , Huang Rui , David Airlie , Harry Wentland , Wenjing Liu , amd-gfx list , Ding Wang , Alex Deucher , Eric Huang , Sylvia Tsai , Hersen Wu , Maling list - DRI developers , Joe Perches , Rex Zhu , Tony Cheng , Christian Konig , Dan Carpenter Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 17, 2018 at 1:50 PM, Luis de Bethencourt wrote: > The trailing semicolon is an empty statement that does no operation. > Removing the two instances of them since they don't do anything. > > Signed-off-by: Luis de Bethencourt Applied. thanks! Alex > --- > > Hi, > > After fixing the same thing in drivers/staging/rtl8723bs/, Joe Perches > suggested I fix it treewide [0]. > > Best regards > Luis > > > [0] http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/2018-January/115410.html > [1] http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/2018-January/115390.html > > drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c | 2 +- > drivers/gpu/drm/amd/powerplay/amd_powerplay.c | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c b/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c > index 61e8c3e02d16..33d91e4474ea 100644 > --- a/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c > +++ b/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c > @@ -718,7 +718,7 @@ static enum link_training_result perform_channel_equalization_sequence( > uint32_t retries_ch_eq; > enum dc_lane_count lane_count = lt_settings->link_settings.lane_count; > union lane_align_status_updated dpcd_lane_status_updated = {{0}}; > - union lane_status dpcd_lane_status[LANE_COUNT_DP_MAX] = {{{0}}};; > + union lane_status dpcd_lane_status[LANE_COUNT_DP_MAX] = {{{0}}}; > > hw_tr_pattern = get_supported_tp(link); > > diff --git a/drivers/gpu/drm/amd/powerplay/amd_powerplay.c b/drivers/gpu/drm/amd/powerplay/amd_powerplay.c > index fa9d1615a2cc..b98a7a8a22b5 100644 > --- a/drivers/gpu/drm/amd/powerplay/amd_powerplay.c > +++ b/drivers/gpu/drm/amd/powerplay/amd_powerplay.c > @@ -162,7 +162,7 @@ static int pp_hw_init(void *handle) > if(hwmgr->smumgr_funcs->start_smu(pp_handle->hwmgr)) { > pr_err("smc start failed\n"); > hwmgr->smumgr_funcs->smu_fini(pp_handle->hwmgr); > - return -EINVAL;; > + return -EINVAL; > } > if (ret == PP_DPM_DISABLED) > goto exit; > -- > 2.15.1 > > _______________________________________________ > amd-gfx mailing list > amd-gfx@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/amd-gfx