diff options
| author | Vitaly Kuznetsov <[email protected]> | 2018-09-06 11:26:08 +0000 |
|---|---|---|
| committer | Boris Ostrovsky <[email protected]> | 2018-09-14 12:51:10 +0000 |
| commit | 87dffe86d406bee8782cac2db035acb9a28620a7 (patch) | |
| tree | ee0ab909b1280f621dad908ac4a65f2765ca9371 /drivers/scsi/mpt3sas/mpi/mpi2_raid.h | |
| parent | Linux 4.19-rc3 (diff) | |
| download | kernel-87dffe86d406bee8782cac2db035acb9a28620a7.tar.gz kernel-87dffe86d406bee8782cac2db035acb9a28620a7.zip | |
xen/manage: don't complain about an empty value in control/sysrq node
When guest receives a sysrq request from the host it acknowledges it by
writing '\0' to control/sysrq xenstore node. This, however, make xenstore
watch fire again but xenbus_scanf() fails to parse empty value with "%c"
format string:
sysrq: SysRq : Emergency Sync
Emergency Sync complete
xen:manage: Error -34 reading sysrq code in control/sysrq
Ignore -ERANGE the same way we already ignore -ENOENT, empty value in
control/sysrq is totally legal.
Signed-off-by: Vitaly Kuznetsov <[email protected]>
Reviewed-by: Wei Liu <[email protected]>
Signed-off-by: Boris Ostrovsky <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt3sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions
