[PATCH 5.4 135/154] test_firmware: return ENOMEM instead of ENOSPC on failed memory allocation