[PATCH v1 1/1] test_firmware: return ENOMEM instead of ENOSPC on failed allocation