[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4d34446f-05ad-c3ce-5d33-8fb4f25af25c@users.sourceforge.net>
Date: Thu, 22 Sep 2016 19:32:29 +0200
From: SF Markus Elfring <elfring@...rs.sourceforge.net>
To: dri-devel@...ts.freedesktop.org,
Daniel Vetter <daniel.vetter@...ll.ch>,
David Airlie <airlied@...ux.ie>,
Emil Velikov <emil.l.velikov@...il.com>
Cc: LKML <linux-kernel@...r.kernel.org>,
kernel-janitors@...r.kernel.org,
Julia Lawall <julia.lawall@...6.fr>
Subject: [PATCH 00/14] GPU-DRM-TTM: Fine-tuning for several function
implementations
From: Markus Elfring <elfring@...rs.sourceforge.net>
Date: Thu, 22 Sep 2016 19:00:01 +0200
Several update suggestions were taken into account
from static source code analysis.
Markus Elfring (14):
Use kmalloc_array() in two functions
Rename a jump label in ttm_alloc_new_pages()
Rename jump labels in ttm_page_pool_free()
Rename a jump label in ttm_page_pool_get_pages()
Use kmalloc_array() in two more functions
Rename a jump label in ttm_dma_pool_alloc_new_pages()
Rename jump labels in ttm_dma_page_pool_free()
Rename a jump label in ttm_dma_pool_shrink_scan()
Return directly after a failed kzalloc() in ttm_dma_page_alloc_init()
Return directly after a failed kobject_init_and_add() in ttm_dma_page_alloc_init()
Return an error code only as a constant in ttm_dma_pool_init()
Less function calls in ttm_dma_pool_init() after error detection
Delete unnecessary variable initialisations in ttm_dma_pool_init()
Mark an array of text strings as "const" in ttm_dma_pool_init()
drivers/gpu/drm/ttm/ttm_page_alloc.c | 30 ++++++++---------
drivers/gpu/drm/ttm/ttm_page_alloc_dma.c | 58 +++++++++++++++-----------------
2 files changed, 42 insertions(+), 46 deletions(-)
--
2.10.0
Powered by blists - more mailing lists