diff options
| author | Rohit kumar <rohit.kr@samsung.com> | 2015-09-30 11:07:35 +0530 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-04-11 11:00:02 +0200 |
| commit | b5065b9e10b75f23eb782ffa19b65384d27045a6 (patch) | |
| tree | affaded86bd3655092d50513184c65d359526869 /drivers/input/evdev.c | |
| parent | baf1d9e59d76cdfa43a66da09a5f7889cac0c250 (diff) | |
UPSTREAM staging: ion: Fix error handling in ion_buffer_create
This patch fixes error handling case when buffer->pages allocation
fails. Also, it removes unreachable code of checking ret variable
although it is not updated.
Signed-off-by: Rohit kumar <rohit.kr@samsung.com>
Reviewed-by: Laura Abbott <labbott@redhat.com>
Suggested-by: Pintu Kumar <pintu.k@samsung.com>
Reviewed-by: Pintu Kumar <pintu.k@samsung.com>
Reviewed-by: Gioh Kim <gioh.kim@lge.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit a56d092aa94ebcc9452ddaa47423b9a478aa6aa5)
Change-Id: Ic38b8e3ef0a21de4e38e58b4bb942535fe671ae5
Bug: 34283718
Diffstat (limited to 'drivers/input/evdev.c')
0 files changed, 0 insertions, 0 deletions
