Received: by 10.223.164.202 with SMTP id h10csp3398292wrb; Sun, 19 Nov 2017 21:25:50 -0800 (PST) X-Google-Smtp-Source: AGs4zMaFEvu7YF5WTAc2+uF5EMPlKINw+0wIS827Eb4dKh2I0Ksq9BXpwXEzcXnwFHumgmzAFI5Y X-Received: by 10.159.230.13 with SMTP id u13mr12682928plq.226.1511155550255; Sun, 19 Nov 2017 21:25:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511155550; cv=none; d=google.com; s=arc-20160816; b=vc5bob1tln/0EpXPP/+8gYKwutoten/LjL4PzsHD1HAwK2cLNN6f+M7X2q94c8htf6 W/QpkPq+0mmfCuzugwdYtYLPdgLY011LGMsKXp8HpZhQI6pvWfqbcCzFySZGkrnpkrjg DOBZPJj4UECnTu1xYnF8uEArLq6o+YfeIbKJZx7BaZGCvL/Lqgq/HSf9MS4Ppeq/HznD VeeurA2siVQaKMbzbclDQqCYBL/EjcDS+AIJyMSCqv74ll4yB0/Ll76iFFvkEAaMMZnx 0fSbDeswab5kVqus6cIvZy0NKw9T4qQgkpEyib7t0qexbr4EB7vYZlv+I1A350tDqPfY j/eg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-disposition:mime-version :user-agent:in-reply-to:references:subject:cc:to:from:message-id :date:arc-authentication-results; bh=7qLXxPrcN+reO72Tt/CRGgodDlNIaCr2i6mvNok46KY=; b=N408CbYiHZrLKt0edEOprIrFKAPr0+O01HzRxyTOAlcSHU1Hs7srPuDmAQgGAwG7Tb QWCCUUH7Z0AbLOxqcDQ9XG4pOAtBp8yQag/nSAh3FVQ1qdBuyLw+dhiV5IiyH6oxOl70 PxmIt2o8bkMvGEGMia5FIm7j8SsIQqQIr/GxVgjwBC5F71lZPB7ChRPIgJeUEG9mwi2b TuUa0OIXb/bqrk7IoVZ6ogNYQ7rLdjUK1r8i3v3+u3cc+B7f1QyUqCLMG70fWVxNsdgX o9dyamBitfAcawG7LA8i80xb1bZgWSU+elAyMRVmQFyxTbt1qjwOTmeW/ui+cuzsfwGt jGBA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v3si7161082pgq.731.2017.11.19.21.25.39; Sun, 19 Nov 2017 21:25:50 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751034AbdKTFZF (ORCPT + 68 others); Mon, 20 Nov 2017 00:25:05 -0500 Received: from gateway30.websitewelcome.com ([192.185.144.21]:29724 "EHLO gateway30.websitewelcome.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750764AbdKTFZE (ORCPT ); Mon, 20 Nov 2017 00:25:04 -0500 Received: from cm11.websitewelcome.com (cm11.websitewelcome.com [100.42.49.5]) by gateway30.websitewelcome.com (Postfix) with ESMTP id A6354D88B for ; Sun, 19 Nov 2017 23:25:03 -0600 (CST) Received: from gator4166.hostgator.com ([108.167.133.22]) by cmsmtp with SMTP id GeZrejvBCtuxmGeZre4emP; Sun, 19 Nov 2017 23:25:03 -0600 Received: from gator4166.hostgator.com ([108.167.133.22]:48391) by gator4166.hostgator.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.87) (envelope-from ) id 1eGeZr-004MXN-5l; Sun, 19 Nov 2017 23:25:03 -0600 Received: from 189.175.119.135 ([189.175.119.135]) by gator4166.hostgator.com (Horde Framework) with HTTPS; Sun, 19 Nov 2017 23:25:02 -0600 Date: Sun, 19 Nov 2017 23:25:02 -0600 Message-ID: <20171119232502.Horde.q2PQYS7eChaoQL8h2Iegu1z@gator4166.hostgator.com> From: "Gustavo A. R. Silva" To: Harry Wentland Cc: Alex Deucher , Christian =?utf-8?b?S8O2bmln?= , David Airlie , dri-devel@lists.freedesktop.org, amd-gfx@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] drm/amd/display/dc/dce110/dce110_mem_input_v: use swap macro in program_size_and_rotation References: <20171110223109.GA31549@embeddedor.com> In-Reply-To: User-Agent: Horde Application Framework 5 Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes MIME-Version: 1.0 Content-Disposition: inline X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator4166.hostgator.com X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - embeddedor.com X-BWhitelist: no X-Source-IP: 108.167.133.22 X-Source-L: Yes X-Exim-ID: 1eGeZr-004MXN-5l X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: gator4166.hostgator.com [108.167.133.22]:48391 X-Source-Auth: garsilva@embeddedor.com X-Email-Count: 7 X-Source-Cap: Z3V6aWRpbmU7Z3V6aWRpbmU7Z2F0b3I0MTY2Lmhvc3RnYXRvci5jb20= X-Local-Domain: yes Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Harry Wentland : > On 2017-11-10 05:31 PM, Gustavo A. R. Silva wrote: >> Make use of the swap macro instead of _manually_ swapping values >> and remove unnecessary variable swap. >> >> This makes the code easier to read and maintain. >> >> This code was detected with the help of Coccinelle. >> >> Signed-off-by: Gustavo A. R. Silva > > Reviewed-by: Harry Wentland > Thank you, Harry. -- Gustavo A. R. Silva From 1584343483963266599@xxx Fri Nov 17 19:41:29 +0000 2017 X-GM-THRID: 1583720065663500250 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread