diff options
author | Lv Ruyi <lv.ruyi@zte.com.cn> | 2021-10-28 10:41:38 +0000 |
---|---|---|
committer | Wei Liu <wei.liu@kernel.org> | 2021-10-28 11:40:32 +0000 |
commit | 01ccca3cb50dcff7eea01448af985a49859b8a1d (patch) | |
tree | da3018a594e3fd0e4ac37c5f07ae2b4ab2f8f2d8 /lib/test_fortify/write_overflow-strncpy.c | |
parent | 0b9060852344cdaa3b415f807943d71e488c4eec (diff) |
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 'lib/test_fortify/write_overflow-strncpy.c')
0 files changed, 0 insertions, 0 deletions