aboutsummaryrefslogtreecommitdiff
path: root/doxygen
diff options
context:
space:
mode:
authordvdli <dvdli@google.com>2020-10-29 16:24:43 +0800
committerdvdli <dvdli@google.com>2020-10-29 16:24:43 +0800
commitb39234c6a35378abb18e81ea0967331f68fd9029 (patch)
tree350cbb29e72f9b551ea7cd6e18b6b84d4dfdc969 /doxygen
parentc0c5e7534011a9a3d64b74e0f20a3417fbbbc290 (diff)
AOSP CL "pcm: Fix usage of oops() function for use of strerror."
https://android.googlesource.com/platform/external/tinyalsa/+/50028cd233f8cf8a084e950c951eefc01e1cd15c commit 50028cd233f8cf8a084e950c951eefc01e1cd15c author John Muir <muirj@google.com> pcm: Fix usage of oops() function for use of strerror. The oops() function expected errno to be passed in, but at some point it was broken to look at errno itself, and ignore the passed-in value. Fix the oops() function to check the passed-in value, and modify uses of oops() to actually pass in errno and not -errno or the return value from the errored function call. Bug: None Test: pcm error code printed correctly. Change-Id: I555e1eda0cdd0cc9b94e05423d341f1c08f8e485 (cherry picked from commit 2c1d902ace5f78dcff0c39740642d269b2e17dff) Note: the oops in pcm_mmap_transfer was removed.
Diffstat (limited to 'doxygen')
0 files changed, 0 insertions, 0 deletions