diff options
author | Danny Kukawka <danny.kukawka@bisect.de> | 2012-02-02 03:20:28 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-02-02 16:47:41 -0500 |
commit | e1f4c485cdb2b1d7aae172b731f6c2b403381ebb (patch) | |
tree | 9e4a8024f8144479295658bb31252a349195cdcc /drivers/net/ethernet/qlogic/netxen/netxen_nic.h | |
parent | 87e7597b5a3f99238d95d63c44c9f872a41b37ae (diff) | |
download | op-kernel-dev-e1f4c485cdb2b1d7aae172b731f6c2b403381ebb.zip op-kernel-dev-e1f4c485cdb2b1d7aae172b731f6c2b403381ebb.tar.gz |
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>
Diffstat (limited to 'drivers/net/ethernet/qlogic/netxen/netxen_nic.h')
0 files changed, 0 insertions, 0 deletions