aboutsummaryrefslogtreecommitdiffstats
path: root/module/zfs/vdev_raidz_math_avx2.c
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2019-12-16 10:55:11 -0800
committerBrian Behlendorf <[email protected]>2019-12-18 17:25:13 -0800
commit070402f112bcfbf53b7da9bedc9453721b159e96 (patch)
tree1d4bf428bb647fefe22c75c019be614fe172743d /module/zfs/vdev_raidz_math_avx2.c
parentfe20400db5564d4478fb039e773dd43c1f546d7b (diff)
cppcheck: (warning) Possible null pointer dereference: dnp
The dnp argument can only be set to NULL when the DNODE_DRY_RUN flag is set. In which case, an early return path will be executed and a NULL pointer dereference at the given location is impossible. Add an additional ASSERT to silence the cppcheck warning and document that dbp must never be NULL at the point in the function. [module/zfs/dnode.c:1566]: (warning) Possible null pointer deref: dnp Reviewed-by: Tony Hutter <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes #9732
Diffstat (limited to 'module/zfs/vdev_raidz_math_avx2.c')
0 files changed, 0 insertions, 0 deletions