diff options
author | Paul Walmsley <[email protected]> | 2013-03-31 20:22:22 -0600 |
---|---|---|
committer | Paul Walmsley <[email protected]> | 2013-03-31 20:22:22 -0600 |
commit | bd70f6eb3e78b7c9c6bec2cf5be6423dd2b37f6f (patch) | |
tree | bd17d657905a7ea1a76c6b0874c95814ff8054cb /drivers/scsi/mpt2sas/mpi/mpi2_raid.h | |
parent | 4280943b6bc81357eb61c3e1111d2d83ec2ef03d (diff) |
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 <[email protected]>
Signed-off-by: Paul Walmsley <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions