[PATCH] pinctrl: single: check function mask to be non-zero

Tom Rini trini at konsulko.com
Tue Apr 27 18:46:33 CEST 2021


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 <dariobin at libero.it>

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: <https://lists.denx.de/pipermail/u-boot/attachments/20210427/ce6334cb/attachment.sig>


More information about the U-Boot mailing list