commit | e1f4c485cdb2b1d7aae172b731f6c2b403381ebb | [log] [tgz] |
---|---|---|
author | Danny Kukawka <danny.kukawka@bisect.de> | Thu Feb 02 03:20:28 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu Feb 02 16:47:41 2012 -0500 |
tree | 9e4a8024f8144479295658bb31252a349195cdcc | |
parent | 87e7597b5a3f99238d95d63c44c9f872a41b37ae [diff] |
eicon: fix -Warray-bounds warning Fix for a -Warray-bounds warning. mixer_notify_update() tries to write to ((CAPI_MSG *) msg)->info.facility_req.structs[3] while structs is defined as byte structs[1]. Set all 'structs' which are part of the typdefs in the info union to 'byte structs[0]'. v2: set all info.*.structs to byte structs[0] Signed-off-by: Danny Kukawka <danny.kukawka@bisect.de> Signed-off-by: David S. Miller <davem@davemloft.net>