tmscsim: Missing parentheses in dc390_init_hw()?
Same oddness, are there parentheses missing here?
Thanks, Roel
drivers/scsi/tmscsim.c +2 -2
@@ -2408,8 +2408,8 @@ static void __devinit dc390_init_hw(struct dc390_acb *pACB, u8 index)/* Negation */ DC390_write8 (CtrlReg4, pACB->glitch_cfg |/* glitch eater */ - (dc390_eepromBuf[index][EE_MODE2 ] &ACTIVE_NEGATION ) ? -NEGATE_REQACKDATA :0 ); + ((dc390_eepromBuf[index][EE_MODE2 ] &ACTIVE_NEGATION ) ? +NEGATE_REQACKDATA :0 ));/* Clear Transfer Count High: ID */ DC390_write8 (CtcReg_High,0 );
Quoted 9 lines · Roel Kluin
Same oddness, are there parentheses missing here?
Thanks, Roel
drivers/scsi/tmscsim.c +0
-0
drivers/scsi/tmscsim.c static void __devinit dc390_init_hw(struct dc390_acb *pACB, u8 index) · line 2412
Quoted 7 lines
drivers/scsi/tmscsim.c +2
-2@@ -2408,8 +2408,8 @@ static void __devinit dc390_init_hw(struct dc390_acb *pACB, u8 index)/* Negation */ DC390_write8 (CtrlReg4, pACB->glitch_cfg |/* glitch eater */ - (dc390_eepromBuf[index][EE_MODE2 ] &ACTIVE_NEGATION ) ? -NEGATE_REQACKDATA :0 ); + ((dc390_eepromBuf[index][EE_MODE2 ] &ACTIVE_NEGATION ) ? +NEGATE_REQACKDATA :0 ));
This one looks more possible ... but given it's hw init, the original meaning is also possible ... and supported by the fact that the hw works.
James