summaryrefslogtreecommitdiffstats
path: root/include/usb_cdc_acm.h
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2016-06-21 13:32:07 -0600
committerTom Rini <trini@konsulko.com>2016-06-24 17:24:35 -0400
commitdf8b0a037394246fd591b7fac4de4541810ab1e8 (patch)
tree8631fc431dcc3446e91e62011a60f727e706ecd2 /include/usb_cdc_acm.h
parentbd62e2419b9528292882e3b0008c507db6ae20a8 (diff)
downloadblackbird-obmc-uboot-df8b0a037394246fd591b7fac4de4541810ab1e8.tar.gz
blackbird-obmc-uboot-df8b0a037394246fd591b7fac4de4541810ab1e8.zip
clk: sandbox: don't check clk ID against 0
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 <swarren@nvidia.com> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/usb_cdc_acm.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud