diff options
| author | Pan Bian <[email protected]> | 2016-12-03 12:39:33 +0000 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2017-02-03 09:58:37 +0000 |
| commit | d54a90c4c19307986effa50a93e47d1df7a132a6 (patch) | |
| tree | f510943520c92ef3b9aa19855ea331a1b11ff0d5 /drivers/media/v4l2-core/v4l2-async.c | |
| parent | [media] mtk-vcodec: use V4L2_DEC_CMD_STOP to implement flush (diff) | |
| download | kernel-d54a90c4c19307986effa50a93e47d1df7a132a6.tar.gz kernel-d54a90c4c19307986effa50a93e47d1df7a132a6.zip | |
[media] media: platform: sti: return -ENOMEM on errors
Function bdisp_debugfs_create() returns 0 even on errors. So its caller
cannot detect the errors. It may be better to return "-ENOMEM" on the
exception paths.
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=188801
Signed-off-by: Pan Bian <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'drivers/media/v4l2-core/v4l2-async.c')
0 files changed, 0 insertions, 0 deletions
