summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorZhen Lei <thunder.leizhen@huawei.com>2021-06-10 17:46:05 +0800
committerMartin K. Petersen <martin.petersen@oracle.com>2021-06-15 22:41:12 -0400
commit4ee8c40b1e1e1bb7db805bc11e376f547fb24ec2 (patch)
tree2402f47caedc7ec21f630da25d2aa5ab346d75f6 /tools/perf/scripts/python/mem-phys-addr.py
parentb6e7fba0c9ccba96198762b1b51559543466de03 (diff)
scsi: pm8001: Remove unnecessary OOM message
Fixes scripts/checkpatch.pl warning: WARNING: Possible unnecessary 'out of memory' message Remove it can help us save a bit of memory. Also change the return error code from "-1" to "-ENOMEM". Link: https://lore.kernel.org/r/20210610094605.16672-2-thunder.leizhen@huawei.com Acked-by: Jack Wang <jinpu.wang@ionos.com> Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions