[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Thu, 02 Feb 2012 14:50:36 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: danny.kukawka@...ect.de
Cc: mac@...ware.de, dkukawka@...e.de, linux-kernel@...r.kernel.org,
netdev@...r.kernel.org, isdn@...ux-pingi.de,
bhutchings@...arflare.com, David.Laight@...lab.com
Subject: Re: [PATCH v2] eicon: fix -Warray-bounds warning
From: Danny Kukawka <danny.kukawka@...ect.de>
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 <danny.kukawka@...ect.de>
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists