xlat: workaround V4L2_CID_USER_IMX_BASE Linux kernel ABI breakage

Linux kernel commit v4.18-rc2-106-g421860b9d47053badce4b247576fa48df9ab4c48
has changed the value of V4L2_CID_USER_IMX_BASE constant introduced
by commit v4.13-rc1~141^2~121 because the old value was already used
by V4L2_CID_USER_MAX217X_BASE.

This is of course an ABI breakage that affects Linux kernels starting
with 4.13 and up to 4.18, as well as their LTS derivatives.

Since the imx driver didn't provide any public control ID definitions,
it looks like the best way to handle this situation is to pretend that
the old value of V4L2_CID_USER_IMX_BASE didn't exist.

* xlat/v4l2_control_id_bases.in (V4L2_CID_USER_IMX_BASE): Redefine.

Co-Authored-by: Eugene Syromyatnikov <evgsyr@gmail.com>
(cherry picked from commit 0d4eb1af538b3bff32f62f6beb445568c750bdbd)
1 file changed
tree: 3e638303c392f6c225a62df9b26dcffc540caf97
  1. .strace.1.in.date
  2. .tarball-version
  3. .version
  4. .year
  5. AUTHORS
  6. Android.bp
  7. COPYING
  8. CREDITS
  9. ChangeLog
  10. ChangeLog-CVS
  11. INSTALL
  12. MODULE_LICENSE_BSD
  13. Makefile
  14. Makefile.am
  15. Makefile.in
  16. NEWS
  17. README
  18. README-linux-ptrace
  19. access.c
  20. aclocal.m4
  21. affinity.c
  22. aio.c
  23. alpha.c
  24. arch_defs.h
  25. basic_filters.c
  26. bind.c
  27. bjm.c
  28. block.c
  29. bpf.c
  30. bpf_attr.h
  31. bpf_attr_check.c
  32. bpf_filter.c
  33. bpf_filter.h
  34. bpf_fprog.h
  35. bpf_seccomp_filter.c
  36. bpf_sock_filter.c
  37. btrfs.c
  38. cacheflush.c
  39. capability.c
  40. caps0.h
  41. caps1.h
  42. chdir.c
  43. chmod.c
  44. clone.c
  45. compile
  46. config.guess
  47. config.h
  48. config.h.in
  49. config.sub
  50. configure
  51. configure.ac
  52. copy_file_range.c
  53. count.c
  54. debian/
  55. defs.h
  56. delay.c
  57. delay.h
  58. depcomp
  59. desc.c
  60. dirent.c
  61. dirent64.c
  62. dm.c
  63. dyxlat.c
  64. empty.h
  65. epoll.c
  66. error_prints.c
  67. error_prints.h
  68. evdev.c
  69. evdev_mpers.c
  70. eventfd.c
  71. execve.c
  72. f_owner_ex.h
  73. fadvise.c
  74. fallocate.c
  75. fanotify.c
  76. fchownat.c
  77. fcntl.c
  78. fetch_bpf_fprog.c
  79. fetch_indirect_syscall_args.c
  80. fetch_struct_flock.c
  81. fetch_struct_keyctl_kdf_params.c
  82. fetch_struct_mmsghdr.c
  83. fetch_struct_msghdr.c
  84. fetch_struct_stat.c
  85. fetch_struct_stat64.c
  86. fetch_struct_statfs.c
  87. file_handle.c
  88. file_ioctl.c
  89. filter.h
  90. filter_qualify.c
  91. flock.c
  92. flock.h
  93. fs_x_ioctl.c
  94. fstatfs.c
  95. fstatfs64.c
  96. futex.c
  97. gcc_compat.h
  98. gen_bpf_attr_check.sh
  99. generate_sen.sh
  100. get_robust_list.c
  101. getcpu.c
  102. getcwd.c
  103. getpagesize.c
  104. getrandom.c
  105. gnu/
  106. hdio.c
  107. hostname.c
  108. inotify.c
  109. inotify_ioctl.c
  110. install-sh
  111. io.c
  112. ioctl.c
  113. ioctl_iocdef.c
  114. ioctl_iocdef.h
  115. ioctl_redefs1.h
  116. ioctlent0.h
  117. ioctlent1.h
  118. ioctlent2.h
  119. ioctlsort.c
  120. ioperm.c
  121. iopl.c
  122. ioprio.c
  123. ipc.c
  124. ipc_defs.h
  125. ipc_msg.c
  126. ipc_msgctl.c
  127. ipc_sem.c
  128. ipc_shm.c
  129. ipc_shmctl.c
  130. kcmp.c
  131. kernel_types.h
  132. kexec.c
  133. keyctl.c
  134. keyctl_kdf_params.h
  135. kvm.c
  136. largefile_wrappers.h
  137. ldt.c
  138. link.c
  139. linux/
  140. listen.c
  141. lookup_dcookie.c
  142. loop.c
  143. lseek.c
  144. m32_funcs.h
  145. m32_printer_decls.h
  146. m32_printer_defs.h
  147. m32_type_defs.h
  148. m4/
  149. macros.h
  150. mem.c
  151. membarrier.c
  152. memfd_create.c
  153. missing
  154. mknod.c
  155. mmap_cache.c
  156. mmap_cache.h
  157. mmap_notify.c
  158. mmap_notify.h
  159. mmsghdr.c
  160. mount.c
  161. mpers-m32.stamp
  162. mpers-m32/
  163. mpers.am
  164. mpers.awk
  165. mpers.sh
  166. mpers_test.sh
  167. mpers_type.h
  168. mpers_xlat.h
  169. mq.c
  170. msghdr.c
  171. msghdr.h
  172. mtd.c
  173. native_defs.h
  174. native_printer_decls.h
  175. native_printer_defs.h
  176. negated_errno.h
  177. net.c
  178. netlink.c
  179. netlink.h
  180. netlink_crypto.c
  181. netlink_inet_diag.c
  182. netlink_kobject_uevent.c
  183. netlink_kobject_uevent.h
  184. netlink_netfilter.c
  185. netlink_netlink_diag.c
  186. netlink_packet_diag.c
  187. netlink_route.c
  188. netlink_route.h
  189. netlink_selinux.c
  190. netlink_smc_diag.c
  191. netlink_sock_diag.c
  192. netlink_sock_diag.h
  193. netlink_unix_diag.c
  194. nlattr.c
  195. nlattr.h
  196. nsfs.c
  197. nsfs.h
  198. nsig.h
  199. numa.c
  200. number_set.c
  201. number_set.h
  202. oldstat.c
  203. open.c
  204. or1k_atomic.c
  205. pathtrace.c
  206. perf.c
  207. perf_event_struct.h
  208. perf_ioctl.c
  209. personality.c
  210. pkeys.c
  211. poll.c
  212. prctl.c
  213. print_aio_sigset.c
  214. print_dev_t.c
  215. print_fields.h
  216. print_group_req.c
  217. print_ifindex.c
  218. print_mac.c
  219. print_mq_attr.c
  220. print_msgbuf.c
  221. print_sg_req_info.c
  222. print_sigevent.c
  223. print_statfs.c
  224. print_struct_stat.c
  225. print_time.c
  226. print_timespec.c
  227. print_timeval.c
  228. print_timex.c
  229. printers.h
  230. printmode.c
  231. printrusage.c
  232. printsiginfo.c
  233. printsiginfo.h
  234. process.c
  235. process_vm.c
  236. ptp.c
  237. ptrace.h
  238. quota.c
  239. readahead.c
  240. readlink.c
  241. reboot.c
  242. regs.h
  243. renameat.c
  244. resource.c
  245. retval.c
  246. retval.h
  247. riscv.c
  248. rt_sigframe.c
  249. rt_sigreturn.c
  250. rtc.c
  251. rtnl_addr.c
  252. rtnl_addrlabel.c
  253. rtnl_dcb.c
  254. rtnl_link.c
  255. rtnl_mdb.c
  256. rtnl_neigh.c
  257. rtnl_neightbl.c
  258. rtnl_netconf.c
  259. rtnl_nsid.c
  260. rtnl_route.c
  261. rtnl_rule.c
  262. rtnl_tc.c
  263. rtnl_tc_action.c
  264. s390.c
  265. sched.c
  266. sched_attr.h
  267. scno.am
  268. scno.h
  269. scno.head
  270. scsi.c
  271. seccomp.c
  272. sen.h
  273. sendfile.c
  274. sg_io_v3.c
  275. sg_io_v4.c
  276. shutdown.c
  277. sigaltstack.c
  278. sigevent.h
  279. signal.c
  280. signalfd.c
  281. sigreturn.c
  282. sock.c
  283. sockaddr.c
  284. socketcall.c
  285. socketutils.c
  286. sparc.c
  287. sram_alloc.c
  288. stamp-h1
  289. stat.c
  290. stat.h
  291. stat64.c
  292. statfs.c
  293. statfs.h
  294. statfs64.c
  295. static_assert.h
  296. statx.c
  297. statx.h
  298. strace-graph
  299. strace-log-merge
  300. strace-log-merge.1
  301. strace-log-merge.1.in
  302. strace.1
  303. strace.1.in
  304. strace.c
  305. strace.spec
  306. strace.spec.in
  307. string_to_uint.c
  308. string_to_uint.h
  309. swapon.c
  310. sync_file_range.c
  311. sync_file_range2.c
  312. sys_func.h
  313. syscall.c
  314. sysctl.c
  315. sysent.h
  316. sysent_shorthand_defs.h
  317. sysent_shorthand_undefs.h
  318. sysinfo.c
  319. syslog.c
  320. sysmips.c
  321. term.c
  322. test-driver
  323. tests-m32/
  324. tests-mx32/
  325. tests/
  326. time.c
  327. times.c
  328. trace_event.h
  329. truncate.c
  330. ubi.c
  331. ucopy.c
  332. uid.c
  333. uid16.c
  334. umask.c
  335. umount.c
  336. uname.c
  337. unwind-libdw.c
  338. unwind-libunwind.c
  339. unwind.c
  340. unwind.h
  341. upeek.c
  342. upoke.c
  343. userfaultfd.c
  344. ustat.c
  345. util.c
  346. utime.c
  347. utimes.c
  348. v4l2.c
  349. wait.c
  350. xattr.c
  351. xlat.c
  352. xlat.h
  353. xlat/
  354. xlate.el
  355. xmalloc.c
  356. xmalloc.h
  357. xstring.h