diff options
| author | Octavian Purdila <[email protected]> | 2014-11-18 14:57:57 +0200 |
|---|---|---|
| committer | Lee Jones <[email protected]> | 2014-11-19 17:12:19 +0000 |
| commit | 7ca2b1c6724b150d8305ce06e4b07904ecbcb3fb (patch) | |
| tree | 963bedac8667475277826c83958302c3ae6de6ef /scripts/objdiff | |
| parent | 6732127f62a7635db072294c74795a20a8996db2 (diff) | |
mfd: dln2: Fix _dln2_transfer return code
If wait_for_completion_interruptible_timeout returns a positive value
it may be propagated as the return value of _dln2_transfer. This
contradicts the documentation of the function and exposes unnecessary
internals to the callers.
This patch makes sure to set the return value to 0 in that case.
Reported-by: Julia Lawall <[email protected]>
Signed-off-by: Octavian Purdila <[email protected]>
Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions