diff options
| author | Gianluca Gennari <[email protected]> | 2012-03-06 09:47:45 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2012-03-19 14:26:02 -0300 |
| commit | abf9d005375d6c6160cc9c17e5dcac32e412c8dc (patch) | |
| tree | fee45be75c90d5c101c1338dd97e084e272fec72 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 962f8f67e48693d110c26d06089406dd9931474d (diff) | |
[media] as102: add __packed attribute to structs defined inside packed structs
This patch fixes a regression in kernel 3.3 due to this patch:
http://patchwork.linuxtv.org/patch/8332/
That patch changes "#pragma pack(1)" with "__packed" attributes, but it is not
complete. In fact, in the as102 driver there are a lot of structs/unions
defined inside other structs/unions.
When the "__packed" attribute is applied only on the external struct, it will
not affect the internal struct definitions.
So the regression is fixed by specifiying the "__packed" attribute also on the
internal structs.
This patch should go into 3.3, as it fixes a regression introduced in the new
kernel version.
Signed-off-by: Gianluca Gennari <[email protected]>
Signed-off-by: Ryley Angus <[email protected]>
Cc: [email protected] # for v3.3
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions