aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-memcpy.c
diff options
context:
space:
mode:
authorAlison Schofield <[email protected]>2022-04-06 18:09:15 -0700
committerDan Williams <[email protected]>2022-04-22 16:12:04 -0700
commit280302f0e8f6919f0c591753ea21906d77797746 (patch)
tree5a84049ce285849367658608d6c0ac3b91dcad99 /lib/test_fortify/write_overflow-memcpy.c
parent26f89535a5bb17915a2e1062c3999a2ee797c7b0 (diff)
cxl/mbox: Replace NULL check with IS_ERR() after vmemdup_user()
vmemdup_user() returns an ERR_PTR() on failure. Use IS_ERR() to check the return value. Reported-by: kernel test robot <[email protected]> Reported-by: Dan Carpenter <[email protected]> Signed-off-by: Alison Schofield <[email protected]> Reviewed-by: Ira Weiny <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-memcpy.c')
0 files changed, 0 insertions, 0 deletions