diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2017-11-09 18:09:28 +0100 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> | 2017-11-09 18:09:28 +0100 |
commit | 8cae353e6b01ac3f18097f631cdbceb5ff28c7f3 (patch) | |
tree | 6e33ed0ebd4d330d55347d117207b69d693ac587 /drivers/bcma/driver_gmac_cmn.c | |
parent | video: fbdev: au1200fb: Fix a potential double free (diff) | |
download | linux-8cae353e6b01ac3f18097f631cdbceb5ff28c7f3.tar.xz linux-8cae353e6b01ac3f18097f631cdbceb5ff28c7f3.zip |
video: fbdev: au1200fb: Return an error code if a memory allocation fails
'ret' is known to be 0 at this point.
In case of memory allocation error in 'framebuffer_alloc()', return
-ENOMEM instead.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Cc: Tejun Heo <tj@kernel.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Diffstat (limited to 'drivers/bcma/driver_gmac_cmn.c')
0 files changed, 0 insertions, 0 deletions