From: Danny Kukawka Date: Thu, 2 Feb 2012 03:20:28 +0000 (+0000) Subject: eicon: fix -Warray-bounds warning X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef6b182cf489ada959d51e222e7aaf83ff0ee73e;p=pandora-kernel.git eicon: fix -Warray-bounds warning commit e1f4c485cdb2b1d7aae172b731f6c2b403381ebb upstream. 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 Signed-off-by: David S. Miller Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed