From ef6b182cf489ada959d51e222e7aaf83ff0ee73e Mon Sep 17 00:00:00 2001 From: Danny Kukawka Date: Thu, 2 Feb 2012 03:20:28 +0000 Subject: [PATCH] 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-format-patch failed