Re: [PATCH] dma-buf: align debugfs output

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

 



Hi Russell,


On 31 March 2017 at 15:33, Russell King <rmk+kernel@xxxxxxxxxxxxxxx> wrote:
> Align the heading with the values output from debugfs.
>
> Signed-off-by: Russell King <rmk+kernel@xxxxxxxxxxxxxxx>

Thanks for your patch; applied to drm-misc-next.

> ---
>  drivers/dma-buf/dma-buf.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/dma-buf/dma-buf.c b/drivers/dma-buf/dma-buf.c
> index ebaf1923ad6b..f72aaacbe023 100644
> --- a/drivers/dma-buf/dma-buf.c
> +++ b/drivers/dma-buf/dma-buf.c
> @@ -1072,7 +1072,8 @@ static int dma_buf_debug_show(struct seq_file *s, void *unused)
>                 return ret;
>
>         seq_puts(s, "\nDma-buf Objects:\n");
> -       seq_puts(s, "size\tflags\tmode\tcount\texp_name\n");
> +       seq_printf(s, "%-8s\t%-8s\t%-8s\t%-8s\texp_name\n",
> +                  "size", "flags", "mode", "count");
>
>         list_for_each_entry(buf_obj, &db_list.head, list_node) {
>                 ret = mutex_lock_interruptible(&buf_obj->lock);
> --
> 2.7.4
>

Best,
Sumit.
_______________________________________________
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