Received: by 10.213.65.68 with SMTP id h4csp447763imn; Wed, 28 Mar 2018 06:44:18 -0700 (PDT) X-Google-Smtp-Source: AIpwx49xsPH+pbKwEmAFq2h2UKvK/p12nhyLrRzlEuoqnPd3VnuHCPZdZCKBJQeRHbI3Qwu0NZe1 X-Received: by 2002:a17:902:b943:: with SMTP id h3-v6mr3889947pls.1.1522244657963; Wed, 28 Mar 2018 06:44:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522244657; cv=none; d=google.com; s=arc-20160816; b=DPuUD1NpKOvF/B4USNLFqADyH5MSJhfkGoG7WheroL4b5ENy0qBfxOEd5e1EdX7lbs 8UGnQJ+mHtE7Nbafy1vabq5UUoqlYHj5KKbvUFXL59QixCgii4K+Hg8fpeCNK7xRgY1Y YdEi8CryCKiPOau+ZaSGv1eNGOcgz2iZbR5rVMWAz6hpaL3sAI5KW4e8QQH1zx4O/TKk 4j91p0YqycW77I9e/4/v9/mP1YuvUN3QRkYhWDkKlCwje3rWmk0ocA5cWj1dvbRagvPE yBNKKfR0dQToBKlmRRCh1ThGAquKW4e0HHohKKsKbXaNtkF8ZDH94vQlGvKN+BTxk6Hr IXww== 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=02xxVGRfKOzdlDfqW8iI8ZVn+ZR3jxvJ1FqsD5TJCS8=; b=yfGmfu/9S1kyGfN0omz3p4YUY+UDE474sKawwDhQH08VpvxN3Nc4mCg/U20/bdsdlI 2aYK1r3z2loLhTuWm3yfBEhV8rJUlfbQBgtP4cgzHQXNumt0jG0IHe+aNhgw0RkC0ITN AQE9ypHNOtY4za4ypfNLysYstnm4FT6KGSbcSXPpagtUo4T6y6LAryYBoH42KLDYl9Qr y4XuG6iEhg0pqvyUuFk5vnL5ODy1Y+QVFvIB67lLI3OI/LlNVFTsnai0EsUFMTSCo8+0 YBaxigpvp5pNl5Ce1jvxCyGUZ46wXD7Kxn4l2O1i7oihZ+fmPzg08pL5KNNf3mGAnPvj gowg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=Uf1C8n7/; 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 b6si2499881pgv.425.2018.03.28.06.44.03; Wed, 28 Mar 2018 06:44:17 -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=Uf1C8n7/; 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 S1753270AbeC1Nmv (ORCPT + 99 others); Wed, 28 Mar 2018 09:42:51 -0400 Received: from mailout4.samsung.com ([203.254.224.34]:59666 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751207AbeC1Nmt (ORCPT ); Wed, 28 Mar 2018 09:42:49 -0400 Received: from epcas2p4.samsung.com (unknown [182.195.41.56]) by mailout4.samsung.com (KnoxPortal) with ESMTP id 20180328134247epoutp04e80c0cf13fefab196bcc203a54b49b36~gGV56yciK1053710537epoutp04Y; Wed, 28 Mar 2018 13:42:47 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout4.samsung.com 20180328134247epoutp04e80c0cf13fefab196bcc203a54b49b36~gGV56yciK1053710537epoutp04Y DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1522244567; bh=02xxVGRfKOzdlDfqW8iI8ZVn+ZR3jxvJ1FqsD5TJCS8=; h=From:To:Cc:Subject:Date:In-reply-to:References:From; b=Uf1C8n7/X5tbhfBNB1xk0rVu9EAaY5DK7zpqut+IMmH5hWhewtg49yrLSA4vuS7y/ CRkYeA9CjRrqGGN8SUf8J+QczYpzKu/hpnxCEIfQ/OiHSc74/QvLkEU8jT/rYPOAJ1 fbBTZM0RImveFlpG5enT20/VPLAPf+FD9W7KwvZI= Received: from epsmges2p2.samsung.com (unknown [182.195.42.70]) by epcas2p3.samsung.com (KnoxPortal) with ESMTP id 20180328134247epcas2p340aea34aa3aac2e2948f18238dcf2806~gGV5kkeZS0881308813epcas2p37; Wed, 28 Mar 2018 13:42:47 +0000 (GMT) Received: from epcas2p1.samsung.com ( [182.195.41.53]) by epsmges2p2.samsung.com (Symantec Messaging Gateway) with SMTP id 9F.B6.04072.7DB9BBA5; Wed, 28 Mar 2018 22:42:47 +0900 (KST) Received: from epsmgms2p2new.samsung.com (unknown [182.195.42.143]) by epcas2p3.samsung.com (KnoxPortal) with ESMTP id 20180328134246epcas2p38c1479c4a191cad283c2b9f9334e1f82~gGV5O4tIs2796327963epcas2p3_; Wed, 28 Mar 2018 13:42:46 +0000 (GMT) X-AuditID: b6c32a46-b85ff70000000fe8-ae-5abb9bd764af Received: from epmmp2 ( [203.254.227.17]) by epsmgms2p2new.samsung.com (Symantec Messaging Gateway) with SMTP id B8.E2.03827.6DB9BBA5; Wed, 28 Mar 2018 22:42:46 +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 <0P6A00FFEZF9ST20@mmp2.samsung.com>; Wed, 28 Mar 2018 22:42:46 +0900 (KST) From: Bartlomiej Zolnierkiewicz To: SF Markus Elfring Cc: linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org, Bernie Thompson , LKML , kernel-janitors@vger.kernel.org Subject: Re: [PATCH v2 1/2] video: udlfb: Return an error code only as a constant in dlfb_realloc_framebuffer() Date: Wed, 28 Mar 2018 15:42:44 +0200 Message-id: <60893411.8iluP6siGW@amdc3058> User-Agent: KMail/4.13.3 (Linux/3.13.0-96-generic; KDE/4.13.3; x86_64; ; ) In-reply-to: <632abf1e-8c40-cbd2-4bbe-5dfdf89cb95f@users.sourceforge.net> MIME-version: 1.0 Content-transfer-encoding: 7Bit Content-type: text/plain; charset="us-ascii" X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrAIsWRmVeSWpSXmKPExsWy7bCmqe712bujDJ4v4rK4eP8bi8WVr+/Z LM53Lme22HpL2uJE3wdWi8u75rA5sHnc7z7O5PF0ahebR9OpdlaPz5vkAliiuGxSUnMyy1KL 9O0SuDIO7j7CXrCepWLTvWOMDYzHmLsYOTgkBEwkTvbUdjFycQgJ7GCUuL5iGguE851R4sGf y4xdjJxgRYcWL2eGSGxglNg+YQMjhPOVUWLH2mZ2kCo2ASuJie2rGEHGigiYSvw5EQJSwyyw kVGi++deJpAaYYFCiR27trOA2CwCqhInz29hA7F5BbQk+m6/A5sjKuAlsWVfOxPIHE4BT4nt c30hSgQlfky+B9bKLCAvsW//VFYIW0fi7LF1YPdICGxgk9h5pY8V4moXiesN/6A+EJZ4dXwL O4QtLfFs1UaohmZGiW879jBDJCYwSuxZLwRhW0scPn4RagOfRMfhv+yQ8OKV6GiDKvGQeLJv MRuE7Sjx+2w/NOhuM0psu/2BaQKj7Cwkh89CcvgsJIcvYGRexSiWWlCcm55abFRgpFecmFtc mpeul5yfu4kRnA603HYwLjnnc4hRgINRiYe3IGZXlBBrYllxZe4hRgkOZiUR3vcau6OEeFMS K6tSi/Lji0pzUosPMUpzsCiJ87YGuEQJCaQnlqRmp6YWpBbBZJk4OKUaGMUvGDBmNVya6v2M ff20793JC76t05da8bQv/PLPG65F+apyy/VCkop3nRANOpobUWh2wHfh1W+nmKtbzs+w/WcS tK560f/Jtj8iIt1uK3Z8+RShyuI9e4v0kZ9lC5buV1kwYcbZFlHlytfP+4LLWLa2zLgWEbly /uS/ogu373XozY/wTXrC1aDEUpyRaKjFXFScCADiU9VNAwMAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrJLMWRmVeSWpSXmKPExsVy+t9jQd1rs3dHGZy4Z2Jx8f43FosrX9+z WZzvXM5ssfWWtMWJvg+sFpd3zWFzYPO4332cyePp1C42j6ZT7awenzfJBbBEcdmkpOZklqUW 6dslcGUc3H2EvWA9S8Wme8cYGxiPMXcxcnJICJhIHFq8HMjm4hASWMcocW7HAjYI5yujxJF7 T9lAqtgErCQmtq9i7GLk4BARMJX4cyIEpIZZYCOjxNOr81hAaoQFCiV27NoOZrMIqEqcPL8F rJdXQEui7/Y7dhBbVMBLYsu+diaQOZwCnhLb5/pC7LrLKDFr7WRWiHpBiR+T74HNYRaQl9i3 fyorhK0lsX7ncaYJjPyzkJTNQlI2C0nZAkbmVYySqQXFuem5xUYFRnmp5XrFibnFpXnpesn5 uZsYgQG87bBW/w7Gx0viDzEKcDAq8fAWxOyKEmJNLCuuzD3EKMHBrCTC+15jd5QQb0piZVVq UX58UWlOavEhRmkOFiVxXv78Y5FCAumJJanZqakFqUUwWSYOTqkGxsObv7ytdE+9fa5OUCnx 6gflWew/Vmdu9DA9+KlyVtm0eTK3W/2WFKYslHP5sbXRZyb3lZcta6J37Lrfnb5ILsH0/U0p tWBOBrF7wiIsR7qPK08OEo2tudt5+mKpx+bpU3qua9vlLWHeJm+lGmu8R/lW+wHJA/OSNLUn /fFUcXLeFXnidTGvsRJLcUaioRZzUXEiAJ78EGxcAgAA X-CMS-MailID: 20180328134246epcas2p38c1479c4a191cad283c2b9f9334e1f82 X-Msg-Generator: CA CMS-TYPE: 102P X-CMS-RootMailID: 20171124204825epcas1p41626d598b6e437dfb4c6b648e3730cc1 X-RootMTR: 20171124204825epcas1p41626d598b6e437dfb4c6b648e3730cc1 References: <25aee051-12fb-de5f-c806-f419fa4c0ef1@users.sourceforge.net> <632abf1e-8c40-cbd2-4bbe-5dfdf89cb95f@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 02:34:51 PM SF Markus Elfring wrote: > From: Markus Elfring > Date: Sun, 7 Jan 2018 14:02:36 +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