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

2021-07-16 Thread Tom Rini
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 > Reported-by: Coverity (CID: 331154) Applied to u-boot/master, th

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

2021-05-13 Thread Simon Glass
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 Reported-by: Coverity (CID: 331154) --- Changes in v2: - Add a standard comment instead of a Coverity annotation drivers/pinctrl/pinct