aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2013-08-27 12:36:01 -0400
committerBen Hutchings <ben@decadent.org.uk>2013-10-26 21:06:01 +0100
commit1c12047d733f77e59d0fa3a2f3d70582717d10ba (patch)
treebbba37da34253f9bd299db7560c1d424e43bd026 /sound/pci
parentf46575554ac083111a3df50ddcd66e62973b49fe (diff)
downloadkernel_samsung_smdk4412-1c12047d733f77e59d0fa3a2f3d70582717d10ba.zip
kernel_samsung_smdk4412-1c12047d733f77e59d0fa3a2f3d70582717d10ba.tar.gz
kernel_samsung_smdk4412-1c12047d733f77e59d0fa3a2f3d70582717d10ba.tar.bz2
drm/radeon: fix handling of variable sized arrays for router objects
commit fb93df1c2d8b3b1fb16d6ee9e32554e0c038815d upstream. The table has the following format: typedef struct _ATOM_SRC_DST_TABLE_FOR_ONE_OBJECT //usSrcDstTableOffset pointing to this structure { UCHAR ucNumberOfSrc; USHORT usSrcObjectID[1]; UCHAR ucNumberOfDst; USHORT usDstObjectID[1]; }ATOM_SRC_DST_TABLE_FOR_ONE_OBJECT; usSrcObjectID[] and usDstObjectID[] are variably sized, so we can't access them directly. Use pointers and update the offset appropriately when accessing the Dst members. Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'sound/pci')
0 files changed, 0 insertions, 0 deletions