diff options
| author | mspector <mspector@google.com> | 2017-01-26 17:10:17 -0800 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-04-13 12:35:13 +0200 |
| commit | 8433efcc876aab9c0f2495d8d5a288c2e99b4308 (patch) | |
| tree | f539f6c33669e8b13d50609d49d6a3874cb54d5f /include | |
| parent | bc38a40815a6221528df225f5696c3ac06c01655 (diff) | |
ANDROID: Fixing incorrect return value on error
This fixes an incorrect return value from
should_call_arch_setup_additional_pages when kernel_read returns a
different length than expected, the length is returned.
The fix is to return -EIO instead.
Signed-off-by: mspector <mspector@google.com>
Bug: 34749002
Change-Id: I484ad801ce114b4dfe9f62b8b83c960cb693c9b6
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
