Received: by 10.213.65.68 with SMTP id h4csp453420imn; Wed, 28 Mar 2018 06:50:31 -0700 (PDT) X-Google-Smtp-Source: AIpwx49zoSAO13R8LBHuqFSTjL8JaEtzT+wC5ufZW2/NcuThHMRrrnCeZvomlL7Otm4BvWh7/tG4 X-Received: by 2002:a17:902:9a05:: with SMTP id v5-v6mr3133639plp.313.1522245031782; Wed, 28 Mar 2018 06:50:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522245031; cv=none; d=google.com; s=arc-20160816; b=X8ufG1cBlOuHFkOCUGwceM1mRT1zxoq1XwKgVTmbAZLORTRVj+6OZmGBDU8Q+ZjQFx ov74+15kLhrxTOmsERJdx+50Aotyui5QpLw98Bn+XCIg0VZS/j8sC2cZ9eErW8uKmmIR 3GnD/S8MGXDuJRMg7dqXzF29z1jedm+oA72t2ZJY/k5e9CqMmtNJgcds9KY0wOOC0ezh 1kZC+icrAM6cKisQpL0YuMcONsMilXKOAEg5+AU2EFPthvXZMxk+ak1uWzLKlBAtZmRH PnjLAI6PTQDVKfKgxzxqnhz6qJdeYxwQZfkSmlKOQQpWjWh3yIXKisQib8P/guADmqAv 2XBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:cms-type :content-transfer-encoding:mime-version:in-reply-to:user-agent :message-id:date:subject:cc:to:from:dkim-signature:dkim-filter :arc-authentication-results; bh=ePXQx0OBozW6TRc4NF5s2aAXHeqCbaMTFde2Vp7fHd8=; b=00ZXDh0HsFfVmfMONuvGECAWUaQQNr3BQm+04YhQj+fWSUX7Us9mfhhWcIDoOyVWLO iMapwphIFP51CVNdVEXAwK1MIChmrn78lnybRDTohILNTRWEDLq/jgMPaYNzxyNXE0BP L0KB7d6YCoKT/g3YMYQFyAZebODeD4ii0/He7AZH50QV0BGKNbe9MB0gY7U4NB+gaewV qWPvj4lRBOry7YqXS7StPl6mFIpkSnShoJ/NupXaD9JlRBAUERoAtbvGmSkNYMcaI7VR ifFQrOFSTs384tpBj+gL5xV/RHgGXS+NUiu4F6tC9Ejj4CL94wRWuyIP6V6CxBayUL48 VxUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=ODbSI7Nj; 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=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 99-v6si3739746plc.601.2018.03.28.06.50.17; Wed, 28 Mar 2018 06:50:31 -0700 (PDT) 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=@samsung.com header.s=mail20170921 header.b=ODbSI7Nj; 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=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753383AbeC1NtE (ORCPT + 99 others); Wed, 28 Mar 2018 09:49:04 -0400 Received: from mailout3.samsung.com ([203.254.224.33]:57763 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752749AbeC1NtB (ORCPT ); Wed, 28 Mar 2018 09:49:01 -0400 Received: from epcas1p2.samsung.com (unknown [182.195.41.46]) by mailout3.samsung.com (KnoxPortal) with ESMTP id 20180328134859epoutp03be8b564568c95d9fb47f8a0be24c059b~gGbUnzZ5G1245912459epoutp03z; Wed, 28 Mar 2018 13:48:59 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout3.samsung.com 20180328134859epoutp03be8b564568c95d9fb47f8a0be24c059b~gGbUnzZ5G1245912459epoutp03z DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1522244939; bh=ePXQx0OBozW6TRc4NF5s2aAXHeqCbaMTFde2Vp7fHd8=; h=From:To:Cc:Subject:Date:In-reply-to:References:From; b=ODbSI7Nj28fxlJN9W8u0B0tk40pimxR0nrj2XC/Q67X8UHYnjPjcTuurFoFvs36aB buNdHE2rgq2DdoMxAupK+aVn4IHtRIctUR1yWpHsnY3Q7b4MpQCqzYEqvFH1IQSWq2 08FoyGr5mcyPeqnyqixXs3RGa0R6O8j3JyBmB7Tc= Received: from epsmges1p5.samsung.com (unknown [182.195.42.57]) by epcas1p3.samsung.com (KnoxPortal) with ESMTP id 20180328134858epcas1p3266ac32532aeb2a464b482b9455a4e71~gGbTrGNKL2475924759epcas1p3L; Wed, 28 Mar 2018 13:48:58 +0000 (GMT) Received: from epcas1p2.samsung.com ( [182.195.41.46]) by epsmges1p5.samsung.com (Symantec Messaging Gateway) with SMTP id 88.3F.04084.A4D9BBA5; Wed, 28 Mar 2018 22:48:58 +0900 (KST) Received: from epsmgms2p1new.samsung.com (unknown [182.195.42.142]) by epcas1p4.samsung.com (KnoxPortal) with ESMTP id 20180328134857epcas1p4de6df48e9c746d750b1bcf434a3effec~gGbSxnZOR2744427444epcas1p40; Wed, 28 Mar 2018 13:48:57 +0000 (GMT) X-AuditID: b6c32a39-579ff70000000ff4-92-5abb9d4a4ec1 Received: from epmmp2 ( [203.254.227.17]) by epsmgms2p1new.samsung.com (Symantec Messaging Gateway) with SMTP id E5.A3.03849.94D9BBA5; Wed, 28 Mar 2018 22:48:57 +0900 (KST) Received: from amdc3058.localnet ([106.120.53.102]) by mmp2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0P6A008UTZPKDS70@mmp2.samsung.com>; Wed, 28 Mar 2018 22:48:57 +0900 (KST) From: Bartlomiej Zolnierkiewicz To: SF Markus Elfring Cc: linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org, Steve Glendinning , LKML , kernel-janitors@vger.kernel.org Subject: Re: [PATCH v3 2/3] video: smscufx: Return an error code only as a constant in ufx_realloc_framebuffer() Date: Wed, 28 Mar 2018 15:48:55 +0200 Message-id: <8231980.bzy6TRmRmS@amdc3058> User-Agent: KMail/4.13.3 (Linux/3.13.0-96-generic; KDE/4.13.3; x86_64; ; ) In-reply-to: <31ecfef4-a193-dea0-0ff3-0d5a108a14f3@users.sourceforge.net> MIME-version: 1.0 Content-transfer-encoding: 7Bit Content-type: text/plain; charset="us-ascii" X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrHIsWRmVeSWpSXmKPExsWy7bCmnq7X3N1RBjdvGVtc+fqezeJ853Jm i623pC1O9H1gtbi8aw6bRfOnV0wObB73u48zefxvvszi0XSqndXj8ya5AJYoLpuU1JzMstQi fbsErozmuxtYC9azVHzc0s/awHiMuYuRk0NCwESi+9Iipi5GLg4hgR2MEucW7GKEcL4zSqxf MIkNpuroxwXMEIkNjBKTex9DtXxllNj+dToTSBWbgJXExPZVQO0cHCICphJ/ToSAhJkF9jJK /LzAAWILCxRJzJjWCTaURUBVYsKRbUwg5bwCmhJ79pSChEUFvCS27GsHm8gp4Cnxb9ZdRhCb V0BQ4sfkeywQI+Ul9u2fygph60icPbYO7GgJgS1sEt93H2WCONpF4sDB/YwQtrDEq+Nb2EF2 SQhIS1w6agtR38wo8W3HHmhQTGCU2LNeCMK2ljh8/CLUAj6Jd197WCF6eSU62qBKPCSmrD3I AhF2lHi1IRASIrcZJe5M/88+gVF2FpKzZyE5exaSsxcwMq9iFEstKM5NTy02LDDVK07MLS7N S9dLzs/dxAhOBVqWOxiPnfM5xCjAwajEw1sQsytKiDWxrLgy9xCjBAezkgjve43dUUK8KYmV ValF+fFFpTmpxYcYpTlYlMR5AwJcooQE0hNLUrNTUwtSi2CyTBycUg2MwlNEC8r+sjjapEt1 mpl/ibXQEU2tvn/z2Zn0v4L+HP6PK7oajnX0VqSkv/ZOzNRI7Paf6CO386VIwOPuKz+b2RsD AyLNJ097uyd3jV3ryxSf7zqJwdo8q1znGT2e/NIudWH4M8dlzNMFiuesqY14M620a2WE34L6 aSvTZbITbdd5SWzax6LEUpyRaKjFXFScCADPLGtwAQMAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrJLMWRmVeSWpSXmKPExsVy+t9jQV3PubujDJ6cN7S48vU9m8X5zuXM FltvSVuc6PvAanF51xw2i+ZPr5gc2Dzudx9n8vjffJnFo+lUO6vH501yASxRXDYpqTmZZalF +nYJXBnNdzewFqxnqfi4pZ+1gfEYcxcjJ4eEgInE0Y8LgGwuDiGBdYwSm07+ZIVwvjJKPG++ yAJSxSZgJTGxfRVjFyMHh4iAqcSfEyEgNcwCexklPnVfZQWpERYokpgxrZMNxGYRUJWYcGQb E0g9r4CmxJ49pSBhUQEviS372plAbE4BT4l/s+4yQuy6yyhx4sdLsF28AoISPybfA7OZBeQl 9u2fygpha0ms33mcaQIj/ywkZbOQlM1CUraAkXkVo2RqQXFuem6xUYFhXmq5XnFibnFpXrpe cn7uJkZgAG87rNW3g/H+kvhDjAIcjEo8vAUxu6KEWBPLiitzDzFKcDArifC+19gdJcSbklhZ lVqUH19UmpNafIhRmoNFSZz3dt6xSCGB9MSS1OzU1ILUIpgsEwenVAPjhMniTGqCB5fN8pGf 8ot3nXhPX7u21oWEFJ/U/JfibgHfq/lk/6+cJGxrwb7XRrpJNe7qhAd3JS64rVr5z6+O+cKt TIH9604edP/rtDFkyffE+bJS7dtMWhbZML5b9keD38ZhU3mY0sJrHy3u81/Un629cLdAWF/H 9XdGE1mq97nknbvlHPBViaU4I9FQi7moOBEAE10MzVwCAAA= X-CMS-MailID: 20180328134857epcas1p4de6df48e9c746d750b1bcf434a3effec X-Msg-Generator: CA CMS-TYPE: 101P X-CMS-RootMailID: 20171125204312epcas2p149d6487ac83e886f95aefe0b35aef1b0 X-RootMTR: 20171125204312epcas2p149d6487ac83e886f95aefe0b35aef1b0 References: <31ecfef4-a193-dea0-0ff3-0d5a108a14f3@users.sourceforge.net> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sunday, January 07, 2018 05:04:04 PM SF Markus Elfring wrote: > From: Markus Elfring > Date: Sun, 7 Jan 2018 16:07:11 +0100 > > * Return an error code without storing it in an intermediate variable. > > * Delete the label "error" and local variable "retval" > which became unnecessary with this refactoring. > > Signed-off-by: Markus Elfring Patch queued for 4.17, thanks. Best regards, -- Bartlomiej Zolnierkiewicz Samsung R&D Institute Poland Samsung Electronics