diff options
author | 2022-04-06 18:09:15 -0700 | |
---|---|---|
committer | 2022-04-22 16:12:04 -0700 | |
commit | 280302f0e8f6919f0c591753ea21906d77797746 (patch) | |
tree | 5a84049ce285849367658608d6c0ac3b91dcad99 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | cxl/mbox: Use type __u32 for mailbox payload sizes (diff) | |
download | linux-dev-280302f0e8f6919f0c591753ea21906d77797746.tar.xz linux-dev-280302f0e8f6919f0c591753ea21906d77797746.zip |
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 <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Alison Schofield <alison.schofield@intel.com>
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Link: https://lore.kernel.org/r/20220407010915.1211258-1-alison.schofield@intel.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions