hw/scsi/megasas.c: (sdev->id & 0xFF) >> 8
There are several instances of
((sdev->id & 0xFF) >> 8) | (sdev->lun & 0xFF)
or similar. The left operand of | is always 0. Did you intend to shift to the other right?
Ping?
Quoted 6 lines · Markus Armbruster
There are several instances of
((sdev->id & 0xFF) >> 8) | (sdev->lun & 0xFF)or similar. The left operand of | is always 0. Did you intend to shift to the other right?