From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Tue, 19 Jan 2021 08:06:06 -0500 Subject: [PATCH v2 1/1] pinctrl: mediatek: correct error handling In-Reply-To: <20201227201826.104658-1-xypron.glpk@gmx.de> References: <20201227201826.104658-1-xypron.glpk@gmx.de> Message-ID: <20210119130606.GC9782@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sun, Dec 27, 2020 at 09:18:26PM +0100, Heinrich Schuchardt wrote: > If no GPIO controller is found, the return value should not depend on a > random value on the stack. Initialize variable ret. > > The problem was indicated by cppcheck. > > Signed-off-by: Heinrich Schuchardt > Acked-by: Chunfeng Yun Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: