[PATCH 0/7] AGPGART: Fine-tuning for four function implementations

From: SF Markus Elfring
Date: Tue Sep 13 2016 - 16:38:49 EST


From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 13 Sep 2016 22:34:56 +0200

Some update suggestions were taken into account
from static source code analysis.

Markus Elfring (7):
Use kmalloc_array() in compat_agpioc_reserve_wrap()
Use memdup_user() rather than duplicating its implementation
Rename jump labels in compat_agp_ioctl()
Use kmalloc_array() in agp_sgi_init()
Use kmalloc_array() in uninorth_create_gatt_table()
Rename a jump label in uninorth_create_gatt_table()
Delete an unnecessary check in uninorth_create_gatt_table()

drivers/char/agp/compat_ioctl.c | 31 +++++++++++++------------------
drivers/char/agp/sgi-agp.c | 6 +++---
drivers/char/agp/uninorth-agp.c | 12 ++++++------
3 files changed, 22 insertions(+), 27 deletions(-)

--
2.10.0