On Tue, Jun 21, 2016 at 01:32:07PM -0600, Stephen Warren wrote: > From: Stephen Warren <[email protected]> > > clk->id is unsigned, so it can't be < 0. Remove the check for that. > > FWIW, this issue was introduced when the clock API converted e.g. > clk_get_rate()'s clock ID parameter from an int to an unsigned long > (with a struct clk), without removing this check. > > Fixes: 135aa9500264 ("clk: convert API to match reset/mailbox style") > Reported-by: Coverity Scan > Signed-off-by: Stephen Warren <[email protected]> > Acked-by: Simon Glass <[email protected]>
Applied to u-boot/master, thanks! -- Tom
signature.asc
Description: Digital signature
_______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

