commit | 111f2d15b543e15c1e0ee89745fae84e3eb91932 | [log] [tgz] |
---|---|---|
author | K. Y. Srinivasan <kys@microsoft.com> | Thu Aug 13 08:43:52 2015 -0700 |
committer | James Bottomley <JBottomley@Odin.com> | Wed Aug 26 22:41:36 2015 -0700 |
tree | 27d004a4ab23192901e9a85aeb550f9ebfe0ce02 | |
parent | b95f5be09069526cf53705acbc1e22600f3f550b [diff] |
storvsc: Set the error code correctly in failure conditions In the function storvsc_channel_init(), error code was not getting set correctly in some of the failure cases. Fix this issue. Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: James Bottomley <JBottomley@Odin.com>