diff options
author | Christophe JAILLET <[email protected]> | 2016-07-16 09:04:40 +0200 |
---|---|---|
committer | Felipe Balbi <[email protected]> | 2016-08-11 15:09:46 +0300 |
commit | bd610c5aa9fcc9817d2629274a27aab81aa77cec (patch) | |
tree | b53eee9ac1dbae5c20b642047cf1d2a481556237 /lib/mpi/mpi-bit.c | |
parent | 63196e989699ddffb4e3d30ca8c3567d408820f4 (diff) |
usb: gadget: uvc: Fix return value in case of error
If this memory allocation fail, we will return 0, which means success.
Return -ENOMEM instead.
Reviewed-by: Laurent Pinchart <[email protected]>
Signed-off-by: Christophe JAILLET <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions