summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorYang Li <yang.lee@linux.alibaba.com>2021-04-26 17:32:23 +0800
committerMiquel Raynal <miquel.raynal@bootlin.com>2021-05-10 12:47:40 +0200
commit9c5b19c2eea8cb8d5784dedce8cac07e9a20198e (patch)
tree82981f597794d65094715539a41932807f9772d5 /tools/perf/scripts/python/bin/stackcollapse-record
parent6500dc2bde937fb124a399211686e04b8ef9d44e (diff)
downloadkernel-9c5b19c2eea8cb8d5784dedce8cac07e9a20198e.tar.gz
mtd: *nftl: return -ENOMEM when kmalloc failed
The driver is using -1 instead of the -ENOMEM defined macro to specify that a buffer allocation failed. Using the correct error code is more intuitive Smatch tool warning: drivers/mtd/inftlmount.c:333 check_free_sectors() warn: returning -1 instead of -ENOMEM is sloppy drivers/mtd/nftlmount.c:272 check_free_sectors() warn: returning -1 instead of -ENOMEM is sloppy No functional change, just more standardized. Reported-by: Abaci Robot <abaci@linux.alibaba.com> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com> [<miquel.raynal@bootlin.com>: Fixed the title] Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/1619429543-52234-1-git-send-email-yang.lee@linux.alibaba.com
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
f: Add debugging message for missing policy dataMario Limonciello 2024-02-19platform/x86/amd/pmf: Remove smart_pc_status enumShyam Sundar S K 2024-01-26platform/x86/amd/pmf: Fix memory leak in amd_pmf_get_pb_data()Cong Liu 2023-12-18platform/x86/amd/pmf: dump policy binary dataShyam Sundar S K 2023-12-18platform/x86/amd/pmf: Add capability to sideload of policy binaryShyam Sundar S K 2023-12-18platform/x86/amd/pmf: Add facility to dump TA inputsShyam Sundar S K 2023-12-18platform/x86/amd/pmf: Add support to update system stateShyam Sundar S K 2023-12-18platform/x86/amd/pmf: Add support update p3t limitShyam Sundar S K 2023-12-18platform/x86/amd/pmf: Add support to get inputs from other subsystemsShyam Sundar S K 2023-12-18platform/x86/amd/pmf: Add support for PMF Policy BinaryShyam Sundar S K 2023-12-18platform/x86/amd/pmf: Add support for PMF-TA interactionShyam Sundar S K 2023-12-18platform/x86/amd/pmf: Add PMF TEE interfaceShyam Sundar S K