Re: [PATCH] dma-buf: Add debugfs support

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

 



On 14 December 2012 16:04, Daniel Vetter <daniel@xxxxxxxx> wrote:
>
> Missed one ...
>
> On Fri, Dec 14, 2012 at 10:36 AM,  <sumit.semwal@xxxxxx> wrote:
> > +               list_for_each_entry(attach_obj, &buf_obj->attachments, node) {
> > +                       seq_printf(s, "\t\t");
> > +
> > +                       seq_printf(s, "%s\n", attach_obj->dev->init_name);
> > +                       attach_count++;
> > +               }
>
> You need to hold dmabuf->lock while walking the attachment list.
> -Daniel


Thanks Daniel!

Will update in next version.
>
> --
> Daniel Vetter
> Software Engineer, Intel Corporation
> +41 (0) 79 365 57 48 - http://blog.ffwll.ch



Best regards,

Sumit Semwal
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://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