aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test_stackinit.c
diff options
context:
space:
mode:
authorMikulas Patocka <[email protected]>2019-04-29 12:57:17 +0000
committerMike Snitzer <[email protected]>2019-05-07 20:05:08 +0000
commit97abfde17ae011525755f50242ed447ecebdbab5 (patch)
treecf9c961a41b4e4c8041185b143e4ca9a4cf7900d /lib/test_stackinit.c
parentdm integrity: correctly calculate the size of metadata area (diff)
downloadkernel-97abfde17ae011525755f50242ed447ecebdbab5.tar.gz
kernel-97abfde17ae011525755f50242ed447ecebdbab5.zip
dm integrity: don't check null pointer before kvfree and vfree
The functions kfree, vfree and kvfree do nothing if we pass a NULL pointer to them. So we don't need to test the pointer for NULL. Signed-off-by: Mikulas Patocka <[email protected]> Signed-off-by: Mike Snitzer <[email protected]>
Diffstat (limited to 'lib/test_stackinit.c')
0 files changed, 0 insertions, 0 deletions