diff options
| author | Rohit kumar <rohit.kr@samsung.com> | 2015-09-30 08:37:35 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-02 12:42:03 +0300 |
| commit | a56d092aa94ebcc9452ddaa47423b9a478aa6aa5 (patch) | |
| tree | 94f83b532a831b80fc214edfcdc23b60755c128d /include/linux/timerqueue.h | |
| parent | bc719854d2c0f338fb784560e80e216dcfbe5332 (diff) | |
| download | linux-a56d092aa94ebcc9452ddaa47423b9a478aa6aa5.tar.xz | |
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>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
