[PATCH 0/8] MMC-core: Fine-tuning for some function implementations

From: SF Markus Elfring
Date: Sun Jan 08 2017 - 16:41:27 EST


From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 8 Jan 2017 22:30:03 +0100

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

Markus Elfring (8):
Use kmalloc_array() in mmc_test_area_init()
Fix a typo in a comment line
Use seq_puts() in mtf_testlist_show()
mmc_test: Add some spaces for better code readability
mmc_test: Combine substrings for 5 messages
mmc_test: Improve a size determination in five functions
Use kcalloc() in mmc_test_alloc_mem()
Use kmalloc_array() in mmc_alloc_sg()

drivers/mmc/core/mmc_test.c | 77 +++++++++++++++++++++------------------------
drivers/mmc/core/queue.c | 2 +-
2 files changed, 36 insertions(+), 43 deletions(-)

--
2.11.0