diff options
author | Lv Ruyi <lv.ruyi@zte.com.cn> | 2021-10-28 13:41:38 +0300 |
---|---|---|
committer | Wei Liu <wei.liu@kernel.org> | 2021-10-28 14:40:32 +0300 |
commit | 01ccca3cb50dcff7eea01448af985a49859b8a1d (patch) | |
tree | da3018a594e3fd0e4ac37c5f07ae2b4ab2f8f2d8 /arch/x86/hyperv | |
parent | 0b9060852344cdaa3b415f807943d71e488c4eec (diff) | |
download | linux-01ccca3cb50dcff7eea01448af985a49859b8a1d.tar.xz |
Drivers: hv : vmbus: Adding NULL pointer check
This patch fixes the following Coccinelle warning:
drivers/hv/ring_buffer.c:223: alloc with no test
Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Lv Ruyi <lv.ruyi@zte.com.cn>
Link: https://lore.kernel.org/r/20211028104138.14576-1-lv.ruyi@zte.com.cn
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Diffstat (limited to 'arch/x86/hyperv')
0 files changed, 0 insertions, 0 deletions