Revert "megasas: remove useless check for cmd->frame"
This reverts commit 8cc46787. It turns out that cmd->frame can be NULL and thus the commit can cause a SIGSEGV Reported-by: NHolger Schranz <holger@fam-schranz.de> Cc: qemu-stable@nongnu.org Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com> (cherry picked from commit 421cc3e7) Signed-off-by: NMichael Roth <mdroth@linux.vnet.ibm.com>
Showing
想要评论请 注册 或 登录