Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933475Ab2BBTvE (ORCPT ); Thu, 2 Feb 2012 14:51:04 -0500 Received: from shards.monkeyblade.net ([198.137.202.13]:45098 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933461Ab2BBTvC (ORCPT ); Thu, 2 Feb 2012 14:51:02 -0500 Date: Thu, 02 Feb 2012 14:50:36 -0500 (EST) Message-Id: <20120202.145036.1235867786947627132.davem@davemloft.net> To: danny.kukawka@bisect.de Cc: mac@melware.de, dkukawka@suse.de, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, isdn@linux-pingi.de, bhutchings@solarflare.com, David.Laight@aculab.com Subject: Re: [PATCH v2] eicon: fix -Warray-bounds warning From: David Miller In-Reply-To: <1328188830-28133-1-git-send-email-danny.kukawka@bisect.de> References: <1328188830-28133-1-git-send-email-danny.kukawka@bisect.de> X-Mailer: Mew version 6.4 on Emacs 23.3 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.6 (shards.monkeyblade.net [198.137.202.13]); Thu, 02 Feb 2012 11:50:40 -0800 (PST) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 723 Lines: 18 From: Danny Kukawka Date: Thu, 2 Feb 2012 14:20:28 +0100 > 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 Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/