summaryrefslogtreecommitdiffstats
path: root/mm/kmemleak-test.c
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz2019-06-28 12:30:08 +0200
committerBartlomiej Zolnierkiewicz2019-06-28 12:30:08 +0200
commit0adcdbcb179624d7b3677264f2cd228e7d89eea9 (patch)
tree72c9a50d59fec3ebfb463604efcb17c198b831de /mm/kmemleak-test.c
parentvideo: fbdev: intelfb: return -ENOMEM on framebuffer_alloc() failure (diff)
downloadkernel-qcow2-linux-0adcdbcb179624d7b3677264f2cd228e7d89eea9.tar.gz
kernel-qcow2-linux-0adcdbcb179624d7b3677264f2cd228e7d89eea9.tar.xz
kernel-qcow2-linux-0adcdbcb179624d7b3677264f2cd228e7d89eea9.zip
video: fbdev: don't print error message on framebuffer_alloc() failure
framebuffer_alloc() can fail only on kzalloc() memory allocation failure and since kzalloc() will print error message in such case we can omit printing extra error message in drivers (which BTW is what the majority of framebuffer_alloc() users is doing already). Cc: "Bruno Prémont" <bonbons@linux-vserver.org> Cc: Jiri Kosina <jikos@kernel.org> Cc: Benjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Diffstat (limited to 'mm/kmemleak-test.c')
0 files changed, 0 insertions, 0 deletions