]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8b41d986737c969850d3e4ae70d98279d0e90b28
tree56d6bb585010478c45033d1ccab4ec4b894f7f48
parent615616fb982726bc5183169e0fdd01607824735c
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