[PATCH v2 12/16] pinctrl: Avoid coverity warning when checking width

Tom Rini trini at konsulko.com
Fri Jul 16 17:51:59 CEST 2021


On Thu, May 13, 2021 at 07:39:28PM -0600, Simon Glass wrote:

> The width is set up in single_of_to_plat() and can only have three values,
> all of which result in a non-zero divisor. Add a comment.
> 
> Signed-off-by: Simon Glass <sjg at chromium.org>
> Reported-by: Coverity (CID: 331154)

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/20210716/35354e9c/attachment.sig>


More information about the U-Boot mailing list