Skip to content
Commit 01ccca3c authored by Lv Ruyi's avatar Lv Ruyi Committed by Wei Liu
Browse files

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: default avatarZeal Robot <zealci@zte.com.cn>
Signed-off-by: default avatarLv Ruyi <lv.ruyi@zte.com.cn>
Link: https://lore.kernel.org/r/20211028104138.14576-1-lv.ruyi@zte.com.cn


Signed-off-by: default avatarWei Liu <wei.liu@kernel.org>
parent 0b906085
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment