mptfusion: fix msgContext in mptctl_hp_hostinfo
authorTomas Henzl <thenzl@redhat.com>
Wed, 28 May 2014 16:04:20 +0000 (18:04 +0200)
committerChristoph Hellwig <hch@lst.de>
Wed, 28 May 2014 16:14:16 +0000 (18:14 +0200)
commit73d02c200b0e43762eae7a81e7f36d14adb26a37
tree56d6bb585010478c45033d1ccab4ec4b894f7f48
parente6842f09aa3fb00616980e501c471ec9098c5d69
mptfusion: fix msgContext in mptctl_hp_hostinfo

Hi,

without this patch the istwiRWRequest->MsgContext is always set to zero,
this patch saves the MsgContext in a msgcontext variable and then restores
the value.
Thanks to  David Jeffery who found the issue and did the analysis.

Signed-off-by: Tomas Henzl <thenzl@redhat.com>
Acked-by: Desai, Kashyap <Kashyap.Desai@lsi.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/message/fusion/mptctl.c