# Re: \[PATCH v1 1/3\] media: staging: tegra-vde: Support reference picture marking

- From: Dmitry Osipenko \<digetx@gmail.com\>
- Date: 2021-11-14 22:34:54 
- List: linux-staging
- Page: https://ratatoskr.run/linux-staging/2021/11/1571658
- Thread: https://ratatoskr.run/linux-media/2021/11/1571649/t.md

```text
15.11.2021 01:23, Dmitry Osipenko пишет:
> +	vde->secure_bo = tegra_vde_alloc_bo(vde, DMA_FROM_DEVICE, 4096);
> +	if (!vde->secure_bo) {
> +		dev_err(dev, "Failed to allocate secure BO\n");
> +		goto err_pm_runtime;
> +	}

My eye just caught that by accident err variable isn't assigned to
-ENOMEM here. I'll make v2 shortly.
```
