From: Tom Rini Date: Tue, 27 Apr 2021 12:46:33 -0400 Subject: [PATCH] pinctrl: single: check function mask to be non-zero In-Reply-To: <20210422163558.14820-1-dariobin@libero.it> References: <20210422163558.14820-1-dariobin@libero.it> Message-ID: <20210427164633.GX17669@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 Thu, Apr 22, 2021 at 06:35:58PM +0200, Dario Binacchi wrote: > Otherwise it can generate a division by zero, which has an undefined > behavior. > > Signed-off-by: Dario Binacchi 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: