]> git.baikalelectronics.ru Git - kernel.git/commit
drm/edid: Add packed attribute to new gtf2 and cvt structs
authorTakashi Iwai <tiwai@suse.de>
Mon, 23 Apr 2012 16:40:49 +0000 (17:40 +0100)
committerDave Airlie <airlied@redhat.com>
Mon, 23 Apr 2012 16:41:17 +0000 (17:41 +0100)
commit4b701a94b2261719ca6750dc3459fd28c08a45e7
tree8d2345f96834e4242adb773dece50cbeee1fc0ed
parent5ad1c94037a29787eabf805be0d12bb0e763fde3
drm/edid: Add packed attribute to new gtf2 and cvt structs

The new structs added in struct detailed_data_monitor_range must be
marked with packed attribute although the outer struct itself is
already marked as packed.  Otherwise these 7-bytes structs may be
aligned, and give the wrong position and size for the data.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Acked-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
include/drm/drm_edid.h