diff options
| author | Ivan Orlov <[email protected]> | 2023-02-26 16:16:33 +0300 |
|---|---|---|
| committer | Shuah Khan <[email protected]> | 2023-03-28 10:25:25 -0600 |
| commit | c83f320e55a49abd90629f42a72897afd579e0de (patch) | |
| tree | 2b612642d221787c09f6c159a8f49d676a5b62cc /drivers/usb/cdns3/cdns3-pci-wrap.c | |
| parent | 350d216dc2507daa03074a3079f0d654eadcac13 (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