]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/s390/cio/chsc_sch.c
hwmon: (lm90) Add support for the LM99 16 degree offset
[linux-2.6-omap-h63xx.git] / drivers / s390 / cio / chsc_sch.c
index 91ca87aa9f973902cbe148338709ddf53974c3fc..f49f0e502b8dfb7f144801db8aa57d975a2dc7b7 100644 (file)
@@ -261,7 +261,7 @@ static int chsc_examine_irb(struct chsc_request *request)
 {
        int backed_up;
 
-       if (!scsw_stctl(&request->irb.scsw) & SCSW_STCTL_STATUS_PEND)
+       if (!(scsw_stctl(&request->irb.scsw) & SCSW_STCTL_STATUS_PEND))
                return -EIO;
        backed_up = scsw_cstat(&request->irb.scsw) & SCHN_STAT_CHAIN_CHECK;
        request->irb.scsw.cmd.cstat &= ~SCHN_STAT_CHAIN_CHECK;