Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754084AbeAGQBG (ORCPT + 1 other); Sun, 7 Jan 2018 11:01:06 -0500 Received: from mout.web.de ([212.227.15.3]:52969 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753897AbeAGQBE (ORCPT ); Sun, 7 Jan 2018 11:01:04 -0500 Subject: [PATCH v3 0/3] video-SMSC UFX: Adjustments for two function implementations To: linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org, Bartlomiej Zolnierkiewicz , Steve Glendinning Cc: LKML , kernel-janitors@vger.kernel.org References: <1736749.UIs06O4xc5@amdc3058> From: SF Markus Elfring Message-ID: Date: Sun, 7 Jan 2018 17:00:49 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: <1736749.UIs06O4xc5@amdc3058> Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:eyzd0gAVpESl01FMa4IEPnbzlHB8FRBhfnvtlt35XHOuAAD6Cl0 /jxd7ORv+1zbQd2IwAX6kh+6VhY+JlmA7EMhEcDs5rJusz/KYwDI+cIw8gZEnNPh343MBIq P4aHHhp1/2xYlmUdfEtBPNAnCCpiv06NIoFQVWJ+BjqRhfAhFy4fN3H3AUjFWWy110cvEcQ wKVgM2O2/b3n8tD+B8jNg== X-UI-Out-Filterresults: notjunk:1;V01:K0:tLI7Yun+L7k=:PKPWPnyw8T7kyfwgNEvL+M pZ3Alth32RKvWQGTYuAwM4tOdZWX0Q5sCbHmVaoAb5iGIYLBmN4SEnao5h7/CkmvJ1dCUfZGB PAcQnsrcXl5nuogq943cA3+PkW1Du86RR2wW5/0XFOBsKHaCznoXMO+NiP9W3ySrCcABQbrEK kQ9DoYENo2US6uklHFEjXb0JO9BaJZfZ8kpTjznFy4YhixDZTVbPtgrE9UmggwhkEoVHUxDZt SvxhiekiOTJYFBFSiezMqy5OaKQvKfFZ2nxTM0KIKQC0bY7i2ybvsv1d6tEM+pS/CE6p7ACU9 PT0QGL5WFBGz53NxVnFOHYzW1+UdwX2ZTAWNbTdhDEYHFjCWfzfvjFsVRobBx0cYqgQdLNLsC WqTm+W0391R5vsd8QyoIVvVSAfpKIeaYUsoRDCZExk+iRV95UtvscEEiYYGI2gklAyntKang+ tTR4x+y5sTmmcitncLgp94iHGID/lZaPtXZHQdoXYjhZlnNdeeQ3+24dh3Da2U3wdyoX1uzQz X8s8K/Ebl/fh2mJwNOqfAo1ag5CMA64m0LI+du/cdWx8En6KOIRBfYgpbW73edklLNfwOGXAC WlfeNbNhQQACI9O2mVEXxpZwsZbfTWsf7EB3y/J1yVYdzowpm3wS1PrfFUMkVDwjgVWfa8vkp q10bFYR1nlzLz53O697WfaAJJF3+n7+0I2uFJaDbRdIr6JnFEnCtyBsMTCucYdtx9s+bhEAf4 zFtoH5ewLI+9dnAgcy694FiFWKPt1Hw1BxDn9DDPYB1NaKyX6Uv7gSyPBR/lixGy7zzfMjzjA qNuc6vmI9vsR1SmqLqSR+DM0d/P85iLst1lLsXhqnB7+BMagis= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: From: Markus Elfring Date: Sun, 7 Jan 2018 16:54:32 +0100 Three update suggestions were taken into account from static source code analysis. Markus Elfring (3): Less checks in ufx_usb_probe() after error detection Return an error code only as a constant in ufx_realloc_framebuffer() Delete an error message for a failed memory allocation in ufx_realloc_framebuffer() --- v3: Rebased on Linux next-20180105. drivers/video/fbdev/smscufx.c | 59 ++++++++++++++++--------------------------- 1 file changed, 22 insertions(+), 37 deletions(-) -- 2.15.1