[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170512.121504.1955818908238157662.davem@davemloft.net>
Date: Fri, 12 May 2017 12:15:04 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: garsilva@...eddedor.com
Cc: andrew@...n.ch, vivien.didelot@...oirfairelinux.com,
f.fainelli@...il.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: dsa: mv88e6xxx: add default case to switch
From: "Gustavo A. R. Silva" <garsilva@...eddedor.com>
Date: Thu, 11 May 2017 22:11:29 -0500
> Add default case to switch in order to avoid any chance of using an
> uninitialized variable _low_, in case s->type does not match any of
> the listed case values.
>
> Addresses-Coverity-ID: 1398130
> Suggested-by: Andrew Lunn <andrew@...n.ch>
> Signed-off-by: Gustavo A. R. Silva <garsilva@...eddedor.com>
Applied, thanks.
Powered by blists - more mailing lists