added missing () for operator precedence bug

This commit is contained in:
Francois Isabelle 2007-01-11 21:17:46 +00:00
parent 9cbe0938f1
commit cf96efd47d

View File

@ -460,7 +460,7 @@ ipmi_picmg_amc_portstate_get(struct ipmi_intf * intf,int device,int channel,
/* I don't know what kind of frug addict defined this record */
port = d->linkInfo[0] & 0x0F;
type = ((d->linkInfo[0] & 0xF0) >> 4 )|(d->linkInfo[1] & 0x0F );
ext = (d->linkInfo[1] & 0xF0 >> 4 );
ext = ((d->linkInfo[1] & 0xF0) >> 4 );
grouping = d->linkInfo[2];
#else