Arnd Bergmann
df18bfd35b
media: v4l: fix uapi mpeg slice params definition
...
We get a headers_check warning about the newly defined ioctl command
structures:
./usr/include/linux/v4l2-controls.h:1105: found __[us]{8,16,32,64} type without #include <linux/types.h>
This is resolved by including linux/types.h, as suggested by the
warning, but there is another problem: Three of the four structures
have an odd number of __u8 headers, but are aligned to 32 bit in the
v4l2_ctrl_mpeg2_slice_params, so we get an implicit padding byte
for each one. To solve that, let's add explicit padding that can
be set to zero and verified in the kernel.
Fixes: c27bb30e7b ("media: v4l: Add definitions for MPEG-2 slice format and metadata")
Signed-off-by: Arnd Bergmann <arnd@arndb.de >
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org >
2018-11-06 05:07:53 -05:00
..
2018-09-14 15:22:48 +02:00
2018-07-30 16:21:49 -04:00
2018-07-23 19:18:10 +01:00
2018-10-19 14:00:34 +02:00
2018-07-19 23:26:01 -07:00
2018-10-05 08:32:01 -07:00
2018-08-06 10:24:33 +02:00
2018-08-15 22:54:12 -07:00
2018-06-07 17:34:39 -07:00
2018-08-22 10:52:49 -07:00
2018-08-11 15:46:41 -06:00
2018-10-25 11:17:40 -06:00
2018-10-20 21:37:11 +02:00
2018-05-23 13:23:40 -04:00
2018-07-20 10:25:48 +02:00
2018-05-31 11:35:24 +02:00
2018-07-27 10:40:16 +02:00
2018-10-05 11:22:39 -04:00
2018-09-28 12:46:25 +08:00
2018-07-29 12:53:54 -07:00
2018-07-12 17:37:13 -07:00
2018-10-04 09:40:52 -07:00
2018-07-19 13:58:44 -07:00
2018-07-04 22:30:28 +09:00
2018-08-29 19:46:10 -07:00
2018-07-15 14:03:06 +02:00
2018-10-08 13:48:45 +02:00
2018-09-06 09:40:59 -06:00
2018-07-15 13:55:47 +02:00
2018-09-04 11:35:03 +08:00
2018-06-18 15:11:53 +10:00
2018-09-24 12:18:42 -07:00
2018-09-13 10:46:24 +02:00
2018-09-05 22:27:11 -07:00
2018-09-21 19:22:32 -07:00
2018-10-15 21:46:06 -07:00
2018-10-12 10:18:58 -07:00
2018-09-05 22:09:37 -07:00
2018-06-08 00:18:02 +02:00
2018-06-29 11:32:55 +09:00
2018-09-13 08:17:27 -07:00
2018-06-27 19:21:25 +02:00
2018-10-04 21:06:45 +02:00
2018-07-17 15:33:47 +02:00
2018-07-29 12:37:06 -07:00
2018-07-26 17:04:37 -07:00
2018-06-07 17:34:37 -07:00
2018-07-07 17:41:38 +02:00
2018-09-28 09:51:51 -07:00
2018-09-26 21:09:15 -05:00
2018-08-06 17:59:22 +02:00
2018-10-19 15:24:24 +02:00
2018-08-03 10:03:57 -07:00
2018-10-18 17:20:19 +11:00
2018-08-02 06:04:57 -04:00
2018-08-31 11:04:23 -04:00
2018-10-05 16:32:04 -07:00
2018-07-24 14:41:08 -07:00
2018-10-05 16:32:04 -07:00
2018-07-13 14:21:16 -07:00
2018-06-20 19:10:06 -06:00
2018-10-15 22:00:59 -07:00
2018-10-17 13:56:58 -07:00
2018-09-12 20:30:03 -07:00
2018-07-09 16:31:28 -07:00
2018-07-29 12:37:06 -07:00
2018-08-03 21:15:09 +02:00
2018-10-08 10:39:04 -07:00
2018-10-12 12:56:34 +02:00
2018-07-08 11:13:25 +09:00
2018-09-28 12:47:34 -05:00
2018-07-19 11:46:57 +01:00
2018-09-10 10:03:02 +02:00
2018-09-10 10:35:15 -07:00
2018-10-04 13:52:23 -07:00
2018-07-31 19:56:42 +10:00
2018-08-11 12:13:49 -07:00
2018-06-15 18:10:01 -03:00
2018-05-31 00:13:56 +08:00
2018-09-02 16:14:44 -07:00
2018-06-03 17:37:16 -07:00
2018-07-10 22:18:52 +02:00
2018-07-23 20:44:12 -07:00
2018-10-16 09:58:49 -07:00
2018-05-24 11:57:36 +02:00
2018-10-02 13:38:55 -07:00
2018-10-05 16:32:04 -07:00
2018-10-07 21:06:28 -07:00
2018-08-05 17:16:46 -07:00
2018-08-13 08:42:25 -07:00
2018-06-18 21:02:52 -04:00
2018-10-26 16:26:32 -07:00
2018-08-01 09:56:10 -07:00
2018-06-24 14:39:46 +02:00
2018-06-30 21:05:42 +09:00
2018-05-24 18:38:51 +02:00
2018-05-26 09:16:44 +02:00
2018-09-03 13:29:38 +02:00
2018-10-08 15:45:18 +01:00
2018-07-27 06:39:57 -04:00
2018-11-06 05:07:53 -05:00
2018-07-24 17:39:28 -04:00
2018-09-28 15:50:11 +02:00
2018-09-03 21:23:24 -07:00
2018-10-31 10:53:29 -07:00
2018-06-12 04:59:29 +03:00
2018-05-28 22:59:54 -04:00
2018-06-23 16:07:15 +02:00