aboutsummaryrefslogtreecommitdiff
path: root/include/linux/rfkill.h
diff options
context:
space:
mode:
authormspector <mspector@google.com>2017-01-26 17:10:17 -0800
committerMister Oyster <oysterized@gmail.com>2017-04-13 12:35:13 +0200
commit8433efcc876aab9c0f2495d8d5a288c2e99b4308 (patch)
treef539f6c33669e8b13d50609d49d6a3874cb54d5f /include/linux/rfkill.h
parentbc38a40815a6221528df225f5696c3ac06c01655 (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/linux/rfkill.h')
0 files changed, 0 insertions, 0 deletions