summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2017-11-18 14:08:00 -0800
committerTony Hutter <[email protected]>2018-01-30 10:27:31 -0600
commitaebc5df418cb52cc2ec9fa6c9c147ca3b048bc49 (patch)
tree5d3dd1f24e2e2198fbaa1906ee4ab352199ad746 /.github
parent7a8bef39838cdb9f996bf400add5a8583fe10e87 (diff)
Update for cppcheck v1.80
Resolve new warnings and errors from cppcheck v1.80. * [lib/libshare/libshare.c:543]: (warning) Possible null pointer dereference: protocol * [lib/libzfs/libzfs_dataset.c:2323]: (warning) Possible null pointer dereference: srctype * [lib/libzfs/libzfs_import.c:318]: (error) Uninitialized variable: link * [module/zfs/abd.c:353]: (error) Uninitialized variable: sg * [module/zfs/abd.c:353]: (error) Uninitialized variable: i * [module/zfs/abd.c:385]: (error) Uninitialized variable: sg * [module/zfs/abd.c:385]: (error) Uninitialized variable: i * [module/zfs/abd.c:553]: (error) Uninitialized variable: i * [module/zfs/abd.c:553]: (error) Uninitialized variable: sg * [module/zfs/abd.c:763]: (error) Uninitialized variable: i * [module/zfs/abd.c:763]: (error) Uninitialized variable: sg * [module/zfs/abd.c:305]: (error) Uninitialized variable: tmp_page * [module/zfs/zpl_xattr.c:342]: (warning) Possible null pointer dereference: value * [module/zfs/zvol.c:208]: (error) Uninitialized variable: p Convert the following suppression to inline. * [module/zfs/zfs_vnops.c:840]: (error) Possible null pointer dereference: aiov Exclude HAVE_UIO_ZEROCOPY and HAVE_DNLC from analysis since these macro's will never be defined until this functionality is implemented. Reviewed-by: George Melikov <[email protected]> Reviewed-by: Giuseppe Di Natale <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes #6879
Diffstat (limited to '.github')
-rw-r--r--.github/suppressions.txt1
1 files changed, 0 insertions, 1 deletions
diff --git a/.github/suppressions.txt b/.github/suppressions.txt
index 61a2cd233..f9508a24b 100644
--- a/.github/suppressions.txt
+++ b/.github/suppressions.txt
@@ -1,4 +1,3 @@
-nullPointer:./module/zfs/zfs_vnops.c:839
preprocessorErrorDirective:./module/zfs/vdev_raidz_math_avx512f.c:243
preprocessorErrorDirective:./module/zfs/vdev_raidz_math_sse2.c:266