Merge "msm: adsprpc: Print and return appropriate error codes"

This commit is contained in:
qctecmdr 2020-05-22 16:30:12 -07:00 • committed by Gerrit - the friendly Code Review server
commit fe64ebf9ac
2 changed files with 531 additions and 247 deletions

File diff suppressed because it is too large Load diff

View file

@ -133,6 +133,19 @@ do {\
} while (0)
#endif
#define ADSPRPC_ERR(fmt, args...)\
pr_err("Error: adsprpc (%d): %s: %s: " fmt, __LINE__,\
current->comm, __func__, ##args)
#define ADSPRPC_INFO(fmt, args...)\
pr_info("Info: adsprpc (%d): %s: %s: " fmt, __LINE__,\
current->comm, __func__, ##args)
#define ADSPRPC_WARN(fmt, args...)\
pr_warn("Warning: adsprpc (%d): %s: %s: " fmt, __LINE__,\
current->comm, __func__, ##args)
#define ADSPRPC_DEBUG(fmt, args...)\
pr_debug("Debug: adsprpc (%d): %s: %s: " fmt, __LINE__,\
current->comm, __func__, ##args)
#define remote_arg64_t union remote_arg64
struct remote_buf64 {