lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <PSXP216MB066270BD6566CA5CDCEB1C7AAAEA0@PSXP216MB0662.KORP216.PROD.OUTLOOK.COM>
Date:   Tue, 18 Jun 2019 06:13:29 +0000
From:   Jingoo Han <jingoohan1@...il.com>
To:     Bartlomiej Zolnierkiewicz <b.zolnierkie@...sung.com>,
        "linux-fbdev@...r.kernel.org" <linux-fbdev@...r.kernel.org>,
        "dri-devel@...ts.freedesktop.org" <dri-devel@...ts.freedesktop.org>,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
CC:     Han Jingoo <jingoohan1@...il.com>
Subject: Re: [PATCH 1/3] video: fbdev: s3c-fb: return -ENOMEM on
 framebuffer_alloc() failure

On 6/14/19, 11:47 PM, Bartlomiej Zolnierkiewicz wrote:
> 
> Fix error code from -ENOENT to -ENOMEM.
>
> Cc: Jingoo Han <jingoohan1@...il.com>
Acked-by: Jingoo Han <jingoohan1@...il.com>

Best regards,
Jingoo Han

> Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@...sung.com>
> ---
>  drivers/video/fbdev/s3c-fb.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> Index: b/drivers/video/fbdev/s3c-fb.c
> ===================================================================
> --- a/drivers/video/fbdev/s3c-fb.c
> +++ b/drivers/video/fbdev/s3c-fb.c
> @@ -1191,7 +1191,7 @@ static int s3c_fb_probe_win(struct s3c_f
>  				   palette_size * sizeof(u32), sfb->dev);
>  	if (!fbinfo) {
>  		dev_err(sfb->dev, "failed to allocate framebuffer\n");
> -		return -ENOENT;
> +		return -ENOMEM;
>  	}
>  
>  	windata = sfb->pdata->win[win_no];

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ