diff options
| author | Vitaly Kuznetsov <[email protected]> | 2015-12-14 19:02:00 -0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2015-12-14 19:27:30 -0800 |
| commit | 667d374064b0cc48b6122101b287908d1b392bdb (patch) | |
| tree | 98f9289da0d4309082a423daa430b141daa50fbc /scripts/gdb/vmlinux-gdb.py | |
| parent | b5f53dde8d8e84a6ee200dbd0bd90a400a8fe1a1 (diff) | |
Drivers: hv: remove code duplication between vmbus_recvpacket()/vmbus_recvpacket_raw()
vmbus_recvpacket() and vmbus_recvpacket_raw() are almost identical but
there are two discrepancies:
1) vmbus_recvpacket() doesn't propagate errors from hv_ringbuffer_read()
which looks like it is not desired.
2) There is an error message printed in packetlen > bufferlen case in
vmbus_recvpacket(). I'm removing it as it is usless for users to see
such messages and /vmbus_recvpacket_raw() doesn't have it.
Signed-off-by: Vitaly Kuznetsov <[email protected]>
Signed-off-by: K. Y. Srinivasan <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gdb/vmlinux-gdb.py')
0 files changed, 0 insertions, 0 deletions