Re: [PATCH libdrm v2 2/2] etnaviv: add etna_bo_from_handle

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Philipp,

On 21 August 2017 at 11:56, Philipp Zabel <p.zabel@xxxxxxxxxxxxxx> wrote:
> +struct etna_bo *
> +etna_bo_from_handle(struct etna_device *dev, uint32_t handle, uint32_t size)
> +{
> +       struct etna_bo *bo = NULL;

You can drop the NULL initialisation since it's always set by the
lookup_bo() call. But with that, both patches are:
Reviewed-by: Daniel Stone <daniels@xxxxxxxxxxxxx>

Cheers,
Daniel
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux