diff options
author | Paul Walmsley <paul@pwsan.com> | 2013-04-01 06:22:22 +0400 |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2013-04-01 06:22:22 +0400 |
commit | bd70f6eb3e78b7c9c6bec2cf5be6423dd2b37f6f (patch) | |
tree | bd17d657905a7ea1a76c6b0874c95814ff8054cb /lib/uuid.c | |
parent | 4280943b6bc81357eb61c3e1111d2d83ec2ef03d (diff) | |
download | linux-bd70f6eb3e78b7c9c6bec2cf5be6423dd2b37f6f.tar.xz |
ARM: OMAP2+: powerdomain: avoid testing whether an unsigned char is less than 0
_pwrdm_save_clkdm_state_and_activate() tried to test one of its
unsigned arguments to determine whether it was less than zero. Fix by
moving the error test to the caller.
Reported-by: Chen Gang <gang.chen@asianux.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Diffstat (limited to 'lib/uuid.c')
0 files changed, 0 insertions, 0 deletions