megasas: do not read sense length more than once from frame
Avoid TOC-TOU bugs depending on how the compiler behaves.
Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
Showing
Avoid TOC-TOU bugs depending on how the compiler behaves.
Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>