commit | 8ef2eb8d2cad7400236d6b2c152bdb5506761b4d | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Wed Sep 30 19:21:10 2015 +0200 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Mon Oct 12 18:29:25 2015 +0200 |
tree | ddde42dc4248fe8986b0d673488c609fdcc67fe8 | |
parent | 633dccb458c4eaa40107cd7026737d804f90b6c0 [diff] |
megasas: fix megasas_get_sata_addr There are two bugs here. First, the 16-bit id loses the high 8 bits when shifted left by 24. Second, the address must be combined with an "or" or we just get zero. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>