aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/char/hpet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/hpet.c b/drivers/char/hpet.c
index e3c7c0096e17..85d39ff286c4 100644
--- a/drivers/char/hpet.c
+++ b/drivers/char/hpet.c
@@ -519,7 +519,7 @@ hpet_ioctl_common(struct hpet_dev *devp, int cmd, unsigned long arg, int kernel)
519 break; 519 break;
520 } 520 }
521 521
522 if (!arg || (arg & (arg - 1))) { 522 if (!arg) {
523 err = -EINVAL; 523 err = -EINVAL;
524 break; 524 break;
525 } 525 }