diff options
author | Sunil Muthuswamy <sunilmut@microsoft.com> | 2018-07-28 23:58:45 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-07-29 08:09:56 +0200 |
commit | ddcaf3ca4c3c87b955ad6f57952250030be77791 (patch) | |
tree | 2c628f32112f522edad3db42c33733cf8a4f92a2 /usr | |
parent | Merge tag 'fsi-updates-2018-07-27' of git://git.kernel.org/pub/scm/linux/kern... (diff) | |
download | linux-ddcaf3ca4c3c87b955ad6f57952250030be77791.tar.xz linux-ddcaf3ca4c3c87b955ad6f57952250030be77791.zip |
Drivers: hv: vmus: Fix the check for return value from kmsg get dump buffer
The code to support panic control message was checking the return was
checking the return value from kmsg_dump_get_buffer as error value, which
is not what the routine returns. This fixes it.
Fixes: 81b18bce48af ("Drivers: HV: Send one page worth of kmsg dump over Hyper-V during panic")
Signed-off-by: Sunil Muthuswamy <sunilmut@microsoft.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions