aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-pci-wrap.c
diff options
context:
space:
mode:
authorIvan Orlov <[email protected]>2023-02-26 16:16:33 +0300
committerShuah Khan <[email protected]>2023-03-28 10:25:25 -0600
commitc83f320e55a49abd90629f42a72897afd579e0de (patch)
tree2b612642d221787c09f6c159a8f49d676a5b62cc /drivers/usb/cdns3/cdns3-pci-wrap.c
parent350d216dc2507daa03074a3079f0d654eadcac13 (diff)
selftests: cgroup: Add 'malloc' failures checks in test_memcontrol
There are several 'malloc' calls in test_memcontrol, which can be unsuccessful. This patch will add 'malloc' failures checking to give more details about test's fail reasons and avoid possible undefined behavior during the future null dereference (like the one in alloc_anon_50M_check_swap function). Signed-off-by: Ivan Orlov <[email protected]> Reviewed-by: Muchun Song <[email protected]> Acked-by: Shakeel Butt <[email protected]> Acked-by: Roman Gushchin <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-pci-wrap.c')
0 files changed, 0 insertions, 0 deletions