Files
kernel_arpi/include/uapi/linux
Sakari Ailus fbe093ac9f [media] media: Sanitise the reserved fields of the G_TOPOLOGY IOCTL arguments
The argument structs are used in arrays for G_TOPOLOGY IOCTL. The
arguments themselves do not need to be aligned to a power of two, but
aligning them up to the largest basic type alignment (u64) on common ABIs
is a good thing to do.

The patch changes the size of the reserved fields to 5 or 6 u32's and
aligns the size of the struct to 8 bytes so we do no longer depend on the
compiler to perform the alignment.

While at it, add __attribute__ ((packed)) to these structs as well.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2016-03-03 18:10:53 -03:00
..
2015-10-13 17:42:34 +02:00
2015-04-21 16:16:02 -04:00
2015-10-05 03:16:46 -07:00
2015-08-25 14:41:50 -05:00
2015-12-31 00:53:10 -05:00
2016-01-20 17:09:18 -08:00
2015-12-14 12:19:37 -06:00
2015-10-26 19:06:48 -07:00
2015-05-25 13:25:35 -04:00
2016-01-12 08:21:18 -07:00
2015-08-03 17:30:00 -07:00
2015-07-21 10:39:05 -07:00
2015-11-23 15:06:38 -05:00
2015-05-05 13:40:44 -06:00
2015-08-27 19:44:53 -04:00
2015-04-23 15:16:14 -04:00
2015-07-20 14:58:46 -04:00
2015-09-17 21:09:07 -07:00
2016-01-10 22:13:15 -05:00
2015-09-04 16:54:41 -07:00
2015-05-24 12:49:16 -07:00
2015-06-11 23:37:37 +02:00
2015-12-18 17:48:51 -08:00
2015-10-27 18:55:31 -07:00
2015-12-21 15:28:11 -07:00