aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorPavitrakumar Managutte <[email protected]>2014-10-22 19:33:22 +0530
committerFelipe Balbi <[email protected]>2014-10-23 14:49:35 -0500
commit9b1763553a89b2a84881119eeabfccdb803bb468 (patch)
treeb963040d5e02eadb9546a6caee16ea02cec2579e /lib/memory-notifier-error-inject.c
parent3a8146aafcedd93e42045598802e1eb71cae68c0 (diff)
usb: gadget: function: Fixed the return value on error path
Fixed the return value on failure. status variable is set to 0 at usb_assign_descriptors call and the same is returned on error which is incorrect. Acked-by: Sebastian Andrzej Siewior <[email protected]> Signed-off-by: Pavitrakumar Managutte <[email protected]> Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions