Advertisement
DarkAngelGR

Untitled

Dec 26th, 2018
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 176.34 KB | None | 0 0
  1. LD drivers/staging/prima/built-in.o
  2. LD drivers/staging/built-in.o
  3. LD drivers/built-in.o
  4. LINK vmlinux
  5. LD vmlinux.o
  6. MODPOST vmlinux.o
  7. GEN .version
  8. CHK include/generated/compile.h
  9. UPD include/generated/compile.h CC init/version.o
  10. LD init/built-in.o
  11. KSYM .tmp_kallsyms1.o
  12. KSYM .tmp_kallsyms2.o
  13. LD vmlinux SORTEX vmlinux
  14. SYSMAP System.map
  15. OBJCOPY arch/arm64/boot/Image
  16. DTC arch/arm64/boot/dts/qcom/msm8953-qrd-markw.dtb
  17. GZIP arch/arm64/boot/Image.gz
  18. CAT arch/arm64/boot/Image.gz-dtb make[1]: Leaving directory '/home/DarkAngelGR/rr/out/target/product/markw/obj/KERNEL_OBJ'
  19. make: Leaving directory '/home/DarkAngelGR/rr/kernel/xiaomi/msm8953'
  20. Building DTBs
  21. make: Entering directory '/home/DarkAngelGR/rr/kernel/xiaomi/msm8953' make[1]: Entering directory '/home/DarkAngelGR/rr/out/target/product/markw/obj/KERNEL_OBJ'
  22. CHK include/config/kernel.release
  23. GEN ./Makefile CHK include/generated/uapi/linux/version.h
  24. CHK include/generated/utsrelease.h
  25. Using /home/DarkAngelGR/rr/kernel/xiaomi/msm8953 as source for kernel
  26. CALL /home/DarkAngelGR/rr/kernel/xiaomi/msm8953/scripts/checksyscalls.sh
  27. make[2]: 'include/generated/vdso-offsets.h' is up to date.
  28. make[1]: Leaving directory '/home/DarkAngelGR/rr/out/target/product/markw/obj/KERNEL_OBJ'
  29. make: Leaving directory '/home/DarkAngelGR/rr/kernel/xiaomi/msm8953'
  30. Building Kernel Modules
  31. make: Entering directory '/home/DarkAngelGR/rr/kernel/xiaomi/msm8953'
  32. make[1]: Entering directory '/home/DarkAngelGR/rr/out/target/product/markw/obj/KERNEL_OBJ'
  33. CHK include/config/kernel.release
  34. GEN ./Makefile
  35. CHK include/generated/uapi/linux/version.h
  36. CHK include/generated/utsrelease.h
  37. /home/DarkAngelGR/rr/kernel/xiaomi/msm8953/kernel/Makefile:150: *** No X.509 certificates found ***
  38. Using /home/DarkAngelGR/rr/kernel/xiaomi/msm8953 as source for kernel
  39. CALL /home/DarkAngelGR/rr/kernel/xiaomi/msm8953/scripts/checksyscalls.sh
  40. make[2]: 'include/generated/vdso-offsets.h' is up to date.
  41. /home/DarkAngelGR/rr/kernel/xiaomi/msm8953/kernel/Makefile:150: *** No X.509 certificates found ***
  42. Building modules, stage 2.
  43. MODPOST 0 modules
  44. make[1]: Leaving directory '/home/DarkAngelGR/rr/out/target/product/markw/obj/KERNEL_OBJ'
  45. make: Leaving directory '/home/DarkAngelGR/rr/kernel/xiaomi/msm8953'
  46. ninja: build stopped: subcommand failed.
  47. 00:41:32 ninja failed with: exit status 1
  48.  
  49. #### failed to build some targets (36:44 (mm:ss)) ####
  50.  
  51. DarkAngelGR@instance-1:~/rr$ brunch markw
  52. Trying dependencies-only mode on anon-existing device tree?
  53.  
  54. ============================================
  55. PLATFORM_VERSION_CODENAME=REL
  56. PLATFORM_VERSION=8.1.0
  57. RR_VERSION=RR-O-v6.2.1-20181226-markw-Unofficial
  58. TARGET_PRODUCT=rr_markw
  59. TARGET_BUILD_VARIANT=userdebug
  60. TARGET_BUILD_TYPE=release
  61. TARGET_PLATFORM_VERSION=OPM1
  62. TARGET_BUILD_APPS=
  63. TARGET_ARCH=arm64
  64. TARGET_ARCH_VARIANT=armv8-a
  65. TARGET_CPU_VARIANT=cortex-a53
  66. TARGET_2ND_ARCH=arm
  67. TARGET_2ND_ARCH_VARIANT=armv7-a-neon
  68. TARGET_2ND_CPU_VARIANT=cortex-a53
  69. HOST_ARCH=x86_64
  70. HOST_2ND_ARCH=x86
  71. HOST_OS=linux
  72. HOST_OS_EXTRA=Linux-4.15.0-1026-gcp-x86_64-with-Ubuntu-16.04-xenial
  73. HOST_CROSS_OS=windows
  74. HOST_CROSS_ARCH=x86
  75. HOST_CROSS_2ND_ARCH=x86_64
  76. HOST_BUILD_TYPE=release
  77. BUILD_ID=OPM7.181205.001
  78. OUT_DIR=/home/DarkAngelGR/rr/out
  79. AUX_OS_VARIANT_LIST=
  80. ============================================
  81. ============================================
  82. PLATFORM_VERSION_CODENAME=REL
  83. PLATFORM_VERSION=8.1.0
  84. TARGET_PRODUCT=rr_markw
  85. TARGET_BUILD_VARIANT=userdebug
  86. TARGET_BUILD_TYPE=release
  87. TARGET_ARCH=arm64
  88. TARGET_ARCH_VARIANT=armv8-a
  89. TARGET_CPU_VARIANT=cortex-a53
  90. TARGET_2ND_ARCH=arm
  91. TARGET_2ND_ARCH_VARIANT=armv7-a-neon
  92. TARGET_2ND_CPU_VARIANT=cortex-a53
  93. HOST_ARCH=x86_64
  94. HOST_2ND_ARCH=x86
  95. HOST_OS=linux
  96. HOST_OS_EXTRA=Linux-4.15.0-1026-gcp-x86_64-with-Ubuntu-16.04-xenial
  97. HOST_CROSS_OS=windows
  98. HOST_CROSS_ARCH=x86
  99. HOST_CROSS_2ND_ARCH=x86_64
  100. HOST_BUILD_TYPE=release
  101. BUILD_ID=OPM7.181205.001
  102. OUT_DIR=/home/DarkAngelGR/rr/out
  103. ============================================
  104. ninja: no work to do.
  105. ninja: no work to do.
  106. Environment variable BUILD_NUMBER was modified (ea580efb90 => df769fa2ef), regenerating...
  107. [595/1072] including ./packages/apps/ResurrectionOTA/Android.mk ... cp: cannot stat '/home/DarkAngelGR/rr/ota_conf': No such file or directory
  108. [1072/1072] including ./vendor/xiaomi/msm8953-common/Android.mk ... build/core/base_rules.mk:391: warning: overriding commands for target `/home/DarkAngelGR/rr/out/target/product/markw/vendor/lib64/android.hidl.manager@1.0.so'
  109. build/core/base_rules.mk:391: warning: ignoring old commands for target `/home/DarkAngelGR/rr/out/target/product/markw/vendor/lib64/android.hidl.manager@1.0.so'
  110. build/core/base_rules.mk:391: warning: overriding commands for target `/home/DarkAngelGR/rr/out/target/product/markw/vendor/lib/android.hidl.manager@1.0.so'
  111. build/core/base_rules.mk:391: warning: ignoring old commands for target `/home/DarkAngelGR/rr/out/target/product/markw/vendor/lib/android.hidl.manager@1.0.so'
  112. build/core/Makefile:33: warning: overriding commands for target `/home/DarkAngelGR/rr/out/target/product/markw/system/framework/qti-telephony-common.jar'
  113. build/core/base_rules.mk:391: warning: ignoring old commands for target `/home/DarkAngelGR/rr/out/target/product/markw/system/framework/qti-telephony-common.jar'
  114. [ 0% 20/62336] target C: ebtables <= external/ebtables/communication.c external/ebtables/communication.c:498:3: warning: arithmetic on a pointer to void is a GNU extension [-Wpointer-arith]
  115. EBT_MATCH_ITERATE(e, ebt_translate_match, &m_l);
  116. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  117. out/target/product/markw/obj/KERNEL_OBJ/usr/include/linux/netfilter_bridge/ebtables.h:209:25: note: expanded from macro 'EBT_MATCH_ITERATE'
  118. __match = (void *)(e) + __i; \
  119. ~~~~~~~~~~~ ^
  120. external/ebtables/communication.c:500:3: warning: arithmetic on a pointer to void is a GNU extension [-Wpointer-arith]
  121. EBT_WATCHER_ITERATE(e, ebt_translate_watcher, &w_l);
  122. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  123. out/target/product/markw/obj/KERNEL_OBJ/usr/include/linux/netfilter_bridge/ebtables.h:232:27: note: expanded from macro 'EBT_WATCHER_ITERATE'
  124. __watcher = (void *)(e) + __i; \
  125. ~~~~~~~~~~~ ^
  126. external/ebtables/communication.c:754:2: warning: arithmetic on a pointer to void is a GNU extension [-Wpointer-arith]
  127. EBT_ENTRY_ITERATE(repl.entries, repl.entries_size, ebt_translate_chains,
  128. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  129. out/target/product/markw/obj/KERNEL_OBJ/usr/include/linux/netfilter_bridge/ebtables.h:252:31: note: expanded from macro 'EBT_ENTRY_ITERATE'
  130. __entry = (void *)(entries) + __i; \
  131. ~~~~~~~~~~~~~~~~~ ^
  132. external/ebtables/communication.c:765:2: warning: arithmetic on a pointer to void is a GNU extension [-Wpointer-arith]
  133. EBT_ENTRY_ITERATE((char *)repl.entries, repl.entries_size,
  134. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  135. out/target/product/markw/obj/KERNEL_OBJ/usr/include/linux/netfilter_bridge/ebtables.h:252:31: note: expanded from macro 'EBT_ENTRY_ITERATE'
  136. __entry = (void *)(entries) + __i; \
  137. ~~~~~~~~~~~~~~~~~ ^
  138. 4 warnings generated.
  139. [ 0% 22/62336] target C: ebtables <= external/ebtables/libebtc.c external/ebtables/libebtc.c:45:21: warning: use of GNU 'missing =' extension in designator [-Wgnu-designator]
  140. [NF_BR_PRE_ROUTING]"PREROUTING",
  141. ^
  142. =
  143. external/ebtables/libebtc.c:46:18: warning: use of GNU 'missing =' extension in designator [-Wgnu-designator]
  144. [NF_BR_LOCAL_IN]"INPUT",
  145. ^
  146. =
  147. external/ebtables/libebtc.c:47:17: warning: use of GNU 'missing =' extension in designator [-Wgnu-designator]
  148. [NF_BR_FORWARD]"FORWARD",
  149. ^
  150. =
  151. external/ebtables/libebtc.c:48:19: warning: use of GNU 'missing =' extension in designator [-Wgnu-designator]
  152. [NF_BR_LOCAL_OUT]"OUTPUT",
  153. ^
  154. =
  155. external/ebtables/libebtc.c:49:22: warning: use of GNU 'missing =' extension in designator [-Wgnu-designator]
  156. [NF_BR_POST_ROUTING]"POSTROUTING",
  157. ^
  158. =
  159. external/ebtables/libebtc.c:50:18: warning: use of GNU 'missing =' extension in designator [-Wgnu-designator]
  160. [NF_BR_BROUTING]"BROUTING"
  161. ^
  162. =
  163. 6 warnings generated.
  164. [ 0% 23/62336] target C: ebtables <= external/ebtables/useful_functions.c
  165. external/ebtables/useful_functions.c:59:27: warning: incompatible pointer types passing 'struct ether_addr *' to parameter of type 'const struct ether_addr *' [-Wincompatible-pointer-types]
  166. printf("%s", ether_ntoa((struct ether_addr *) mac));
  167. ^~~~~~~~~~~~~~~~~~~~~~~~~
  168. bionic/libc/include/netinet/ether.h:37:42: note: passing argument to parameter herechar* ether_ntoa(const struct ether_addr*) __INTRODUCED_IN(11);
  169. ^
  170. 1 warning generated.
  171. [ 0% 25/62336] target C: ebtables <= external/ebtables/extensions/ebt_among.c
  172. external/ebtables/extensions/ebt_among.c:446:21: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand]
  173. if (info->bitmask && EBT_AMONG_SRC_NEG) {
  174. ^ ~~~~~~~~~~~~~~~~~
  175. external/ebtables/extensions/ebt_among.c:446:21: note: use '&' for a bitwise operation
  176. if (info->bitmask && EBT_AMONG_SRC_NEG) {
  177. ^~
  178. &
  179. external/ebtables/extensions/ebt_among.c:446:21: note: remove constant to silence this warning
  180. if (info->bitmask && EBT_AMONG_SRC_NEG) {
  181. ~^~~~~~~~~~~~~~~~~~~~
  182. 1 warning generated.
  183. [ 0% 115/62336] target thumb C: audio_a...omi/markw/libaudioampl/audio_amplifier. device/xiaomi/markw/libaudioampl/audio_amplifier.c:85:54: warning: unused parameter 'device' [-Wunused-parameter]
  184. static int amp_set_input_devices(amplifier_device_t *device, uint32_t devices)
  185. ^
  186. device/xiaomi/markw/libaudioampl/audio_amplifier.c:85:71: warning: unused parameter 'devices' [-Wunused-parameter]
  187. static int amp_set_input_devices(amplifier_device_t *device, uint32_t devices)
  188. ^
  189. device/xiaomi/markw/libaudioampl/audio_amplifier.c:90:55: warning: unused parameter 'device' [-Wunused-parameter]
  190. static int amp_set_output_devices(amplifier_device_t *device, uint32_t devices)
  191. ^
  192. device/xiaomi/markw/libaudioampl/audio_amplifier.c:90:72: warning: unused parameter 'devices' [-Wunused-parameter]
  193. static int amp_set_output_devices(amplifier_device_t *device, uint32_t devices)
  194. ^
  195. device/xiaomi/markw/libaudioampl/audio_amplifier.c:95:58: warning: unused parameter 'device' [-Wunused-parameter]
  196. static int amp_enable_output_devices(amplifier_device_t *device,
  197. ^
  198. device/xiaomi/markw/libaudioampl/audio_amplifier.c:107:57: warning: unused parameter 'device' [-Wunused-parameter]
  199. static int amp_enable_input_devices(amplifier_device_t *device,
  200. ^
  201. device/xiaomi/markw/libaudioampl/audio_amplifier.c:108:18: warning: unused parameter 'devices' [-Wunused-parameter]
  202. uint32_t devices, bool enable)
  203. ^
  204. device/xiaomi/markw/libaudioampl/audio_amplifier.c:108:32: warning: unused parameter 'enable' [-Wunused-parameter]
  205. uint32_t devices, bool enable)
  206. ^
  207. device/xiaomi/markw/libaudioampl/audio_amplifier.c:113:45: warning: unused parameter 'device' [-Wunused-parameter]
  208. static int amp_set_mode(amplifier_device_t *device, audio_mode_t mode)
  209. ^
  210. device/xiaomi/markw/libaudioampl/audio_amplifier.c:113:66: warning: unused parameter 'mode' [-Wunused-parameter]
  211. static int amp_set_mode(amplifier_device_t *device, audio_mode_t mode)
  212. ^
  213. device/xiaomi/markw/libaudioampl/audio_amplifier.c:118:56: warning: unused parameter 'device' [-Wunused-parameter]
  214. static int amp_output_stream_start(amplifier_device_t *device,
  215. ^
  216. device/xiaomi/markw/libaudioampl/audio_amplifier.c:119:34: warning: unused parameter 'stream' [-Wunused-parameter]
  217. struct audio_stream_out *stream, bool offload)
  218. ^
  219. device/xiaomi/markw/libaudioampl/audio_amplifier.c:119:47: warning: unused parameter 'offload' [-Wunused-parameter]
  220. struct audio_stream_out *stream, bool offload)
  221. ^
  222. device/xiaomi/markw/libaudioampl/audio_amplifier.c:124:55: warning: unused parameter 'device' [-Wunused-parameter]
  223. static int amp_input_stream_start(amplifier_device_t *device,
  224. ^
  225. device/xiaomi/markw/libaudioampl/audio_amplifier.c:125:33: warning: unused parameter 'stream' [-Wunused-parameter]
  226. struct audio_stream_in *stream)
  227. ^
  228. device/xiaomi/markw/libaudioampl/audio_amplifier.c:130:58: warning: unused parameter 'device' [-Wunused-parameter]
  229. static int amp_output_stream_standby(amplifier_device_t *device,
  230. ^
  231. device/xiaomi/markw/libaudioampl/audio_amplifier.c:131:34: warning: unused parameter 'stream' [-Wunused-parameter]
  232. struct audio_stream_out *stream)
  233. ^
  234. device/xiaomi/markw/libaudioampl/audio_amplifier.c:136:57: warning: unused parameter 'device' [-Wunused-parameter]
  235. static int amp_input_stream_standby(amplifier_device_t *device,
  236. ^
  237. device/xiaomi/markw/libaudioampl/audio_amplifier.c:137:33: warning: unused parameter 'stream' [-Wunused-parameter]
  238. struct audio_stream_in *stream)
  239. ^
  240. device/xiaomi/markw/libaudioampl/audio_amplifier.c:142:56: warning: unused parameter 'device' [-Wunused-parameter]
  241. static int amp_set_parameters(struct amplifier_device *device,
  242. ^
  243. device/xiaomi/markw/libaudioampl/audio_amplifier.c:143:27: warning: unused parameter 'parms' [-Wunused-parameter]
  244. struct str_parms *parms)
  245. ^
  246. 21 warnings generated.
  247. [ 0% 166/62336] target thumb C: libOmxA...6/mm-audio/aenc-aac/qdsp6/src/aenc_svr. In file included from hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/aenc_svr.c:36:
  248. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/inc/aenc_svr.h:39:9: warning: 'LOG_TAG' macro redefined [-Wmacro-redefined]
  249. #define LOG_TAG "QC_AACENC"
  250. ^
  251. system/core/liblog/include/log/log.h:51:9: note: previous definition is here
  252. #define LOG_TAG NULL
  253. ^
  254. 1 warning generated.
  255. [ 0% 168/62336] target thumb C: libOmxA...mm-audio/aenc-amrnb/qdsp6/src/aenc_svr. In file included from hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/src/aenc_svr.c:36:
  256. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/inc/aenc_svr.h:39:9: warning: 'LOG_TAG' macro redefined [-Wmacro-redefined]
  257. #define LOG_TAG "QC_AMRENC"
  258. ^
  259. system/core/liblog/include/log/log.h:51:9: note: previous definition is here
  260. #define LOG_TAG NULL
  261. ^
  262. 1 warning generated.
  263. [ 0% 173/62336] target thumb C: libOmxE.../mm-audio/aenc-evrc/qdsp6/src/aenc_svr. In file included from hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/src/aenc_svr.c:36:
  264. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/inc/aenc_svr.h:39:9: warning: 'LOG_TAG' macro redefined [-Wmacro-redefined]
  265. #define LOG_TAG "QC_EVRCENC"
  266. ^
  267. system/core/liblog/include/log/log.h:51:9: note: previous definition is here
  268. #define LOG_TAG NULL
  269. ^
  270. 1 warning generated.
  271. [ 0% 174/62336] target thumb C: libOmxQ...-audio/aenc-qcelp13/qdsp6/src/aenc_svr. In file included from hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/src/aenc_svr.c:36:
  272. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/inc/aenc_svr.h:39:9: warning: 'LOG_TAG' macro redefined [-Wmacro-redefined]
  273. #define LOG_TAG "QC_QCELP13ENC"
  274. ^
  275. system/core/liblog/include/log/log.h:51:9: note: previous definition is here
  276. #define LOG_TAG NULL
  277. ^
  278. 1 warning generated.
  279. [ 0% 181/62336] target thumb C++: libOm...c-qcelp13/qdsp6/src/omx_qcelp13_aenc.cp In file included from hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:41:
  280. In file included from hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/inc/omx_qcelp13_aenc.h:56:
  281. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/inc/aenc_svr.h:39:9: warning: 'LOG_TAG' macro redefined [-Wmacro-redefined]
  282. #define LOG_TAG "QC_QCELP13ENC"
  283. ^
  284. system/core/liblog/include/log/log.h:51:9: note: previous definition is here
  285. #define LOG_TAG NULL
  286. ^
  287. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:825:42: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  288. OMX_ErrorInvalidState,
  289. ^~~~~~~~~~~~~~~~~~~~~
  290. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:939:21: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
  291. else if ((state == OMX_StatePause))
  292. ~~~~~~^~~~~~~~~~~~~~~~~
  293. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:939:21: note: remove extraneous parentheses around the comparison to silence this warning
  294. else if ((state == OMX_StatePause))
  295. ~ ^ ~
  296. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:939:21: note: use '=' to turn this equality comparison into an assignment
  297. else if ((state == OMX_StatePause))
  298. ^~
  299. =
  300. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:1162:24: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
  301. if(ioctl(m_drv_fd, AUDIO_GET_SESSION_ID,&m_session_id) == -1)
  302. ~~~~~ ^~~~~~~~~~~~~~~~~~~~
  303. out/target/product/markw/obj/KERNEL_OBJ/usr/include/linux/msm_audio.h:81:30: note: expanded from macro 'AUDIO_GET_SESSION_ID'
  304. #define AUDIO_GET_SESSION_ID _IOR(AUDIO_IOCTL_MAGIC, 82, unsigned short)
  305. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  306. out/target/product/markw/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:75:28: note: expanded from macro '_IOR'
  307. #define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),(_IOC_TYPECHECK(size)))
  308. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  309. out/target/product/markw/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:68:28: note: expanded from macro '_IOC'
  310. ((nr) << _IOC_NRSHIFT) | \
  311. ~~~~~~~~~~~~~~~~~~~~~~~~~^~~
  312. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:1267:17: warning: explicitly assigning value of variable of type 'OMX_PTR' (aka 'void *') to itself [-Wself-assign]
  313. cmdData = cmdData;
  314. ~~~~~~~ ^ ~~~~~~~
  315. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:1311:17: warning: explicitly assigning value of variable of type 'OMX_PTR' (aka 'void *') to itself [-Wself-assign]
  316. cmdData = cmdData;
  317. ~~~~~~~ ^ ~~~~~~~
  318. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:1344:35: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  319. OMX_ErrorSameState,
  320. ^~~~~~~~~~~~~~~~~~
  321. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:1361:35: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  322. OMX_ErrorIncorrectStateTransition,
  323. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  324. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:1372:35: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  325. OMX_ErrorIncorrectStateTransition,
  326. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  327. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:1383:35: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  328. OMX_ErrorInvalidState,
  329. ^~~~~~~~~~~~~~~~~~~~~
  330. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:1401:34: warning: implicit conversion changes signedness: 'int' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  331. if (release_done(-1))
  332. ~~~~~~~~~~~~ ^~
  333. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:1428:36: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
  334. if(ioctl(m_drv_fd, AUDIO_GET_STREAM_CONFIG, &drv_stream_config)
  335. ~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~
  336. out/target/product/markw/obj/KERNEL_OBJ/usr/include/linux/msm_audio.h:79:35: note: expanded from macro 'AUDIO_GET_STREAM_CONFIG'
  337. #define AUDIO_GET_STREAM_CONFIG _IOR(AUDIO_IOCTL_MAGIC, 81, \
  338. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  339. out/target/product/markw/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:75:28: note: expanded from macro '_IOR'
  340. #define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),(_IOC_TYPECHECK(size)))
  341. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  342. out/target/product/markw/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:68:28: note: expanded from macro '_IOC'
  343. ((nr) << _IOC_NRSHIFT) | \
  344. ~~~~~~~~~~~~~~~~~~~~~~~~~^~~
  345. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:1441:36: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
  346. if(ioctl(m_drv_fd, AUDIO_GET_QCELP_ENC_CONFIG,
  347. ~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~
  348. out/target/product/markw/obj/KERNEL_OBJ/usr/include/linux/msm_audio_qcp.h:9:37: note: expanded from macro 'AUDIO_GET_QCELP_ENC_CONFIG'
  349. #define AUDIO_GET_QCELP_ENC_CONFIG _IOR(AUDIO_IOCTL_MAGIC, \
  350. ^~~~~~~~~~~~~~~~~~~~~~~~~
  351. out/target/product/markw/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:75:28: note: expanded from macro '_IOR'
  352. #define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),(_IOC_TYPECHECK(size)))
  353. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  354. out/target/product/markw/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:68:28: note: expanded from macro '_IOC'
  355. ((nr) << _IOC_NRSHIFT) | \
  356. ~~~~~~~~~~~~~~~~~~~~~~~~~^~~
  357. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:1469:41: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
  358. if (ioctl(m_drv_fd, AUDIO_GET_CONFIG, &pcm_cfg) == -1)
  359. ~~~~~ ^~~~~~~~~~~~~~~~
  360. out/target/product/markw/obj/KERNEL_OBJ/usr/include/linux/msm_audio.h:30:28: note: expanded from macro 'AUDIO_GET_CONFIG'
  361. #define AUDIO_GET_CONFIG _IOR(AUDIO_IOCTL_MAGIC, 3, \
  362. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  363. out/target/product/markw/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:75:28: note: expanded from macro '_IOR'
  364. #define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),(_IOC_TYPECHECK(size)))
  365. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  366. out/target/product/markw/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:68:28: note: expanded from macro '_IOC'
  367. ((nr) << _IOC_NRSHIFT) | \
  368. ~~~~~~~~~~~~~~~~~~~~~~~~~^~~
  369. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:1498:35: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  370. OMX_ErrorSameState,
  371. ^~~~~~~~~~~~~~~~~~
  372. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:1506:41: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  373. OMX_ErrorIncorrectStateTransition,
  374. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  375. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:1523:41: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  376. OMX_ErrorInvalidState,
  377. ^~~~~~~~~~~~~~~~~~~~~
  378. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:1542:39: warning: implicit conversion changes signedness: 'int' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  379. execute_omx_flush(-1);
  380. ~~~~~~~~~~~~~~~~~ ^~
  381. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:1558:41: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  382. OMX_ErrorIncorrectStateTransition,
  383. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  384. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:1566:41: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  385. OMX_ErrorIncorrectStateTransition,
  386. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  387. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:1573:57: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  388. OMX_EventError, OMX_ErrorSameState,
  389. ^~~~~~~~~~~~~~~~~~
  390. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:1581:57: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  391. OMX_EventError, OMX_ErrorInvalidState,
  392. ^~~~~~~~~~~~~~~~~~~~~
  393. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:1618:39: warning: implicit conversion changes signedness: 'int' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  394. execute_omx_flush(-1);
  395. ~~~~~~~~~~~~~~~~~ ^~
  396. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:1627:6: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  397. OMX_ErrorIncorrectStateTransition,
  398. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  399. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:1635:6: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  400. OMX_ErrorIncorrectStateTransition,
  401. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  402. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:1642:57: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  403. OMX_EventError, OMX_ErrorSameState,
  404. ^~~~~~~~~~~~~~~~~~
  405. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:1650:57: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  406. OMX_EventError, OMX_ErrorInvalidState,
  407. ^~~~~~~~~~~~~~~~~~~~~
  408. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:1672:57: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  409. OMX_EventError, OMX_ErrorSameState,
  410. ^~~~~~~~~~~~~~~~~~
  411. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:1680:41: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  412. OMX_ErrorIncorrectStateTransition,
  413. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  414. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:1688:41: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  415. OMX_ErrorIncorrectStateTransition,
  416. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  417. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:1697:41: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  418. OMX_ErrorInvalidState,
  419. ^~~~~~~~~~~~~~~~~~~~~
  420. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:1720:57: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  421. OMX_EventError, OMX_ErrorInvalidState,
  422. ^~~~~~~~~~~~~~~~~~~~~
  423. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:1745:35: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  424. OMX_CommandFlush, OMX_ErrorBadPortIndex, NULL );
  425. ^~~~~~~~~~~~~~~~~~~~~
  426. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:2224:38: warning: format specifies type 'unsigned int' but the argument has type 'OMX_TICKS' (aka 'long long') [-Wformat]
  427. omx_buf,nTimestamp);
  428. ^~~~~~~~~~
  429. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/inc/aenc_svr.h:64:27: note: expanded from macro 'DEBUG_DETAIL'
  430. #define DEBUG_DETAIL LOGV
  431. ^
  432. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/inc/aenc_svr.h:55:14: note: expanded from macro 'LOGV'
  433. #define LOGV ALOGV
  434. ^
  435. system/core/liblog/include/log/log_main.h:179:15: note: expanded from macro 'ALOGV' __ALOGV(__VA_ARGS__); \
  436. ^~~~~~~~~~~
  437. note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
  438. system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
  439. #define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
  440. ^~~~~~~~~~~
  441. system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
  442. #define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
  443. ^~~~~~~~~~~
  444. system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
  445. __android_log_print(prio, tag, __VA_ARGS__)
  446. ^~~~~~~~~~~
  447. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:2237:38: warning: format specifies type 'unsigned int' but the argument has type 'OMX_TICKS' (aka 'long long') [-Wformat]
  448. omx_buf,nTimestamp);
  449. ^~~~~~~~~~
  450. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/inc/aenc_svr.h:64:27: note: expanded from macro 'DEBUG_DETAIL'
  451. #define DEBUG_DETAIL LOGV
  452. ^
  453. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/inc/aenc_svr.h:55:14: note: expanded from macro 'LOGV'
  454. #define LOGV ALOGV
  455. ^
  456. system/core/liblog/include/log/log_main.h:179:15: note: expanded from macro 'ALOGV' __ALOGV(__VA_ARGS__); \
  457. ^~~~~~~~~~~
  458. note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
  459. system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
  460. #define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
  461. ^~~~~~~~~~~
  462. system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
  463. #define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
  464. ^~~~~~~~~~~
  465. system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
  466. __android_log_print(prio, tag, __VA_ARGS__)
  467. ^~~~~~~~~~~
  468. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:2686:20: warning: format specifies type 'int' but the argument has type 'OMX_VERSIONTYPE' [-Wformat]
  469. component_Role.nVersion,
  470. ^~~~~~~~
  471. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/inc/aenc_svr.h:62:27: note: expanded from macro 'DEBUG_PRINT_ERROR'
  472. #define DEBUG_PRINT_ERROR LOGE
  473. ^
  474. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/inc/aenc_svr.h:43:14: note: expanded from macro 'LOGE'
  475. #define LOGE ALOGE
  476. ^
  477. system/core/liblog/include/log/log_main.h:240:52: note: expanded from macro 'ALOGE'#define ALOGE(...) ((void)ALOG(LOG_ERROR, LOG_TAG, __VA_ARGS__))
  478. ^~~~~~~~~~~
  479. system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
  480. #define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
  481. ^~~~~~~~~~~
  482. system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
  483. #define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
  484. ^~~~~~~~~~~
  485. system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
  486. __android_log_print(prio, tag, __VA_ARGS__)
  487. ^~~~~~~~~~~
  488. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:3077:25: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
  489. BITMASK_CLEAR(&m_flags, OMX_COMPONENT_MUTED);
  490. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  491. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/inc/omx_qcelp13_aenc.h:102:50: note: expanded from macro 'BITMASK_CLEAR'
  492. (mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
  493. ~~ ^~~~~~~~~~~~~~~~~~~~~~~
  494. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:3191:14: warning: explicitly assigning value of variable of type 'OMX_U32' (aka 'unsigned int') to itself [-Wself-assign]
  495. port = port;
  496. ~~~~ ^ ~~~~
  497. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:3192:18: warning: explicitly assigning value of variable of type 'OMX_U32' (aka 'unsigned int') to itself [-Wself-assign]
  498. peerPort = peerPort;
  499. ~~~~~~~~ ^ ~~~~~~~~
  500. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:3232:14: warning: explicitly assigning value of variable of type 'OMX_U32' (aka 'unsigned int') to itself [-Wself-assign]
  501. port = port;
  502. ~~~~ ^ ~~~~
  503. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:3286:14: warning: explicitly assigning value of variable of type 'OMX_U32' (aka 'unsigned int') to itself [-Wself-assign]
  504. port = port;
  505. ~~~~ ^ ~~~~
  506. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:3379:17: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
  507. BITMASK_CLEAR(&m_flags, OMX_COMPONENT_IDLE_PENDING);
  508. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  509. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/inc/omx_qcelp13_aenc.h:102:50: note: expanded from macro 'BITMASK_CLEAR'
  510. (mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
  511. ~~ ^~~~~~~~~~~~~~~~~~~~~~~
  512. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:3390:17: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
  513. BITMASK_CLEAR((&m_flags),OMX_COMPONENT_INPUT_ENABLE_PENDING);
  514. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  515. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/inc/omx_qcelp13_aenc.h:102:50: note: expanded from macro 'BITMASK_CLEAR'
  516. (mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
  517. ~~ ^~~~~~~~~~~~~~~~~~~~~~~
  518. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:3399:17: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
  519. BITMASK_CLEAR((&m_flags),OMX_COMPONENT_OUTPUT_ENABLE_PENDING);
  520. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  521. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/inc/omx_qcelp13_aenc.h:102:50: note: expanded from macro 'BITMASK_CLEAR'
  522. (mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
  523. ~~ ^~~~~~~~~~~~~~~~~~~~~~~
  524. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:3483:17: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
  525. BITMASK_CLEAR(&m_flags, OMX_COMPONENT_IDLE_PENDING);
  526. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  527. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/inc/omx_qcelp13_aenc.h:102:50: note: expanded from macro 'BITMASK_CLEAR'
  528. (mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
  529. ~~ ^~~~~~~~~~~~~~~~~~~~~~~
  530. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:3492:17: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
  531. BITMASK_CLEAR((&m_flags),OMX_COMPONENT_INPUT_ENABLE_PENDING);
  532. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  533. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/inc/omx_qcelp13_aenc.h:102:50: note: expanded from macro 'BITMASK_CLEAR'
  534. (mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
  535. ~~ ^~~~~~~~~~~~~~~~~~~~~~~
  536. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:3502:17: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
  537. BITMASK_CLEAR((&m_flags),OMX_COMPONENT_OUTPUT_ENABLE_PENDING);
  538. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  539. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/inc/omx_qcelp13_aenc.h:102:50: note: expanded from macro 'BITMASK_CLEAR'
  540. (mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
  541. ~~ ^~~~~~~~~~~~~~~~~~~~~~~
  542. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:3566:14: warning: explicitly assigning value of variable of type 'OMX_U32' (aka 'unsigned int') to itself [-Wself-assign]
  543. port = port;
  544. ~~~~ ^ ~~~~
  545. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:3649:14: warning: explicitly assigning value of variable of type 'OMX_U32' (aka 'unsigned int') to itself [-Wself-assign]
  546. port = port;
  547. ~~~~ ^ ~~~~
  548. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:3781:22: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'unsigned int' [-Wsign-conversion]
  549. OMX_ErrorPortUnpopulated,
  550. ^~~~~~~~~~~~~~~~~~~~~~~~
  551. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:3790:22: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'unsigned int' [-Wsign-conversion]
  552. OMX_ErrorPortUnpopulated,
  553. ^~~~~~~~~~~~~~~~~~~~~~~~
  554. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:3822:13: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
  555. BITMASK_CLEAR((&m_flags),OMX_COMPONENT_INPUT_DISABLE_PENDING);
  556. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  557. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/inc/omx_qcelp13_aenc.h:102:50: note: expanded from macro 'BITMASK_CLEAR'
  558. (mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
  559. ~~ ^~~~~~~~~~~~~~~~~~~~~~~
  560. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:3855:13: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
  561. BITMASK_CLEAR((&m_flags),OMX_COMPONENT_OUTPUT_DISABLE_PENDING);
  562. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  563. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/inc/omx_qcelp13_aenc.h:102:50: note: expanded from macro 'BITMASK_CLEAR'
  564. (mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
  565. ~~ ^~~~~~~~~~~~~~~~~~~~~~~
  566. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:3868:26: warning: implicit conversion changes signedness: 'int' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  567. if (release_done(-1))
  568. ~~~~~~~~~~~~ ^~
  569. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:3880:13: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
  570. BITMASK_CLEAR((&m_flags),OMX_COMPONENT_LOADING_PENDING);
  571. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  572. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/inc/omx_qcelp13_aenc.h:102:50: note: expanded from macro 'BITMASK_CLEAR'
  573. (mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
  574. ~~ ^~~~~~~~~~~~~~~~~~~~~~~
  575. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:4000:27: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
  576. meta_in.nFlags &= ~OMX_BUFFERFLAG_EOS;
  577. ~~ ^~~~~~~~~~~~~~~~~~~
  578. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:4024:19: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  579. OMX_ErrorHardware,
  580. ^~~~~~~~~~~~~~~~~
  581. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:4067:26: warning: format specifies type 'unsigned long' but the argument has type 'OMX_U32' (aka 'unsigned int') [-Wformat]
  582. buffer->nAllocLen,buffer->pBuffer,
  583. ^~~~~~~~~~~~~~~~~
  584. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/inc/aenc_svr.h:64:27: note: expanded from macro 'DEBUG_DETAIL'
  585. #define DEBUG_DETAIL LOGV
  586. ^
  587. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/inc/aenc_svr.h:55:14: note: expanded from macro 'LOGV'
  588. #define LOGV ALOGV
  589. ^
  590. system/core/liblog/include/log/log_main.h:179:15: note: expanded from macro 'ALOGV' __ALOGV(__VA_ARGS__); \
  591. ^~~~~~~~~~~
  592. note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
  593. system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
  594. #define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
  595. ^~~~~~~~~~~
  596. system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
  597. #define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
  598. ^~~~~~~~~~~
  599. system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
  600. __android_log_print(prio, tag, __VA_ARGS__)
  601. ^~~~~~~~~~~
  602. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:4068:26: warning: format specifies type 'int' but the argument has type 'ssize_t' (aka 'long') [-Wformat]
  603. nReadbytes,nNumOutputBuf);
  604. ^~~~~~~~~~
  605. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/inc/aenc_svr.h:64:27: note: expanded from macro 'DEBUG_DETAIL'
  606. #define DEBUG_DETAIL LOGV
  607. ^
  608. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/inc/aenc_svr.h:55:14: note: expanded from macro 'LOGV'
  609. #define LOGV ALOGV
  610. ^
  611. system/core/liblog/include/log/log_main.h:179:15: note: expanded from macro 'ALOGV' __ALOGV(__VA_ARGS__); \
  612. ^~~~~~~~~~~
  613. note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
  614. system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
  615. #define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
  616. ^~~~~~~~~~~
  617. system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
  618. #define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
  619. ^~~~~~~~~~~
  620. system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
  621. __android_log_print(prio, tag, __VA_ARGS__)
  622. ^~~~~~~~~~~
  623. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:4081:20: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  624. OMX_ErrorHardware,
  625. ^~~~~~~~~~~~~~~~~
  626. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:4086:45: warning: format specifies type 'int' but the argument has type 'ssize_t' (aka 'long') [-Wformat]
  627. DEBUG_PRINT("Read bytes %d\n",nReadbytes);
  628. ~~ ^~~~~~~~~~
  629. %zd
  630. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/inc/aenc_svr.h:63:27: note: expanded from macro 'DEBUG_PRINT'
  631. #define DEBUG_PRINT LOGI
  632. ^
  633. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/inc/aenc_svr.h:59:14: note: expanded from macro 'LOGI'
  634. #define LOGI ALOGI
  635. ^
  636. system/core/liblog/include/log/log_main.h:214:51: note: expanded from macro 'ALOGI'#define ALOGI(...) ((void)ALOG(LOG_INFO, LOG_TAG, __VA_ARGS__))
  637. ^~~~~~~~~~~
  638. system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
  639. #define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
  640. ^~~~~~~~~~~
  641. system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
  642. #define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
  643. ^~~~~~~~~~~
  644. system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
  645. __android_log_print(prio, tag, __VA_ARGS__)
  646. ^~~~~~~~~~~
  647. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:4099:42: warning: implicit conversion changes signedness: 'ssize_t' (aka 'long') to 'unsigned long' [-Wsign-conversion]
  648. buffer->nFilledLen = (OMX_U32)(nReadbytes - buffer->nOffset);
  649. ^~~~~~~~~~ ~
  650. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:4299:31: warning: implicit conversion changes signedness: 'int' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  651. execute_omx_flush(-1);
  652. ~~~~~~~~~~~~~~~~~ ^~
  653. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:4427:19: warning: explicitly assigning value of variable of type 'OMX_BUFFERHEADERTYPE **' to itself [-Wself-assign]
  654. bufferHdr = bufferHdr;
  655. ~~~~~~~~~ ^ ~~~~~~~~~
  656. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:4428:14: warning: explicitly assigning value of variable of type 'OMX_U32' (aka 'unsigned int') to itself [-Wself-assign]
  657. port = port;
  658. ~~~~ ^ ~~~~
  659. 65 warnings generated.
  660. [ 0% 182/62336] target thumb C++: libOm...io/aenc-evrc/qdsp6/src/omx_evrc_aenc.cp In file included from hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:41:
  661. In file included from hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/inc/omx_evrc_aenc.h:56:
  662. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/inc/aenc_svr.h:39:9: warning: 'LOG_TAG' macro redefined [-Wmacro-redefined]
  663. #define LOG_TAG "QC_EVRCENC"
  664. ^
  665. system/core/liblog/include/log/log.h:51:9: note: previous definition is here
  666. #define LOG_TAG NULL
  667. ^
  668. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:464:74: warning: more '%' conversions than data arguments [-Wformat]
  669. DEBUG_DETAIL("EBD CB:: in_buf_len=%d nNumInputBuf=%d %d ebd_cnt %d \n",\
  670. ~^
  671. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/inc/aenc_svr.h:64:27: note: expanded from macro 'DEBUG_DETAIL'
  672. #define DEBUG_DETAIL LOGV
  673. ^
  674. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/inc/aenc_svr.h:55:14: note: expanded from macro 'LOGV'
  675. #define LOGV ALOGV
  676. ^
  677. system/core/liblog/include/log/log_main.h:179:15: note: expanded from macro 'ALOGV' __ALOGV(__VA_ARGS__); \
  678. ^
  679. note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
  680. system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
  681. #define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
  682. ^
  683. system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
  684. #define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
  685. ^
  686. system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
  687. __android_log_print(prio, tag, __VA_ARGS__)
  688. ^
  689. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:823:42: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  690. OMX_ErrorInvalidState,
  691. ^~~~~~~~~~~~~~~~~~~~~
  692. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:937:21: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
  693. else if ((state == OMX_StatePause))
  694. ~~~~~~^~~~~~~~~~~~~~~~~
  695. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:937:21: note: remove extraneous parentheses around the comparison to silence this warning
  696. else if ((state == OMX_StatePause))
  697. ~ ^ ~
  698. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:937:21: note: use '=' to turn this equality comparison into an assignment
  699. else if ((state == OMX_StatePause))
  700. ^~
  701. =
  702. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1160:24: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
  703. if(ioctl(m_drv_fd, AUDIO_GET_SESSION_ID,&m_session_id) == -1)
  704. ~~~~~ ^~~~~~~~~~~~~~~~~~~~
  705. out/target/product/markw/obj/KERNEL_OBJ/usr/include/linux/msm_audio.h:81:30: note: expanded from macro 'AUDIO_GET_SESSION_ID'
  706. #define AUDIO_GET_SESSION_ID _IOR(AUDIO_IOCTL_MAGIC, 82, unsigned short)
  707. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  708. out/target/product/markw/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:75:28: note: expanded from macro '_IOR'
  709. #define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),(_IOC_TYPECHECK(size)))
  710. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  711. out/target/product/markw/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:68:28: note: expanded from macro '_IOC'
  712. ((nr) << _IOC_NRSHIFT) | \
  713. ~~~~~~~~~~~~~~~~~~~~~~~~~^~~
  714. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1265:17: warning: explicitly assigning value of variable of type 'OMX_PTR' (aka 'void *') to itself [-Wself-assign]
  715. cmdData = cmdData;
  716. ~~~~~~~ ^ ~~~~~~~
  717. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1309:17: warning: explicitly assigning value of variable of type 'OMX_PTR' (aka 'void *') to itself [-Wself-assign]
  718. cmdData = cmdData;
  719. ~~~~~~~ ^ ~~~~~~~
  720. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1342:35: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  721. OMX_ErrorSameState,
  722. ^~~~~~~~~~~~~~~~~~
  723. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1359:35: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  724. OMX_ErrorIncorrectStateTransition,
  725. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  726. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1370:35: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  727. OMX_ErrorIncorrectStateTransition,
  728. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  729. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1381:35: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  730. OMX_ErrorInvalidState,
  731. ^~~~~~~~~~~~~~~~~~~~~
  732. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1399:34: warning: implicit conversion changes signedness: 'int' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  733. if (release_done(-1))
  734. ~~~~~~~~~~~~ ^~
  735. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1426:36: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
  736. if(ioctl(m_drv_fd, AUDIO_GET_STREAM_CONFIG, &drv_stream_config)
  737. ~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~
  738. out/target/product/markw/obj/KERNEL_OBJ/usr/include/linux/msm_audio.h:79:35: note: expanded from macro 'AUDIO_GET_STREAM_CONFIG'
  739. #define AUDIO_GET_STREAM_CONFIG _IOR(AUDIO_IOCTL_MAGIC, 81, \
  740. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  741. out/target/product/markw/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:75:28: note: expanded from macro '_IOR'
  742. #define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),(_IOC_TYPECHECK(size)))
  743. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  744. out/target/product/markw/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:68:28: note: expanded from macro '_IOC'
  745. ((nr) << _IOC_NRSHIFT) | \
  746. ~~~~~~~~~~~~~~~~~~~~~~~~~^~~
  747. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1439:36: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
  748. if(ioctl(m_drv_fd, AUDIO_GET_EVRC_ENC_CONFIG,
  749. ~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~
  750. out/target/product/markw/obj/KERNEL_OBJ/usr/include/linux/msm_audio_qcp.h:15:36: note: expanded from macro 'AUDIO_GET_EVRC_ENC_CONFIG'
  751. #define AUDIO_GET_EVRC_ENC_CONFIG _IOR(AUDIO_IOCTL_MAGIC, \
  752. ^~~~~~~~~~~~~~~~~~~~~~~~~
  753. out/target/product/markw/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:75:28: note: expanded from macro '_IOR'
  754. #define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),(_IOC_TYPECHECK(size)))
  755. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  756. out/target/product/markw/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:68:28: note: expanded from macro '_IOC'
  757. ((nr) << _IOC_NRSHIFT) | \
  758. ~~~~~~~~~~~~~~~~~~~~~~~~~^~~
  759. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1467:41: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
  760. if (ioctl(m_drv_fd, AUDIO_GET_CONFIG, &pcm_cfg) == -1)
  761. ~~~~~ ^~~~~~~~~~~~~~~~
  762. out/target/product/markw/obj/KERNEL_OBJ/usr/include/linux/msm_audio.h:30:28: note: expanded from macro 'AUDIO_GET_CONFIG'
  763. #define AUDIO_GET_CONFIG _IOR(AUDIO_IOCTL_MAGIC, 3, \
  764. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  765. out/target/product/markw/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:75:28: note: expanded from macro '_IOR'
  766. #define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),(_IOC_TYPECHECK(size)))
  767. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  768. out/target/product/markw/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:68:28: note: expanded from macro '_IOC'
  769. ((nr) << _IOC_NRSHIFT) | \
  770. ~~~~~~~~~~~~~~~~~~~~~~~~~^~~
  771. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1489:57: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  772. OMX_EventError, OMX_ErrorInvalidState,
  773. ^~~~~~~~~~~~~~~~~~~~~
  774. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1502:35: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  775. OMX_ErrorSameState,
  776. ^~~~~~~~~~~~~~~~~~
  777. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1510:41: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  778. OMX_ErrorIncorrectStateTransition,
  779. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  780. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1527:41: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  781. OMX_ErrorInvalidState,
  782. ^~~~~~~~~~~~~~~~~~~~~
  783. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1546:39: warning: implicit conversion changes signedness: 'int' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  784. execute_omx_flush(-1);
  785. ~~~~~~~~~~~~~~~~~ ^~
  786. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1562:41: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  787. OMX_ErrorIncorrectStateTransition,
  788. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  789. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1570:41: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  790. OMX_ErrorIncorrectStateTransition,
  791. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  792. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1577:57: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  793. OMX_EventError, OMX_ErrorSameState,
  794. ^~~~~~~~~~~~~~~~~~
  795. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1585:57: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  796. OMX_EventError, OMX_ErrorInvalidState,
  797. ^~~~~~~~~~~~~~~~~~~~~
  798. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1622:39: warning: implicit conversion changes signedness: 'int' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  799. execute_omx_flush(-1);
  800. ~~~~~~~~~~~~~~~~~ ^~
  801. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1631:6: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  802. OMX_ErrorIncorrectStateTransition,
  803. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  804. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1639:6: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  805. OMX_ErrorIncorrectStateTransition,
  806. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  807. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1646:57: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  808. OMX_EventError, OMX_ErrorSameState,
  809. ^~~~~~~~~~~~~~~~~~
  810. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1654:57: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  811. OMX_EventError, OMX_ErrorInvalidState,
  812. ^~~~~~~~~~~~~~~~~~~~~
  813. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1676:57: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  814. OMX_EventError, OMX_ErrorSameState,
  815. ^~~~~~~~~~~~~~~~~~
  816. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1684:41: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  817. OMX_ErrorIncorrectStateTransition,
  818. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  819. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1692:41: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  820. OMX_ErrorIncorrectStateTransition,
  821. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  822. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1701:41: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  823. OMX_ErrorInvalidState,
  824. ^~~~~~~~~~~~~~~~~~~~~
  825. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1724:57: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  826. OMX_EventError, OMX_ErrorInvalidState,
  827. ^~~~~~~~~~~~~~~~~~~~~
  828. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1749:35: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  829. OMX_CommandFlush, OMX_ErrorBadPortIndex, NULL );
  830. ^~~~~~~~~~~~~~~~~~~~~
  831. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:2228:38: warning: format specifies type 'unsigned int' but the argument has type 'OMX_TICKS' (aka 'long long') [-Wformat]
  832. omx_buf,nTimestamp);
  833. ^~~~~~~~~~
  834. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/inc/aenc_svr.h:64:27: note: expanded from macro 'DEBUG_DETAIL'
  835. #define DEBUG_DETAIL LOGV
  836. ^
  837. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/inc/aenc_svr.h:55:14: note: expanded from macro 'LOGV'
  838. #define LOGV ALOGV
  839. ^
  840. system/core/liblog/include/log/log_main.h:179:15: note: expanded from macro 'ALOGV' __ALOGV(__VA_ARGS__); \
  841. ^~~~~~~~~~~
  842. note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
  843. system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
  844. #define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
  845. ^~~~~~~~~~~
  846. system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
  847. #define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
  848. ^~~~~~~~~~~
  849. system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
  850. __android_log_print(prio, tag, __VA_ARGS__)
  851. ^~~~~~~~~~~
  852. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:2241:38: warning: format specifies type 'unsigned int' but the argument has type 'OMX_TICKS' (aka 'long long') [-Wformat]
  853. omx_buf,nTimestamp);
  854. ^~~~~~~~~~
  855. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/inc/aenc_svr.h:64:27: note: expanded from macro 'DEBUG_DETAIL'
  856. #define DEBUG_DETAIL LOGV
  857. ^
  858. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/inc/aenc_svr.h:55:14: note: expanded from macro 'LOGV'
  859. #define LOGV ALOGV
  860. ^
  861. system/core/liblog/include/log/log_main.h:179:15: note: expanded from macro 'ALOGV' __ALOGV(__VA_ARGS__); \
  862. ^~~~~~~~~~~
  863. note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
  864. system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
  865. #define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
  866. ^~~~~~~~~~~
  867. system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
  868. #define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
  869. ^~~~~~~~~~~
  870. system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
  871. __android_log_print(prio, tag, __VA_ARGS__)
  872. ^~~~~~~~~~~
  873. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:2689:20: warning: format specifies type 'int' but the argument has type 'OMX_VERSIONTYPE' [-Wformat]
  874. component_Role.nVersion,
  875. ^~~~~~~~
  876. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/inc/aenc_svr.h:62:27: note: expanded from macro 'DEBUG_PRINT_ERROR'
  877. #define DEBUG_PRINT_ERROR LOGE
  878. ^
  879. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/inc/aenc_svr.h:43:14: note: expanded from macro 'LOGE'
  880. #define LOGE ALOGE
  881. ^
  882. system/core/liblog/include/log/log_main.h:240:52: note: expanded from macro 'ALOGE'#define ALOGE(...) ((void)ALOG(LOG_ERROR, LOG_TAG, __VA_ARGS__))
  883. ^~~~~~~~~~~
  884. system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
  885. #define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
  886. ^~~~~~~~~~~
  887. system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
  888. #define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
  889. ^~~~~~~~~~~
  890. system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
  891. __android_log_print(prio, tag, __VA_ARGS__)
  892. ^~~~~~~~~~~
  893. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:3080:25: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
  894. BITMASK_CLEAR(&m_flags, OMX_COMPONENT_MUTED);
  895. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  896. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/inc/omx_evrc_aenc.h:102:50: note: expanded from macro 'BITMASK_CLEAR'
  897. (mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
  898. ~~ ^~~~~~~~~~~~~~~~~~~~~~~
  899. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:3194:14: warning: explicitly assigning value of variable of type 'OMX_U32' (aka 'unsigned int') to itself [-Wself-assign]
  900. port = port;
  901. ~~~~ ^ ~~~~
  902. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:3195:18: warning: explicitly assigning value of variable of type 'OMX_U32' (aka 'unsigned int') to itself [-Wself-assign]
  903. peerPort = peerPort;
  904. ~~~~~~~~ ^ ~~~~~~~~
  905. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:3235:14: warning: explicitly assigning value of variable of type 'OMX_U32' (aka 'unsigned int') to itself [-Wself-assign]
  906. port = port;
  907. ~~~~ ^ ~~~~
  908. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:3289:14: warning: explicitly assigning value of variable of type 'OMX_U32' (aka 'unsigned int') to itself [-Wself-assign]
  909. port = port;
  910. ~~~~ ^ ~~~~
  911. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:3382:17: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
  912. BITMASK_CLEAR(&m_flags, OMX_COMPONENT_IDLE_PENDING);
  913. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  914. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/inc/omx_evrc_aenc.h:102:50: note: expanded from macro 'BITMASK_CLEAR'
  915. (mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
  916. ~~ ^~~~~~~~~~~~~~~~~~~~~~~
  917. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:3393:17: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
  918. BITMASK_CLEAR((&m_flags),OMX_COMPONENT_INPUT_ENABLE_PENDING);
  919. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  920. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/inc/omx_evrc_aenc.h:102:50: note: expanded from macro 'BITMASK_CLEAR'
  921. (mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
  922. ~~ ^~~~~~~~~~~~~~~~~~~~~~~
  923. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:3402:17: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
  924. BITMASK_CLEAR((&m_flags),OMX_COMPONENT_OUTPUT_ENABLE_PENDING);
  925. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  926. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/inc/omx_evrc_aenc.h:102:50: note: expanded from macro 'BITMASK_CLEAR'
  927. (mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
  928. ~~ ^~~~~~~~~~~~~~~~~~~~~~~
  929. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:3486:17: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
  930. BITMASK_CLEAR(&m_flags, OMX_COMPONENT_IDLE_PENDING);
  931. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  932. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/inc/omx_evrc_aenc.h:102:50: note: expanded from macro 'BITMASK_CLEAR'
  933. (mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
  934. ~~ ^~~~~~~~~~~~~~~~~~~~~~~
  935. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:3495:17: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
  936. BITMASK_CLEAR((&m_flags),OMX_COMPONENT_INPUT_ENABLE_PENDING);
  937. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  938. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/inc/omx_evrc_aenc.h:102:50: note: expanded from macro 'BITMASK_CLEAR'
  939. (mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
  940. ~~ ^~~~~~~~~~~~~~~~~~~~~~~
  941. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:3505:17: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
  942. BITMASK_CLEAR((&m_flags),OMX_COMPONENT_OUTPUT_ENABLE_PENDING);
  943. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  944. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/inc/omx_evrc_aenc.h:102:50: note: expanded from macro 'BITMASK_CLEAR'
  945. (mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
  946. ~~ ^~~~~~~~~~~~~~~~~~~~~~~
  947. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:3569:14: warning: explicitly assigning value of variable of type 'OMX_U32' (aka 'unsigned int') to itself [-Wself-assign]
  948. port = port;
  949. ~~~~ ^ ~~~~
  950. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:3652:14: warning: explicitly assigning value of variable of type 'OMX_U32' (aka 'unsigned int') to itself [-Wself-assign]
  951. port = port;
  952. ~~~~ ^ ~~~~
  953. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:3783:22: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'unsigned int' [-Wsign-conversion]
  954. OMX_ErrorPortUnpopulated,
  955. ^~~~~~~~~~~~~~~~~~~~~~~~
  956. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:3792:22: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'unsigned int' [-Wsign-conversion]
  957. OMX_ErrorPortUnpopulated,
  958. ^~~~~~~~~~~~~~~~~~~~~~~~
  959. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:3824:13: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
  960. BITMASK_CLEAR((&m_flags),OMX_COMPONENT_INPUT_DISABLE_PENDING);
  961. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  962. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/inc/omx_evrc_aenc.h:102:50: note: expanded from macro 'BITMASK_CLEAR'
  963. (mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
  964. ~~ ^~~~~~~~~~~~~~~~~~~~~~~
  965. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:3857:13: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
  966. BITMASK_CLEAR((&m_flags),OMX_COMPONENT_OUTPUT_DISABLE_PENDING);
  967. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  968. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/inc/omx_evrc_aenc.h:102:50: note: expanded from macro 'BITMASK_CLEAR'
  969. (mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
  970. ~~ ^~~~~~~~~~~~~~~~~~~~~~~
  971. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:3870:26: warning: implicit conversion changes signedness: 'int' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  972. if (release_done(-1))
  973. ~~~~~~~~~~~~ ^~
  974. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:3882:13: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
  975. BITMASK_CLEAR((&m_flags),OMX_COMPONENT_LOADING_PENDING);
  976. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  977. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/inc/omx_evrc_aenc.h:102:50: note: expanded from macro 'BITMASK_CLEAR'
  978. (mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
  979. ~~ ^~~~~~~~~~~~~~~~~~~~~~~
  980. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:4002:27: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
  981. meta_in.nFlags &= ~OMX_BUFFERFLAG_EOS;
  982. ~~ ^~~~~~~~~~~~~~~~~~~
  983. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:4026:19: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  984. OMX_ErrorHardware,
  985. ^~~~~~~~~~~~~~~~~
  986. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:4069:26: warning: format specifies type 'unsigned long' but the argument has type 'OMX_U32' (aka 'unsigned int') [-Wformat]
  987. buffer->nAllocLen,buffer->pBuffer,
  988. ^~~~~~~~~~~~~~~~~
  989. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/inc/aenc_svr.h:64:27: note: expanded from macro 'DEBUG_DETAIL'
  990. #define DEBUG_DETAIL LOGV
  991. ^
  992. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/inc/aenc_svr.h:55:14: note: expanded from macro 'LOGV'
  993. #define LOGV ALOGV
  994. ^
  995. system/core/liblog/include/log/log_main.h:179:15: note: expanded from macro 'ALOGV' __ALOGV(__VA_ARGS__); \
  996. ^~~~~~~~~~~
  997. note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
  998. system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
  999. #define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
  1000. ^~~~~~~~~~~
  1001. system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
  1002. #define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
  1003. ^~~~~~~~~~~
  1004. system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
  1005. __android_log_print(prio, tag, __VA_ARGS__)
  1006. ^~~~~~~~~~~
  1007. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:4070:26: warning: format specifies type 'int' but the argument has type 'ssize_t' (aka 'long') [-Wformat]
  1008. nReadbytes,nNumOutputBuf);
  1009. ^~~~~~~~~~
  1010. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/inc/aenc_svr.h:64:27: note: expanded from macro 'DEBUG_DETAIL'
  1011. #define DEBUG_DETAIL LOGV
  1012. ^
  1013. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/inc/aenc_svr.h:55:14: note: expanded from macro 'LOGV'
  1014. #define LOGV ALOGV
  1015. ^
  1016. system/core/liblog/include/log/log_main.h:179:15: note: expanded from macro 'ALOGV' __ALOGV(__VA_ARGS__); \
  1017. ^~~~~~~~~~~
  1018. note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
  1019. system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
  1020. #define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
  1021. ^~~~~~~~~~~
  1022. system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
  1023. #define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
  1024. ^~~~~~~~~~~
  1025. system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
  1026. __android_log_print(prio, tag, __VA_ARGS__)
  1027. ^~~~~~~~~~~
  1028. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:4083:20: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  1029. OMX_ErrorHardware,
  1030. ^~~~~~~~~~~~~~~~~
  1031. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:4088:45: warning: format specifies type 'int' but the argument has type 'ssize_t' (aka 'long') [-Wformat]
  1032. DEBUG_PRINT("Read bytes %d\n",nReadbytes);
  1033. ~~ ^~~~~~~~~~
  1034. %zd
  1035. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/inc/aenc_svr.h:63:27: note: expanded from macro 'DEBUG_PRINT'
  1036. #define DEBUG_PRINT LOGI
  1037. ^
  1038. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/inc/aenc_svr.h:59:14: note: expanded from macro 'LOGI'
  1039. #define LOGI ALOGI
  1040. ^
  1041. system/core/liblog/include/log/log_main.h:214:51: note: expanded from macro 'ALOGI'#define ALOGI(...) ((void)ALOG(LOG_INFO, LOG_TAG, __VA_ARGS__))
  1042. ^~~~~~~~~~~
  1043. system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
  1044. #define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
  1045. ^~~~~~~~~~~
  1046. system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
  1047. #define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
  1048. ^~~~~~~~~~~
  1049. system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
  1050. __android_log_print(prio, tag, __VA_ARGS__)
  1051. ^~~~~~~~~~~
  1052. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:4100:42: warning: implicit conversion changes signedness: 'ssize_t' (aka 'long') to 'unsigned long' [-Wsign-conversion]
  1053. buffer->nFilledLen = (OMX_U32)(nReadbytes - buffer->nOffset);
  1054. ^~~~~~~~~~ ~
  1055. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:4299:31: warning: implicit conversion changes signedness: 'int' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  1056. execute_omx_flush(-1);
  1057. ~~~~~~~~~~~~~~~~~ ^~
  1058. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:4427:19: warning: explicitly assigning value of variable of type 'OMX_BUFFERHEADERTYPE **' to itself [-Wself-assign]
  1059. bufferHdr = bufferHdr;
  1060. ~~~~~~~~~ ^ ~~~~~~~~~
  1061. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:4428:14: warning: explicitly assigning value of variable of type 'OMX_U32' (aka 'unsigned int') to itself [-Wself-assign]
  1062. port = port;
  1063. ~~~~ ^ ~~~~
  1064. 67 warnings generated.
  1065. [ 0% 183/62336] target thumb C++: libOm...io/aenc-amrnb/qdsp6/src/omx_amr_aenc.cp In file included from hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:41:
  1066. In file included from hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/inc/omx_amr_aenc.h:57:
  1067. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/inc/aenc_svr.h:39:9: warning: 'LOG_TAG' macro redefined [-Wmacro-redefined]
  1068. #define LOG_TAG "QC_AMRENC"
  1069. ^
  1070. system/core/liblog/include/log/log.h:51:9: note: previous definition is here
  1071. #define LOG_TAG NULL
  1072. ^
  1073. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:826:42: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  1074. OMX_ErrorInvalidState,
  1075. ^~~~~~~~~~~~~~~~~~~~~
  1076. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:940:21: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
  1077. else if ((state == OMX_StatePause))
  1078. ~~~~~~^~~~~~~~~~~~~~~~~
  1079. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:940:21: note: remove extraneous parentheses around the comparison to silence this warning
  1080. else if ((state == OMX_StatePause))
  1081. ~ ^ ~
  1082. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:940:21: note: use '=' to turn this equality comparison into an assignment
  1083. else if ((state == OMX_StatePause))
  1084. ^~
  1085. =
  1086. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1204:24: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
  1087. if(ioctl(m_drv_fd, AUDIO_GET_SESSION_ID,&m_session_id) == -1)
  1088. ~~~~~ ^~~~~~~~~~~~~~~~~~~~
  1089. out/target/product/markw/obj/KERNEL_OBJ/usr/include/linux/msm_audio.h:81:30: note: expanded from macro 'AUDIO_GET_SESSION_ID'
  1090. #define AUDIO_GET_SESSION_ID _IOR(AUDIO_IOCTL_MAGIC, 82, unsigned short)
  1091. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1092. out/target/product/markw/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:75:28: note: expanded from macro '_IOR'
  1093. #define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),(_IOC_TYPECHECK(size)))
  1094. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1095. out/target/product/markw/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:68:28: note: expanded from macro '_IOC'
  1096. ((nr) << _IOC_NRSHIFT) | \
  1097. ~~~~~~~~~~~~~~~~~~~~~~~~~^~~
  1098. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1309:17: warning: explicitly assigning value of variable of type 'OMX_PTR' (aka 'void *') to itself [-Wself-assign]
  1099. cmdData = cmdData;
  1100. ~~~~~~~ ^ ~~~~~~~
  1101. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1353:17: warning: explicitly assigning value of variable of type 'OMX_PTR' (aka 'void *') to itself [-Wself-assign]
  1102. cmdData = cmdData;
  1103. ~~~~~~~ ^ ~~~~~~~
  1104. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1386:35: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  1105. OMX_ErrorSameState,
  1106. ^~~~~~~~~~~~~~~~~~
  1107. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1403:35: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  1108. OMX_ErrorIncorrectStateTransition,
  1109. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1110. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1414:35: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  1111. OMX_ErrorIncorrectStateTransition,
  1112. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1113. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1425:35: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  1114. OMX_ErrorInvalidState,
  1115. ^~~~~~~~~~~~~~~~~~~~~
  1116. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1443:34: warning: implicit conversion changes signedness: 'int' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  1117. if (release_done(-1))
  1118. ~~~~~~~~~~~~ ^~
  1119. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1471:36: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
  1120. if(ioctl(m_drv_fd, AUDIO_GET_STREAM_CONFIG, &drv_stream_config)
  1121. ~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~
  1122. out/target/product/markw/obj/KERNEL_OBJ/usr/include/linux/msm_audio.h:79:35: note: expanded from macro 'AUDIO_GET_STREAM_CONFIG'
  1123. #define AUDIO_GET_STREAM_CONFIG _IOR(AUDIO_IOCTL_MAGIC, 81, \
  1124. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1125. out/target/product/markw/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:75:28: note: expanded from macro '_IOR'
  1126. #define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),(_IOC_TYPECHECK(size)))
  1127. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1128. out/target/product/markw/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:68:28: note: expanded from macro '_IOC'
  1129. ((nr) << _IOC_NRSHIFT) | \
  1130. ~~~~~~~~~~~~~~~~~~~~~~~~~^~~
  1131. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1511:40: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
  1132. if(ioctl(m_drv_fd, AUDIO_SET_AMRNB_ENC_CONFIG_V2, &drv_amr_enc_config)
  1133. ~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1134. out/target/product/markw/obj/KERNEL_OBJ/usr/include/linux/msm_audio_amrnb.h:13:40: note: expanded from macro 'AUDIO_SET_AMRNB_ENC_CONFIG_V2'
  1135. #define AUDIO_SET_AMRNB_ENC_CONFIG_V2 _IOR(AUDIO_IOCTL_MAGIC, \
  1136. ^~~~~~~~~~~~~~~~~~~~~~~~~
  1137. out/target/product/markw/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:75:28: note: expanded from macro '_IOR'
  1138. #define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),(_IOC_TYPECHECK(size)))
  1139. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1140. out/target/product/markw/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:68:28: note: expanded from macro '_IOC'
  1141. ((nr) << _IOC_NRSHIFT) | \
  1142. ~~~~~~~~~~~~~~~~~~~~~~~~~^~~
  1143. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1518:40: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
  1144. if(ioctl(m_drv_fd, AUDIO_SET_AMRWB_ENC_CONFIG, &drv_amrwb_enc_config)
  1145. ~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~
  1146. out/target/product/markw/obj/KERNEL_OBJ/usr/include/linux/msm_audio_amrwb.h:9:37: note: expanded from macro 'AUDIO_SET_AMRWB_ENC_CONFIG'
  1147. #define AUDIO_SET_AMRWB_ENC_CONFIG _IOR(AUDIO_IOCTL_MAGIC, \
  1148. ^~~~~~~~~~~~~~~~~~~~~~~~~
  1149. out/target/product/markw/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:75:28: note: expanded from macro '_IOR'
  1150. #define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),(_IOC_TYPECHECK(size)))
  1151. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1152. out/target/product/markw/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:68:28: note: expanded from macro '_IOC'
  1153. ((nr) << _IOC_NRSHIFT) | \
  1154. ~~~~~~~~~~~~~~~~~~~~~~~~~^~~
  1155. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1540:41: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
  1156. if (ioctl(m_drv_fd, AUDIO_GET_CONFIG, &pcm_cfg) == -1)
  1157. ~~~~~ ^~~~~~~~~~~~~~~~
  1158. out/target/product/markw/obj/KERNEL_OBJ/usr/include/linux/msm_audio.h:30:28: note: expanded from macro 'AUDIO_GET_CONFIG'
  1159. #define AUDIO_GET_CONFIG _IOR(AUDIO_IOCTL_MAGIC, 3, \
  1160. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1161. out/target/product/markw/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:75:28: note: expanded from macro '_IOR'
  1162. #define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),(_IOC_TYPECHECK(size)))
  1163. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1164. out/target/product/markw/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:68:28: note: expanded from macro '_IOC'
  1165. ((nr) << _IOC_NRSHIFT) | \
  1166. ~~~~~~~~~~~~~~~~~~~~~~~~~^~~
  1167. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1562:57: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  1168. OMX_EventError, OMX_ErrorInvalidState,
  1169. ^~~~~~~~~~~~~~~~~~~~~
  1170. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1574:35: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  1171. OMX_ErrorSameState,
  1172. ^~~~~~~~~~~~~~~~~~
  1173. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1582:41: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  1174. OMX_ErrorIncorrectStateTransition,
  1175. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1176. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1599:41: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  1177. OMX_ErrorInvalidState,
  1178. ^~~~~~~~~~~~~~~~~~~~~
  1179. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1618:39: warning: implicit conversion changes signedness: 'int' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  1180. execute_omx_flush(-1);
  1181. ~~~~~~~~~~~~~~~~~ ^~
  1182. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1634:41: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  1183. OMX_ErrorIncorrectStateTransition,
  1184. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1185. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1642:41: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  1186. OMX_ErrorIncorrectStateTransition,
  1187. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1188. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1649:57: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  1189. OMX_EventError, OMX_ErrorSameState,
  1190. ^~~~~~~~~~~~~~~~~~
  1191. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1657:57: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  1192. OMX_EventError, OMX_ErrorInvalidState,
  1193. ^~~~~~~~~~~~~~~~~~~~~
  1194. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1694:39: warning: implicit conversion changes signedness: 'int' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  1195. execute_omx_flush(-1);
  1196. ~~~~~~~~~~~~~~~~~ ^~
  1197. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1703:6: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  1198. OMX_ErrorIncorrectStateTransition,
  1199. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1200. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1711:6: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  1201. OMX_ErrorIncorrectStateTransition,
  1202. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1203. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1718:57: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  1204. OMX_EventError, OMX_ErrorSameState,
  1205. ^~~~~~~~~~~~~~~~~~
  1206. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1726:57: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  1207. OMX_EventError, OMX_ErrorInvalidState,
  1208. ^~~~~~~~~~~~~~~~~~~~~
  1209. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1748:57: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  1210. OMX_EventError, OMX_ErrorSameState,
  1211. ^~~~~~~~~~~~~~~~~~
  1212. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1756:41: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  1213. OMX_ErrorIncorrectStateTransition,
  1214. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1215. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1764:41: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  1216. OMX_ErrorIncorrectStateTransition,
  1217. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1218. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1773:41: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  1219. OMX_ErrorInvalidState,
  1220. ^~~~~~~~~~~~~~~~~~~~~
  1221. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1796:57: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  1222. OMX_EventError, OMX_ErrorInvalidState,
  1223. ^~~~~~~~~~~~~~~~~~~~~
  1224. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1821:35: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  1225. OMX_CommandFlush, OMX_ErrorBadPortIndex, NULL );
  1226. ^~~~~~~~~~~~~~~~~~~~~
  1227. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:2300:38: warning: format specifies type 'unsigned int' but the argument has type 'OMX_U64' (aka 'unsigned long long') [-Wformat]
  1228. omx_buf,nTimestamp);
  1229. ^~~~~~~~~~
  1230. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/inc/aenc_svr.h:64:27: note: expanded from macro 'DEBUG_DETAIL'
  1231. #define DEBUG_DETAIL LOGV
  1232. ^
  1233. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/inc/aenc_svr.h:55:14: note: expanded from macro 'LOGV'
  1234. #define LOGV ALOGV
  1235. ^
  1236. system/core/liblog/include/log/log_main.h:179:15: note: expanded from macro 'ALOGV' __ALOGV(__VA_ARGS__); \
  1237. ^~~~~~~~~~~
  1238. note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
  1239. system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
  1240. #define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
  1241. ^~~~~~~~~~~
  1242. system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
  1243. #define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
  1244. ^~~~~~~~~~~
  1245. system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
  1246. __android_log_print(prio, tag, __VA_ARGS__)
  1247. ^~~~~~~~~~~
  1248. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:2301:39: warning: implicit conversion changes signedness: 'OMX_U64' (aka 'unsigned long long') to 'OMX_TICKS' (aka 'long long') [-Wsign-conversion]
  1249. omx_buf->nTimeStamp = nTimestamp;
  1250. ~ ^~~~~~~~~~
  1251. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:2313:38: warning: format specifies type 'unsigned int' but the argument has type 'OMX_U64' (aka 'unsigned long long') [-Wformat]
  1252. omx_buf,nTimestamp);
  1253. ^~~~~~~~~~
  1254. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/inc/aenc_svr.h:64:27: note: expanded from macro 'DEBUG_DETAIL'
  1255. #define DEBUG_DETAIL LOGV
  1256. ^
  1257. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/inc/aenc_svr.h:55:14: note: expanded from macro 'LOGV'
  1258. #define LOGV ALOGV
  1259. ^
  1260. system/core/liblog/include/log/log_main.h:179:15: note: expanded from macro 'ALOGV' __ALOGV(__VA_ARGS__); \
  1261. ^~~~~~~~~~~
  1262. note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
  1263. system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
  1264. #define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
  1265. ^~~~~~~~~~~
  1266. system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
  1267. #define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
  1268. ^~~~~~~~~~~
  1269. system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
  1270. __android_log_print(prio, tag, __VA_ARGS__)
  1271. ^~~~~~~~~~~
  1272. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:2314:39: warning: implicit conversion changes signedness: 'OMX_U64' (aka 'unsigned long long') to 'OMX_TICKS' (aka 'long long') [-Wsign-conversion]
  1273. omx_buf->nTimeStamp = nTimestamp;
  1274. ~ ^~~~~~~~~~
  1275. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:2761:20: warning: format specifies type 'int' but the argument has type 'OMX_VERSIONTYPE' [-Wformat]
  1276. component_Role.nVersion,
  1277. ^~~~~~~~
  1278. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/inc/aenc_svr.h:62:27: note: expanded from macro 'DEBUG_PRINT_ERROR'
  1279. #define DEBUG_PRINT_ERROR LOGE
  1280. ^
  1281. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/inc/aenc_svr.h:43:14: note: expanded from macro 'LOGE'
  1282. #define LOGE ALOGE
  1283. ^
  1284. system/core/liblog/include/log/log_main.h:240:52: note: expanded from macro 'ALOGE'#define ALOGE(...) ((void)ALOG(LOG_ERROR, LOG_TAG, __VA_ARGS__))
  1285. ^~~~~~~~~~~
  1286. system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
  1287. #define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
  1288. ^~~~~~~~~~~
  1289. system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
  1290. #define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
  1291. ^~~~~~~~~~~
  1292. system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
  1293. __android_log_print(prio, tag, __VA_ARGS__)
  1294. ^~~~~~~~~~~
  1295. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:3152:25: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
  1296. BITMASK_CLEAR(&m_flags, OMX_COMPONENT_MUTED);
  1297. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1298. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/inc/omx_amr_aenc.h:105:50: note: expanded from macro 'BITMASK_CLEAR'
  1299. (mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
  1300. ~~ ^~~~~~~~~~~~~~~~~~~~~~~
  1301. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:3266:14: warning: explicitly assigning value of variable of type 'OMX_U32' (aka 'unsigned int') to itself [-Wself-assign]
  1302. port = port;
  1303. ~~~~ ^ ~~~~
  1304. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:3267:18: warning: explicitly assigning value of variable of type 'OMX_U32' (aka 'unsigned int') to itself [-Wself-assign]
  1305. peerPort = peerPort;
  1306. ~~~~~~~~ ^ ~~~~~~~~
  1307. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:3307:14: warning: explicitly assigning value of variable of type 'OMX_U32' (aka 'unsigned int') to itself [-Wself-assign]
  1308. port = port;
  1309. ~~~~ ^ ~~~~
  1310. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:3361:14: warning: explicitly assigning value of variable of type 'OMX_U32' (aka 'unsigned int') to itself [-Wself-assign]
  1311. port = port;
  1312. ~~~~ ^ ~~~~
  1313. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:3454:17: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
  1314. BITMASK_CLEAR(&m_flags, OMX_COMPONENT_IDLE_PENDING);
  1315. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1316. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/inc/omx_amr_aenc.h:105:50: note: expanded from macro 'BITMASK_CLEAR'
  1317. (mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
  1318. ~~ ^~~~~~~~~~~~~~~~~~~~~~~
  1319. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:3465:17: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
  1320. BITMASK_CLEAR((&m_flags),OMX_COMPONENT_INPUT_ENABLE_PENDING);
  1321. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1322. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/inc/omx_amr_aenc.h:105:50: note: expanded from macro 'BITMASK_CLEAR'
  1323. (mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
  1324. ~~ ^~~~~~~~~~~~~~~~~~~~~~~
  1325. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:3474:17: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
  1326. BITMASK_CLEAR((&m_flags),OMX_COMPONENT_OUTPUT_ENABLE_PENDING);
  1327. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1328. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/inc/omx_amr_aenc.h:105:50: note: expanded from macro 'BITMASK_CLEAR'
  1329. (mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
  1330. ~~ ^~~~~~~~~~~~~~~~~~~~~~~
  1331. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:3558:17: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
  1332. BITMASK_CLEAR(&m_flags, OMX_COMPONENT_IDLE_PENDING);
  1333. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1334. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/inc/omx_amr_aenc.h:105:50: note: expanded from macro 'BITMASK_CLEAR'
  1335. (mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
  1336. ~~ ^~~~~~~~~~~~~~~~~~~~~~~
  1337. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:3567:17: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
  1338. BITMASK_CLEAR((&m_flags),OMX_COMPONENT_INPUT_ENABLE_PENDING);
  1339. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1340. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/inc/omx_amr_aenc.h:105:50: note: expanded from macro 'BITMASK_CLEAR'
  1341. (mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
  1342. ~~ ^~~~~~~~~~~~~~~~~~~~~~~
  1343. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:3577:17: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
  1344. BITMASK_CLEAR((&m_flags),OMX_COMPONENT_OUTPUT_ENABLE_PENDING);
  1345. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1346. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/inc/omx_amr_aenc.h:105:50: note: expanded from macro 'BITMASK_CLEAR'
  1347. (mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
  1348. ~~ ^~~~~~~~~~~~~~~~~~~~~~~
  1349. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:3641:14: warning: explicitly assigning value of variable of type 'OMX_U32' (aka 'unsigned int') to itself [-Wself-assign]
  1350. port = port;
  1351. ~~~~ ^ ~~~~
  1352. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:3724:14: warning: explicitly assigning value of variable of type 'OMX_U32' (aka 'unsigned int') to itself [-Wself-assign]
  1353. port = port;
  1354. ~~~~ ^ ~~~~
  1355. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:3855:22: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'unsigned int' [-Wsign-conversion]
  1356. OMX_ErrorPortUnpopulated,
  1357. ^~~~~~~~~~~~~~~~~~~~~~~~
  1358. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:3864:22: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'unsigned int' [-Wsign-conversion]
  1359. OMX_ErrorPortUnpopulated,
  1360. ^~~~~~~~~~~~~~~~~~~~~~~~
  1361. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:3896:13: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
  1362. BITMASK_CLEAR((&m_flags),OMX_COMPONENT_INPUT_DISABLE_PENDING);
  1363. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1364. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/inc/omx_amr_aenc.h:105:50: note: expanded from macro 'BITMASK_CLEAR'
  1365. (mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
  1366. ~~ ^~~~~~~~~~~~~~~~~~~~~~~
  1367. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:3929:13: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
  1368. BITMASK_CLEAR((&m_flags),OMX_COMPONENT_OUTPUT_DISABLE_PENDING);
  1369. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1370. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/inc/omx_amr_aenc.h:105:50: note: expanded from macro 'BITMASK_CLEAR'
  1371. (mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
  1372. ~~ ^~~~~~~~~~~~~~~~~~~~~~~
  1373. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:3942:26: warning: implicit conversion changes signedness: 'int' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  1374. if (release_done(-1))
  1375. ~~~~~~~~~~~~ ^~
  1376. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:3954:13: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
  1377. BITMASK_CLEAR((&m_flags),OMX_COMPONENT_LOADING_PENDING);
  1378. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1379. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/inc/omx_amr_aenc.h:105:50: note: expanded from macro 'BITMASK_CLEAR'
  1380. (mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
  1381. ~~ ^~~~~~~~~~~~~~~~~~~~~~~
  1382. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:4072:27: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
  1383. meta_in.nFlags &= ~OMX_BUFFERFLAG_EOS;
  1384. ~~ ^~~~~~~~~~~~~~~~~~~
  1385. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:4125:26: warning: format specifies type 'unsigned long' but the argument has type 'OMX_U32' (aka 'unsigned int') [-Wformat]
  1386. buffer->nAllocLen,buffer->pBuffer,
  1387. ^~~~~~~~~~~~~~~~~
  1388. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/inc/aenc_svr.h:64:27: note: expanded from macro 'DEBUG_DETAIL'
  1389. #define DEBUG_DETAIL LOGV
  1390. ^
  1391. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/inc/aenc_svr.h:55:14: note: expanded from macro 'LOGV'
  1392. #define LOGV ALOGV
  1393. ^
  1394. system/core/liblog/include/log/log_main.h:179:15: note: expanded from macro 'ALOGV' __ALOGV(__VA_ARGS__); \
  1395. ^~~~~~~~~~~
  1396. note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
  1397. system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
  1398. #define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
  1399. ^~~~~~~~~~~
  1400. system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
  1401. #define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
  1402. ^~~~~~~~~~~
  1403. system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
  1404. __android_log_print(prio, tag, __VA_ARGS__)
  1405. ^~~~~~~~~~~
  1406. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:4126:26: warning: format specifies type 'int' but the argument has type 'ssize_t' (aka 'long') [-Wformat]
  1407. nReadbytes,nNumOutputBuf);
  1408. ^~~~~~~~~~
  1409. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/inc/aenc_svr.h:64:27: note: expanded from macro 'DEBUG_DETAIL'
  1410. #define DEBUG_DETAIL LOGV
  1411. ^
  1412. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/inc/aenc_svr.h:55:14: note: expanded from macro 'LOGV'
  1413. #define LOGV ALOGV
  1414. ^
  1415. system/core/liblog/include/log/log_main.h:179:15: note: expanded from macro 'ALOGV' __ALOGV(__VA_ARGS__); \
  1416. ^~~~~~~~~~~
  1417. note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
  1418. system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
  1419. #define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
  1420. ^~~~~~~~~~~
  1421. system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
  1422. #define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
  1423. ^~~~~~~~~~~
  1424. system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
  1425. __android_log_print(prio, tag, __VA_ARGS__)
  1426. ^~~~~~~~~~~
  1427. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:4130:38: warning: implicit conversion changes signedness: 'OMX_U64' (aka 'unsigned long long') to 'OMX_TICKS' (aka 'long long') [-Wsign-conversion]
  1428. buffer->nTimeStamp = nTimestamp;
  1429. ~ ^~~~~~~~~~
  1430. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:4134:45: warning: format specifies type 'int' but the argument has type 'ssize_t' (aka 'long') [-Wformat]
  1431. DEBUG_PRINT("Read bytes %d\n",nReadbytes);
  1432. ~~ ^~~~~~~~~~
  1433. %zd
  1434. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/inc/aenc_svr.h:63:27: note: expanded from macro 'DEBUG_PRINT'
  1435. #define DEBUG_PRINT LOGI
  1436. ^
  1437. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/inc/aenc_svr.h:59:14: note: expanded from macro 'LOGI'
  1438. #define LOGI ALOGI
  1439. ^
  1440. system/core/liblog/include/log/log_main.h:214:51: note: expanded from macro 'ALOGI'#define ALOGI(...) ((void)ALOG(LOG_INFO, LOG_TAG, __VA_ARGS__))
  1441. ^~~~~~~~~~~
  1442. system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
  1443. #define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
  1444. ^~~~~~~~~~~
  1445. system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
  1446. #define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
  1447. ^~~~~~~~~~~
  1448. system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
  1449. __android_log_print(prio, tag, __VA_ARGS__)
  1450. ^~~~~~~~~~~
  1451. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:4146:42: warning: implicit conversion changes signedness: 'ssize_t' (aka 'long') to 'unsigned long' [-Wsign-conversion]
  1452. buffer->nFilledLen = (OMX_U32)(nReadbytes - buffer->nOffset);
  1453. ^~~~~~~~~~ ~
  1454. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:4148:32: warning: implicit conversion changes signedness: 'OMX_U64' (aka 'unsigned long long') to 'OMX_TICKS' (aka 'long long') [-Wsign-conversion]
  1455. buffer->nTimeStamp = ts;
  1456. ~ ^~
  1457. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:4149:32: warning: implicit conversion changes signedness: 'OMX_TICKS' (aka 'long long') to 'OMX_U64' (aka 'unsigned long long') [-Wsign-conversion]
  1458. nTimestamp = buffer->nTimeStamp;
  1459. ~ ~~~~~~~~^~~~~~~~~~
  1460. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:4158:36: warning: implicit conversion changes signedness: 'OMX_U64' (aka 'unsigned long long') to 'OMX_TICKS' (aka 'long long') [-Wsign-conversion]
  1461. buffer->nTimeStamp = nTimestamp;
  1462. ~ ^~~~~~~~~~
  1463. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:4346:31: warning: implicit conversion changes signedness: 'int' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  1464. execute_omx_flush(-1);
  1465. ~~~~~~~~~~~~~~~~~ ^~
  1466. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:4476:19: warning: explicitly assigning value of variable of type 'OMX_BUFFERHEADERTYPE **' to itself [-Wself-assign]
  1467. bufferHdr = bufferHdr;
  1468. ~~~~~~~~~ ^ ~~~~~~~~~
  1469. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:4477:14: warning: explicitly assigning value of variable of type 'OMX_U32' (aka 'unsigned int') to itself [-Wself-assign]
  1470. port = port;
  1471. ~~~~ ^ ~~~~
  1472. 71 warnings generated.
  1473. [ 0% 185/62336] target thumb C++: libOm...udio/aenc-aac/qdsp6/src/omx_aac_aenc.cp In file included from hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:41:
  1474. In file included from hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/inc/omx_aac_aenc.h:57:
  1475. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/inc/aenc_svr.h:39:9: warning: 'LOG_TAG' macro redefined [-Wmacro-redefined]
  1476. #define LOG_TAG "QC_AACENC"
  1477. ^
  1478. system/core/liblog/include/log/log.h:51:9: note: previous definition is here
  1479. #define LOG_TAG NULL
  1480. ^
  1481. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:293:37: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
  1482. output_buffer_size((OMX_U32)OMX_AAC_OUTPUT_BUFFER_SIZE),
  1483. ^~~~~~~~~~~~~~~~~~~~~~~~~~
  1484. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/inc/omx_aac_aenc.h:140:54: note: expanded from macro 'OMX_AAC_OUTPUT_BUFFER_SIZE'
  1485. + 1023) & (~1023))
  1486. ~ ^~~~~
  1487. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:836:42: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  1488. OMX_ErrorInvalidState,
  1489. ^~~~~~~~~~~~~~~~~~~~~
  1490. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:950:21: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] else if ((state == OMX_StatePause))
  1491. ~~~~~~^~~~~~~~~~~~~~~~~
  1492. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:950:21: note: remove extraneous parentheses around the comparison to silence this warning else if ((state == OMX_StatePause))
  1493. ~ ^ ~
  1494. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:950:21: note: use '=' to turn this equality comparison into an assignment
  1495. else if ((state == OMX_StatePause))
  1496. ^~
  1497. =
  1498. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1151:33: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
  1499. (OMX_U8*)malloc(sizeof(OMX_U8)*OMX_AAC_OUTPUT_BUFFER_SIZE);
  1500. ^~~~~~~~~~~~~~~~~~~~~~~~~~
  1501. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/inc/omx_aac_aenc.h:140:54: note: expanded from macro 'OMX_AAC_OUTPUT_BUFFER_SIZE'
  1502. + 1023) & (~1023))
  1503. ~ ^~~~~
  1504. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1172:24: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
  1505. if(ioctl(m_drv_fd, AUDIO_GET_SESSION_ID,&m_session_id) == -1)
  1506. ~~~~~ ^~~~~~~~~~~~~~~~~~~~
  1507. out/target/product/markw/obj/KERNEL_OBJ/usr/include/linux/msm_audio.h:81:30: note: expanded from macro 'AUDIO_GET_SESSION_ID'
  1508. #define AUDIO_GET_SESSION_ID _IOR(AUDIO_IOCTL_MAGIC, 82, unsigned short)
  1509. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1510. out/target/product/markw/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:75:28: note: expanded from macro '_IOR'
  1511. #define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),(_IOC_TYPECHECK(size)))
  1512. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1513. out/target/product/markw/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:68:28: note: expanded from macro '_IOC'
  1514. ((nr) << _IOC_NRSHIFT) | \
  1515. ~~~~~~~~~~~~~~~~~~~~~~~~~^~~
  1516. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1277:17: warning: explicitly assigning value of variable of type 'OMX_PTR' (aka 'void *') to itself [-Wself-assign]
  1517. cmdData = cmdData;
  1518. ~~~~~~~ ^ ~~~~~~~
  1519. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1321:17: warning: explicitly assigning value of variable of type 'OMX_PTR' (aka 'void *') to itself [-Wself-assign]
  1520. cmdData = cmdData;
  1521. ~~~~~~~ ^ ~~~~~~~
  1522. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1354:35: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  1523. OMX_ErrorSameState,
  1524. ^~~~~~~~~~~~~~~~~~
  1525. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1371:35: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  1526. OMX_ErrorIncorrectStateTransition,
  1527. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1528. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1382:35: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  1529. OMX_ErrorIncorrectStateTransition,
  1530. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1531. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1393:35: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  1532. OMX_ErrorInvalidState,
  1533. ^~~~~~~~~~~~~~~~~~~~~
  1534. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1411:34: warning: implicit conversion changes signedness: 'int' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  1535. if (release_done(-1))
  1536. ~~~~~~~~~~~~ ^~
  1537. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1438:36: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
  1538. if(ioctl(m_drv_fd, AUDIO_GET_STREAM_CONFIG, &drv_stream_config)
  1539. ~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~
  1540. out/target/product/markw/obj/KERNEL_OBJ/usr/include/linux/msm_audio.h:79:35: note: expanded from macro 'AUDIO_GET_STREAM_CONFIG'
  1541. #define AUDIO_GET_STREAM_CONFIG _IOR(AUDIO_IOCTL_MAGIC, 81, \
  1542. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1543. out/target/product/markw/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:75:28: note: expanded from macro '_IOR'
  1544. #define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),(_IOC_TYPECHECK(size)))
  1545. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1546. out/target/product/markw/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:68:28: note: expanded from macro '_IOC'
  1547. ((nr) << _IOC_NRSHIFT) | \
  1548. ~~~~~~~~~~~~~~~~~~~~~~~~~^~~
  1549. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1451:36: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
  1550. if(ioctl(m_drv_fd, AUDIO_GET_AAC_ENC_CONFIG,
  1551. ~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~
  1552. out/target/product/markw/obj/KERNEL_OBJ/usr/include/linux/msm_audio_aac.h:14:35: note: expanded from macro 'AUDIO_GET_AAC_ENC_CONFIG'
  1553. #define AUDIO_GET_AAC_ENC_CONFIG _IOR(AUDIO_IOCTL_MAGIC, \
  1554. ^~~~~~~~~~~~~~~~~~~~~~~~~
  1555. out/target/product/markw/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:75:28: note: expanded from macro '_IOR'
  1556. #define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),(_IOC_TYPECHECK(size)))
  1557. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1558. out/target/product/markw/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:68:28: note: expanded from macro '_IOC'
  1559. ((nr) << _IOC_NRSHIFT) | \
  1560. ~~~~~~~~~~~~~~~~~~~~~~~~~^~~
  1561. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1460:17: warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion]
  1562. get_updated_bit_rate(m_aac_param.nBitRate);
  1563. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1564. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1460:50: warning: implicit conversion changes signedness: 'OMX_U32' (aka 'unsigned int') to 'int' [-Wsign-conversion]
  1565. get_updated_bit_rate(m_aac_param.nBitRate);
  1566. ~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~^~~~~~~~
  1567. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1471:60: warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion]
  1568. drv_aac_enc_config.stream_format = AUDIO_AAC_FORMAT_ADTS;
  1569. ~ ^~~~~~~~~~~~~~~~~~~~~
  1570. out/target/product/markw/obj/KERNEL_OBJ/usr/include/linux/msm_audio_aac.h:20:32: note: expanded from macro 'AUDIO_AAC_FORMAT_ADTS'
  1571. #define AUDIO_AAC_FORMAT_ADTS -1
  1572. ^~
  1573. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1494:37: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
  1574. if (ioctl(m_drv_fd, AUDIO_GET_AAC_CONFIG, &drv_aac_config)
  1575. ~~~~~ ^~~~~~~~~~~~~~~~~~~~
  1576. out/target/product/markw/obj/KERNEL_OBJ/usr/include/linux/msm_audio_aac.h:8:31: note: expanded from macro 'AUDIO_GET_AAC_CONFIG'
  1577. #define AUDIO_GET_AAC_CONFIG _IOR(AUDIO_IOCTL_MAGIC, \
  1578. ^~~~~~~~~~~~~~~~~~~~~~~~~
  1579. out/target/product/markw/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:75:28: note: expanded from macro '_IOR'
  1580. #define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),(_IOC_TYPECHECK(size)))
  1581. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1582. out/target/product/markw/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:68:28: note: expanded from macro '_IOC'
  1583. ((nr) << _IOC_NRSHIFT) | \
  1584. ~~~~~~~~~~~~~~~~~~~~~~~~~^~~
  1585. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1558:41: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
  1586. if (ioctl(m_drv_fd, AUDIO_GET_CONFIG, &pcm_cfg) == -1)
  1587. ~~~~~ ^~~~~~~~~~~~~~~~
  1588. out/target/product/markw/obj/KERNEL_OBJ/usr/include/linux/msm_audio.h:30:28: note: expanded from macro 'AUDIO_GET_CONFIG'
  1589. #define AUDIO_GET_CONFIG _IOR(AUDIO_IOCTL_MAGIC, 3, \
  1590. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1591. out/target/product/markw/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:75:28: note: expanded from macro '_IOR'
  1592. #define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),(_IOC_TYPECHECK(size)))
  1593. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1594. out/target/product/markw/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:68:28: note: expanded from macro '_IOC'
  1595. ((nr) << _IOC_NRSHIFT) | \
  1596. ~~~~~~~~~~~~~~~~~~~~~~~~~^~~
  1597. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1582:57: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  1598. OMX_EventError, OMX_ErrorInvalidState,
  1599. ^~~~~~~~~~~~~~~~~~~~~
  1600. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1595:35: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  1601. OMX_ErrorSameState,
  1602. ^~~~~~~~~~~~~~~~~~
  1603. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1603:41: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  1604. OMX_ErrorIncorrectStateTransition,
  1605. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1606. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1620:41: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  1607. OMX_ErrorInvalidState,
  1608. ^~~~~~~~~~~~~~~~~~~~~
  1609. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1639:39: warning: implicit conversion changes signedness: 'int' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  1610. execute_omx_flush(-1);
  1611. ~~~~~~~~~~~~~~~~~ ^~
  1612. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1655:41: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  1613. OMX_ErrorIncorrectStateTransition,
  1614. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1615. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1663:41: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  1616. OMX_ErrorIncorrectStateTransition,
  1617. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1618. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1670:57: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  1619. OMX_EventError, OMX_ErrorSameState,
  1620. ^~~~~~~~~~~~~~~~~~
  1621. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1678:57: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  1622. OMX_EventError, OMX_ErrorInvalidState,
  1623. ^~~~~~~~~~~~~~~~~~~~~
  1624. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1715:39: warning: implicit conversion changes signedness: 'int' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  1625. execute_omx_flush(-1);
  1626. ~~~~~~~~~~~~~~~~~ ^~
  1627. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1724:6: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  1628. OMX_ErrorIncorrectStateTransition,
  1629. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1630. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1732:6: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  1631. OMX_ErrorIncorrectStateTransition,
  1632. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1633. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1739:57: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  1634. OMX_EventError, OMX_ErrorSameState,
  1635. ^~~~~~~~~~~~~~~~~~
  1636. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1747:57: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  1637. OMX_EventError, OMX_ErrorInvalidState,
  1638. ^~~~~~~~~~~~~~~~~~~~~
  1639. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1769:57: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  1640. OMX_EventError, OMX_ErrorSameState,
  1641. ^~~~~~~~~~~~~~~~~~
  1642. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1777:41: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  1643. OMX_ErrorIncorrectStateTransition,
  1644. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1645. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1785:41: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  1646. OMX_ErrorIncorrectStateTransition,
  1647. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1648. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1794:41: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  1649. OMX_ErrorInvalidState,
  1650. ^~~~~~~~~~~~~~~~~~~~~
  1651. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1817:57: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  1652. OMX_EventError, OMX_ErrorInvalidState,
  1653. ^~~~~~~~~~~~~~~~~~~~~
  1654. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1842:35: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  1655. OMX_CommandFlush, OMX_ErrorBadPortIndex, NULL );
  1656. ^~~~~~~~~~~~~~~~~~~~~
  1657. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:2320:38: warning: format specifies type 'unsigned int' but the argument has type 'OMX_U64' (aka 'unsigned long long') [-Wformat]
  1658. omx_buf,nTimestamp);
  1659. ^~~~~~~~~~
  1660. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/inc/aenc_svr.h:64:27: note: expanded from macro 'DEBUG_DETAIL'
  1661. #define DEBUG_DETAIL LOGV
  1662. ^
  1663. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/inc/aenc_svr.h:55:14: note: expanded from macro 'LOGV'
  1664. #define LOGV ALOGV
  1665. ^
  1666. system/core/liblog/include/log/log_main.h:179:15: note: expanded from macro 'ALOGV' __ALOGV(__VA_ARGS__); \
  1667. ^~~~~~~~~~~
  1668. note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
  1669. system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
  1670. #define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
  1671. ^~~~~~~~~~~
  1672. system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
  1673. #define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
  1674. ^~~~~~~~~~~
  1675. system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
  1676. __android_log_print(prio, tag, __VA_ARGS__)
  1677. ^~~~~~~~~~~
  1678. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:2321:39: warning: implicit conversion changes signedness: 'OMX_U64' (aka 'unsigned long long') to 'OMX_TICKS' (aka 'long long') [-Wsign-conversion]
  1679. omx_buf->nTimeStamp = nTimestamp;
  1680. ~ ^~~~~~~~~~
  1681. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:2333:38: warning: format specifies type 'unsigned int' but the argument has type 'OMX_U64' (aka 'unsigned long long') [-Wformat]
  1682. omx_buf,nTimestamp);
  1683. ^~~~~~~~~~
  1684. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/inc/aenc_svr.h:64:27: note: expanded from macro 'DEBUG_DETAIL'
  1685. #define DEBUG_DETAIL LOGV
  1686. ^
  1687. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/inc/aenc_svr.h:55:14: note: expanded from macro 'LOGV'
  1688. #define LOGV ALOGV
  1689. ^
  1690. system/core/liblog/include/log/log_main.h:179:15: note: expanded from macro 'ALOGV' __ALOGV(__VA_ARGS__); \
  1691. ^~~~~~~~~~~
  1692. note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
  1693. system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
  1694. #define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
  1695. ^~~~~~~~~~~
  1696. system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
  1697. #define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
  1698. ^~~~~~~~~~~
  1699. system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
  1700. __android_log_print(prio, tag, __VA_ARGS__)
  1701. ^~~~~~~~~~~
  1702. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:2334:39: warning: implicit conversion changes signedness: 'OMX_U64' (aka 'unsigned long long') to 'OMX_TICKS' (aka 'long long') [-Wsign-conversion]
  1703. omx_buf->nTimeStamp = nTimestamp;
  1704. ~ ^~~~~~~~~~
  1705. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:2783:20: warning: format specifies type 'int' but the argument has type 'OMX_VERSIONTYPE' [-Wformat]
  1706. component_Role.nVersion,
  1707. ^~~~~~~~
  1708. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/inc/aenc_svr.h:62:27: note: expanded from macro 'DEBUG_PRINT_ERROR'
  1709. #define DEBUG_PRINT_ERROR LOGE
  1710. ^
  1711. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/inc/aenc_svr.h:43:14: note: expanded from macro 'LOGE'
  1712. #define LOGE ALOGE
  1713. ^
  1714. system/core/liblog/include/log/log_main.h:240:52: note: expanded from macro 'ALOGE'#define ALOGE(...) ((void)ALOG(LOG_ERROR, LOG_TAG, __VA_ARGS__))
  1715. ^~~~~~~~~~~
  1716. system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
  1717. #define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
  1718. ^~~~~~~~~~~
  1719. system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
  1720. #define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
  1721. ^~~~~~~~~~~
  1722. system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
  1723. __android_log_print(prio, tag, __VA_ARGS__)
  1724. ^~~~~~~~~~~
  1725. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:2863:52: warning: implicit conversion changes signedness: 'OMX_U32' (aka 'unsigned int') to 'OMX_S32' (aka 'int') [-Wsign-conversion]
  1726. sample_idx = sample_idx_tbl[loop].sample_rate_idx;
  1727. ~ ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
  1728. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:3204:25: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
  1729. BITMASK_CLEAR(&m_flags, OMX_COMPONENT_MUTED);
  1730. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1731. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/inc/omx_aac_aenc.h:103:50: note: expanded from macro 'BITMASK_CLEAR'
  1732. (mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
  1733. ~~ ^~~~~~~~~~~~~~~~~~~~~~~
  1734. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:3318:14: warning: explicitly assigning value of variable of type 'OMX_U32' (aka 'unsigned int') to itself [-Wself-assign]
  1735. port = port;
  1736. ~~~~ ^ ~~~~
  1737. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:3319:18: warning: explicitly assigning value of variable of type 'OMX_U32' (aka 'unsigned int') to itself [-Wself-assign]
  1738. peerPort = peerPort;
  1739. ~~~~~~~~ ^ ~~~~~~~~
  1740. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:3359:14: warning: explicitly assigning value of variable of type 'OMX_U32' (aka 'unsigned int') to itself [-Wself-assign]
  1741. port = port;
  1742. ~~~~ ^ ~~~~
  1743. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:3413:14: warning: explicitly assigning value of variable of type 'OMX_U32' (aka 'unsigned int') to itself [-Wself-assign]
  1744. port = port;
  1745. ~~~~ ^ ~~~~
  1746. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:3507:17: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
  1747. BITMASK_CLEAR(&m_flags, OMX_COMPONENT_IDLE_PENDING);
  1748. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1749. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/inc/omx_aac_aenc.h:103:50: note: expanded from macro 'BITMASK_CLEAR'
  1750. (mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
  1751. ~~ ^~~~~~~~~~~~~~~~~~~~~~~
  1752. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:3518:17: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
  1753. BITMASK_CLEAR((&m_flags),OMX_COMPONENT_INPUT_ENABLE_PENDING);
  1754. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1755. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/inc/omx_aac_aenc.h:103:50: note: expanded from macro 'BITMASK_CLEAR'
  1756. (mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
  1757. ~~ ^~~~~~~~~~~~~~~~~~~~~~~
  1758. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:3527:17: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
  1759. BITMASK_CLEAR((&m_flags),OMX_COMPONENT_OUTPUT_ENABLE_PENDING);
  1760. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1761. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/inc/omx_aac_aenc.h:103:50: note: expanded from macro 'BITMASK_CLEAR'
  1762. (mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
  1763. ~~ ^~~~~~~~~~~~~~~~~~~~~~~
  1764. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:3611:17: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
  1765. BITMASK_CLEAR(&m_flags, OMX_COMPONENT_IDLE_PENDING);
  1766. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1767. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/inc/omx_aac_aenc.h:103:50: note: expanded from macro 'BITMASK_CLEAR'
  1768. (mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
  1769. ~~ ^~~~~~~~~~~~~~~~~~~~~~~
  1770. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:3620:17: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
  1771. BITMASK_CLEAR((&m_flags),OMX_COMPONENT_INPUT_ENABLE_PENDING);
  1772. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1773. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/inc/omx_aac_aenc.h:103:50: note: expanded from macro 'BITMASK_CLEAR'
  1774. (mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
  1775. ~~ ^~~~~~~~~~~~~~~~~~~~~~~
  1776. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:3630:17: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
  1777. BITMASK_CLEAR((&m_flags),OMX_COMPONENT_OUTPUT_ENABLE_PENDING);
  1778. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1779. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/inc/omx_aac_aenc.h:103:50: note: expanded from macro 'BITMASK_CLEAR'
  1780. (mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
  1781. ~~ ^~~~~~~~~~~~~~~~~~~~~~~
  1782. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:3694:14: warning: explicitly assigning value of variable of type 'OMX_U32' (aka 'unsigned int') to itself [-Wself-assign]
  1783. port = port;
  1784. ~~~~ ^ ~~~~
  1785. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:3777:14: warning: explicitly assigning value of variable of type 'OMX_U32' (aka 'unsigned int') to itself [-Wself-assign]
  1786. port = port;
  1787. ~~~~ ^ ~~~~
  1788. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:3908:22: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'unsigned int' [-Wsign-conversion]
  1789. OMX_ErrorPortUnpopulated,
  1790. ^~~~~~~~~~~~~~~~~~~~~~~~
  1791. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:3917:22: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'unsigned int' [-Wsign-conversion]
  1792. OMX_ErrorPortUnpopulated,
  1793. ^~~~~~~~~~~~~~~~~~~~~~~~
  1794. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:3949:13: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
  1795. BITMASK_CLEAR((&m_flags),OMX_COMPONENT_INPUT_DISABLE_PENDING);
  1796. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1797. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/inc/omx_aac_aenc.h:103:50: note: expanded from macro 'BITMASK_CLEAR'
  1798. (mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
  1799. ~~ ^~~~~~~~~~~~~~~~~~~~~~~
  1800. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:3982:13: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
  1801. BITMASK_CLEAR((&m_flags),OMX_COMPONENT_OUTPUT_DISABLE_PENDING);
  1802. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1803. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/inc/omx_aac_aenc.h:103:50: note: expanded from macro 'BITMASK_CLEAR'
  1804. (mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
  1805. ~~ ^~~~~~~~~~~~~~~~~~~~~~~
  1806. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:3995:26: warning: implicit conversion changes signedness: 'int' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  1807. if (release_done(-1))
  1808. ~~~~~~~~~~~~ ^~
  1809. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:4005:13: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
  1810. BITMASK_CLEAR((&m_flags),OMX_COMPONENT_LOADING_PENDING);
  1811. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1812. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/inc/omx_aac_aenc.h:103:50: note: expanded from macro 'BITMASK_CLEAR'
  1813. (mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
  1814. ~~ ^~~~~~~~~~~~~~~~~~~~~~~
  1815. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:4125:27: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
  1816. meta_in.nFlags &= ~OMX_BUFFERFLAG_EOS;
  1817. ~~ ^~~~~~~~~~~~~~~~~~~
  1818. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:4140:22: warning: implicit conversion changes signedness: 'OMX_TICKS' (aka 'long long') to 'OMX_U64' (aka 'unsigned long long') [-Wsign-conversion]
  1819. ts = buffer->nTimeStamp;
  1820. ~ ~~~~~~~~^~~~~~~~~~
  1821. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:4154:19: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  1822. OMX_ErrorHardware,
  1823. ^~~~~~~~~~~~~~~~~
  1824. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:4205:26: warning: format specifies type 'unsigned long' but the argument has type 'OMX_U32' (aka 'unsigned int') [-Wformat]
  1825. buffer->nAllocLen,m_tmp_out_meta_buf,
  1826. ^~~~~~~~~~~~~~~~~
  1827. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/inc/aenc_svr.h:64:27: note: expanded from macro 'DEBUG_DETAIL'
  1828. #define DEBUG_DETAIL LOGV
  1829. ^
  1830. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/inc/aenc_svr.h:55:14: note: expanded from macro 'LOGV'
  1831. #define LOGV ALOGV
  1832. ^
  1833. system/core/liblog/include/log/log_main.h:179:15: note: expanded from macro 'ALOGV' __ALOGV(__VA_ARGS__); \
  1834. ^~~~~~~~~~~
  1835. note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
  1836. system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
  1837. #define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
  1838. ^~~~~~~~~~~
  1839. system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
  1840. #define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
  1841. ^~~~~~~~~~~
  1842. system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
  1843. __android_log_print(prio, tag, __VA_ARGS__)
  1844. ^~~~~~~~~~~
  1845. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:4206:26: warning: format specifies type 'int' but the argument has type 'ssize_t' (aka 'long') [-Wformat]
  1846. nReadbytes,nNumOutputBuf);
  1847. ^~~~~~~~~~
  1848. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/inc/aenc_svr.h:64:27: note: expanded from macro 'DEBUG_DETAIL'
  1849. #define DEBUG_DETAIL LOGV
  1850. ^
  1851. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/inc/aenc_svr.h:55:14: note: expanded from macro 'LOGV'
  1852. #define LOGV ALOGV
  1853. ^
  1854. system/core/liblog/include/log/log_main.h:179:15: note: expanded from macro 'ALOGV' __ALOGV(__VA_ARGS__); \
  1855. ^~~~~~~~~~~
  1856. note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
  1857. system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
  1858. #define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
  1859. ^~~~~~~~~~~
  1860. system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
  1861. #define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
  1862. ^~~~~~~~~~~
  1863. system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
  1864. __android_log_print(prio, tag, __VA_ARGS__)
  1865. ^~~~~~~~~~~
  1866. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:4214:55: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
  1867. metainfo = (int)((sizeof(ENC_META_OUT) * numframes)+
  1868. ~ ^~~~~~~~~
  1869. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:4224:55: warning: implicit conversion changes signedness: 'OMX_S32' (aka 'int') to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  1870. audaac_rec_install_adif_header_variable(0,sample_idx,
  1871. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
  1872. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:4226:55: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned int') [-Wsign-conversion]
  1873. memcpy(buffer->pBuffer,m_tmp_out_meta_buf,metainfo);
  1874. ~~~~~~ ^~~~~~~~
  1875. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:4227:70: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned int') [-Wsign-conversion]
  1876. memcpy(buffer->pBuffer + metainfo,&audaac_header_adif[0],szadifhr);
  1877. ~~~~~~ ^~~~~~~~
  1878. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:4229:55: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned int') [-Wsign-conversion]
  1879. m_tmp_out_meta_buf + metainfo,(nReadbytes - metainfo));
  1880. ~~~~~~~~~~~^~~~~~~~~~
  1881. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:4232:37: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
  1882. meta_out->frame_size += szadifhr;
  1883. ~~ ^~~~~~~~
  1884. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:4238:47: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
  1885. meta_out->offset_to_frame += szadifhr;
  1886. ~~ ^~~~~~~~
  1887. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:4248:56: warning: implicit conversion changes signedness: 'OMX_S32' (aka 'int') to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  1888. audaac_rec_install_mp4ff_header_variable(0,sample_idx,
  1889. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
  1890. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:4267:26: warning: format specifies type 'int' but the argument has type 'ssize_t' (aka 'long') [-Wformat]
  1891. nReadbytes,nNumOutputBuf);
  1892. ^~~~~~~~~~
  1893. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/inc/aenc_svr.h:64:27: note: expanded from macro 'DEBUG_DETAIL'
  1894. #define DEBUG_DETAIL LOGV
  1895. ^
  1896. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/inc/aenc_svr.h:55:14: note: expanded from macro 'LOGV'
  1897. #define LOGV ALOGV
  1898. ^
  1899. system/core/liblog/include/log/log_main.h:179:15: note: expanded from macro 'ALOGV' __ALOGV(__VA_ARGS__); \
  1900. ^~~~~~~~~~~
  1901. note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
  1902. system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
  1903. #define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
  1904. ^~~~~~~~~~~
  1905. system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
  1906. #define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
  1907. ^~~~~~~~~~~
  1908. system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
  1909. __android_log_print(prio, tag, __VA_ARGS__)
  1910. ^~~~~~~~~~~
  1911. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:4272:37: warning: implicit conversion changes signedness: 'OMX_U64' (aka 'unsigned long long') to 'OMX_TICKS' (aka 'long long') [-Wsign-conversion]
  1912. buffer->nTimeStamp = nTimestamp;
  1913. ~ ^~~~~~~~~~
  1914. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:4281:23: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  1915. OMX_ErrorHardware,
  1916. ^~~~~~~~~~~~~~~~~
  1917. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:4289:34: warning: implicit conversion changes signedness: 'unsigned long long' to 'OMX_TICKS' (aka 'long long') [-Wsign-conversion]
  1918. buffer->nTimeStamp = ts + (frameduration * m_frame_count);
  1919. ~ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1920. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:4291:31: warning: implicit conversion changes signedness: 'OMX_TICKS' (aka 'long long') to 'OMX_U64' (aka 'unsigned long long') [-Wsign-conversion]
  1921. nTimestamp = buffer->nTimeStamp;
  1922. ~ ~~~~~~~~^~~~~~~~~~
  1923. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:4294:41: warning: implicit conversion changes signedness: 'ssize_t' (aka 'long') to 'unsigned long' [-Wsign-conversion]
  1924. buffer->nFilledLen = (OMX_U32)(nReadbytes - buffer->nOffset + szadifhr);
  1925. ^~~~~~~~~~ ~
  1926. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:4294:72: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
  1927. buffer->nFilledLen = (OMX_U32)(nReadbytes - buffer->nOffset + szadifhr);
  1928. ~ ^~~~~~~~
  1929. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:4305:36: warning: implicit conversion changes signedness: 'OMX_U64' (aka 'unsigned long long') to 'OMX_TICKS' (aka 'long long') [-Wsign-conversion]
  1930. buffer->nTimeStamp = nTimestamp;
  1931. ~ ^~~~~~~~~~
  1932. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:4220:36: warning: comparison of integers of different signs: 'OMX_U32' (aka 'unsigned int') and 'long' [-Wsign-compare]
  1933. (buffer->nAllocLen < (nReadbytes + szadifhr)) ||
  1934. ~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~
  1935. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:4496:31: warning: implicit conversion changes signedness: 'int' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
  1936. execute_omx_flush(-1);
  1937. ~~~~~~~~~~~~~~~~~ ^~
  1938. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:4626:19: warning: explicitly assigning value of variable of type 'OMX_BUFFERHEADERTYPE **' to itself [-Wself-assign]
  1939. bufferHdr = bufferHdr;
  1940. ~~~~~~~~~ ^ ~~~~~~~~~
  1941. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:4627:14: warning: explicitly assigning value of variable of type 'OMX_U32' (aka 'unsigned int') to itself [-Wself-assign]
  1942. port = port;
  1943. ~~~~ ^ ~~~~
  1944. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:5099:47: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
  1945. max_bitrate = m_aac_param.nSampleRate *
  1946. ~ ~~~~~~~~~~~~~~~~~~~~~~~~^
  1947. hardware/qcom/audio-caf/msm8996/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:5104:33: warning: implicit conversion changes signedness: 'OMX_U32' (aka 'unsigned int') to 'int' [-Wsign-conversion]
  1948. min_bitrate = m_aac_param.nSampleRate;
  1949. ~ ~~~~~~~~~~~~^~~~~~~~~~~
  1950. 92 warnings generated.
  1951. [ 0% 208/62336] target thumb C: libqcom.../audio-caf/msm8996/post_proc/equalizer. hardware/qcom/audio-caf/msm8996/post_proc/equalizer.c:383:19: warning: comparison of integers of different signs: 'int32_t' (aka 'int') and 'unsigned int' [-Wsign-compare]
  1952. if (vsize < sizeof(int16_t)) {
  1953. ~~~~~ ^ ~~~~~~~~~~~~~~~
  1954. hardware/qcom/audio-caf/msm8996/post_proc/equalizer.c:396:19: warning: comparison of integers of different signs: 'int32_t' (aka 'int') and 'unsigned int' [-Wsign-compare]
  1955. if (vsize < sizeof(int16_t)) {
  1956. ~~~~~ ^ ~~~~~~~~~~~~~~~
  1957. hardware/qcom/audio-caf/msm8996/post_proc/equalizer.c:413:19: warning: comparison of integers of different signs: 'int32_t' (aka 'int') and 'unsigned int' [-Wsign-compare]
  1958. if (vsize < sizeof(int16_t)) {
  1959. ~~~~~ ^ ~~~~~~~~~~~~~~~
  1960. hardware/qcom/audio-caf/msm8996/post_proc/equalizer.c:425:23: warning: comparison of integers of different signs: 'int32_t' (aka 'int') and 'unsigned int' [-Wsign-compare]
  1961. if (vsize < (2 + NUM_EQ_BANDS) * sizeof(int16_t)) {
  1962. ~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1963. 4 warnings generated.
  1964. [ 0% 231/62336] target C: audio_amplif...omi/markw/libaudioampl/audio_amplifier. device/xiaomi/markw/libaudioampl/audio_amplifier.c:85:54: warning: unused parameter 'device' [-Wunused-parameter]
  1965. static int amp_set_input_devices(amplifier_device_t *device, uint32_t devices)
  1966. ^
  1967. device/xiaomi/markw/libaudioampl/audio_amplifier.c:85:71: warning: unused parameter 'devices' [-Wunused-parameter]
  1968. static int amp_set_input_devices(amplifier_device_t *device, uint32_t devices)
  1969. ^
  1970. device/xiaomi/markw/libaudioampl/audio_amplifier.c:90:55: warning: unused parameter 'device' [-Wunused-parameter]
  1971. static int amp_set_output_devices(amplifier_device_t *device, uint32_t devices)
  1972. ^
  1973. device/xiaomi/markw/libaudioampl/audio_amplifier.c:90:72: warning: unused parameter 'devices' [-Wunused-parameter]
  1974. static int amp_set_output_devices(amplifier_device_t *device, uint32_t devices)
  1975. ^
  1976. device/xiaomi/markw/libaudioampl/audio_amplifier.c:95:58: warning: unused parameter 'device' [-Wunused-parameter]
  1977. static int amp_enable_output_devices(amplifier_device_t *device,
  1978. ^
  1979. device/xiaomi/markw/libaudioampl/audio_amplifier.c:107:57: warning: unused parameter 'device' [-Wunused-parameter]
  1980. static int amp_enable_input_devices(amplifier_device_t *device,
  1981. ^
  1982. device/xiaomi/markw/libaudioampl/audio_amplifier.c:108:18: warning: unused parameter 'devices' [-Wunused-parameter]
  1983. uint32_t devices, bool enable)
  1984. ^
  1985. device/xiaomi/markw/libaudioampl/audio_amplifier.c:108:32: warning: unused parameter 'enable' [-Wunused-parameter]
  1986. uint32_t devices, bool enable)
  1987. ^
  1988. device/xiaomi/markw/libaudioampl/audio_amplifier.c:113:45: warning: unused parameter 'device' [-Wunused-parameter]
  1989. static int amp_set_mode(amplifier_device_t *device, audio_mode_t mode)
  1990. ^
  1991. device/xiaomi/markw/libaudioampl/audio_amplifier.c:113:66: warning: unused parameter 'mode' [-Wunused-parameter]
  1992. static int amp_set_mode(amplifier_device_t *device, audio_mode_t mode)
  1993. ^
  1994. device/xiaomi/markw/libaudioampl/audio_amplifier.c:118:56: warning: unused parameter 'device' [-Wunused-parameter]
  1995. static int amp_output_stream_start(amplifier_device_t *device,
  1996. ^
  1997. device/xiaomi/markw/libaudioampl/audio_amplifier.c:119:34: warning: unused parameter 'stream' [-Wunused-parameter]
  1998. struct audio_stream_out *stream, bool offload)
  1999. ^
  2000. device/xiaomi/markw/libaudioampl/audio_amplifier.c:119:47: warning: unused parameter 'offload' [-Wunused-parameter]
  2001. struct audio_stream_out *stream, bool offload)
  2002. ^
  2003. device/xiaomi/markw/libaudioampl/audio_amplifier.c:124:55: warning: unused parameter 'device' [-Wunused-parameter]
  2004. static int amp_input_stream_start(amplifier_device_t *device,
  2005. ^
  2006. device/xiaomi/markw/libaudioampl/audio_amplifier.c:125:33: warning: unused parameter 'stream' [-Wunused-parameter]
  2007. struct audio_stream_in *stream)
  2008. ^
  2009. device/xiaomi/markw/libaudioampl/audio_amplifier.c:130:58: warning: unused parameter 'device' [-Wunused-parameter]
  2010. static int amp_output_stream_standby(amplifier_device_t *device,
  2011. ^
  2012. device/xiaomi/markw/libaudioampl/audio_amplifier.c:131:34: warning: unused parameter 'stream' [-Wunused-parameter]
  2013. struct audio_stream_out *stream)
  2014. ^
  2015. device/xiaomi/markw/libaudioampl/audio_amplifier.c:136:57: warning: unused parameter 'device' [-Wunused-parameter]
  2016. static int amp_input_stream_standby(amplifier_device_t *device,
  2017. ^
  2018. device/xiaomi/markw/libaudioampl/audio_amplifier.c:137:33: warning: unused parameter 'stream' [-Wunused-parameter]
  2019. struct audio_stream_in *stream)
  2020. ^
  2021. struct audio_stream_out *stream, bool offload) ^
  2022. device/xiaomi/markw/libaudioampl/audio_amplifier.c:124:55: warning: unused parameter 'device' [-Wunused-parameter]
  2023. static int amp_input_stream_start(amplifier_device_t *device, ^
  2024. device/xiaomi/markw/libaudioampl/audio_amplifier.c:125:33: warning: unused parameter 'stream' [-Wunused-parameter]
  2025. struct audio_stream_in *stream)
  2026. ^ device/xiaomi/markw/libaudioampl/audio_amplifier.c:130:58: warning: unused parameter 'device' [-Wunused-parameter]
  2027. static int amp_output_stream_standby(amplifier_device_t *device, ^ device/xiaomi/markw/libaudioampl/audio_amplifier.c:131:34: warning: unused parameter 'stream' [-Wunused-parameter] struct audio_stream_out *stream) ^ device/xiaomi/markw/libaudioampl/audio_amplifier.c:136:57: warning: unused parameter 'device' [-Wunused-parameter] static int amp_input_stream_standby(amplifier_device_t *device, ^ device/xiaomi/markw/libaudioampl/audio_amplifier.c:137:33: warning: unused parameter 'stream' [-Wunused-parameter] struct audio_stream_in *stream) ^ device/xiaomi/markw/libaudioampl/audio_amplifier.c:142:56: warning: unused parameter 'device' [-Wunused-parameter]
  2028. static int amp_set_parameters(struct amplifier_device *device, ^ device/xiaomi/markw/libaudioampl/audio_amplifier.c:143:27: warning: unused parameter 'parms' [-Wunused-parameter]
  2029. struct str_parms *parms)
  2030. ^ 21 warnings generated. [ 0% 263/62336] build /home/DarkAngelGR...sepolicy.recovery_intermediates/sepolic
  2031. FAILED: /home/DarkAngelGR/rr/out/target/product/markw/obj/ETC/sepolicy.recovery_intermediates/sepolicy
  2032. /bin/bash -c "(ASAN_OPTIONS=detect_leaks=0 /home/DarkAngelGR/rr/out/host/linux-x86/bin/checkpolicy -M -c 30 -o /home/DarkAngelGR/rr/out/target/product/markw/obj/ETC/sepolicy.recovery_intermediates/sepolicy.tmp /home/DarkAngelGR/rr/out/target/product/markw/obj/ETC/sepolicy.recovery_intermediates/sepolicy.recovery.conf ) && (/home/DarkAngelGR/rr/out/host/linux-x86/bin/sepolicy-analyze /home/DarkAngelGR/rr/out/target/product/markw/obj/ETC/sepolicy.recovery_intermediates/sepolicy.tmp permissive > /home/DarkAngelGR/rr/out/target/product/markw/obj/ETC/sepolicy.recovery_intermediates/sepolicy.permissivedomains ) && (if [ \"userdebug\" = \"user\" -a -s /home/DarkAngelGR/rr/out/target/product/markw/obj/ETC/sepolicy.recovery_intermediates/sepolicy.permissivedomains ]; then echo \"==========\" 1>&2; echo \"ERROR: permissive domains not allowed in user builds\" 1>&2; echo \"List of invalid domains:\" 1>&2; cat /home/DarkAngelGR/rr/out/target/product/markw/obj/ETC/sepolicy.recovery_intermediates/sepolicy.permissivedomains 1>&2; exit 1; fi ) && (mv /home/DarkAngelGR/rr/out/target/product/markw/obj/ETC/sepolicy.recovery_intermediates/sepolicy.tmp /home/DarkAngelGR/rr/out/target/product/markw/obj/ETC/sepolicy.recovery_intermediates/sepolicy )"
  2033. libsepol.report_failure: neverallow on line 449 of system/sepolicy/public/domain.te (or line 8895 of policy.conf) violated by allow system_server default_prop:property_service { set };
  2034. libsepol.check_assertions: 1 neverallow failures occurred
  2035. Error while expanding policy
  2036. /home/DarkAngelGR/rr/out/host/linux-x86/bin/checkpolicy: loading policy configuration from /home/DarkAngelGR/rr/out/target/product/markw/obj/ETC/sepolicy.recovery_intermediates/sepolicy.recovery.conf
  2037. [ 0% 271/62336] Ensuring Jack server is installed and started
  2038. Jack server already installed in "/home/DarkAngelGR/.jack-server"
  2039. Launching Jack server java -XX:MaxJavaStackTraceDepth=-1 -Djava.io.tmpdir=/tmp -Xmx8g -Dfile.encoding=UTF-8 -XX:+TieredCompilation -cp /home/DarkAngelGR/.jack-server/launcher.jar com.android.jack.launcher.ServerLauncher
  2040. [ 0% 272/62336] Building Kernel Config
  2041. make: Entering directory '/home/DarkAngelGR/rr/kernel/xiaomi/msm8953'
  2042. make[1]: Entering directory '/home/DarkAngelGR/rr/out/target/product/markw/obj/KERNEL_OBJ'
  2043. GEN ./Makefile
  2044. #
  2045. # configuration written to .config
  2046. #
  2047. make[1]: Leaving directory '/home/DarkAngelGR/rr/out/target/product/markw/obj/KERNEL_OBJ'
  2048. make: Leaving directory '/home/DarkAngelGR/rr/kernel/xiaomi/msm8953'
  2049. make: Entering directory '/home/DarkAngelGR/rr/kernel/xiaomi/msm8953'
  2050. make[1]: Entering directory '/home/DarkAngelGR/rr/out/target/product/markw/obj/KERNEL_OBJ'
  2051. GEN ./Makefile
  2052. scripts/kconfig/conf --savedefconfig=defconfig Kconfig
  2053. make[1]: Leaving directory '/home/DarkAngelGR/rr/out/target/product/markw/obj/KERNEL_OBJ'
  2054. make: Leaving directory '/home/DarkAngelGR/rr/kernel/xiaomi/msm8953'
  2055. ninja: build stopped: subcommand failed.
  2056. 06:46:59 ninja failed with: exit status 1
  2057.  
  2058. #### failed to build some targets (02:19 (mm:ss)) ####
  2059.  
  2060. DarkAngelGR@instance-1:~/rr$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement