lkml.org 
[lkml]   [2017]   [Jan]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/8] MMC-core: Fine-tuning for some function implementations
Date
From: Markus Elfring <elfring@users.sourceforge.net>
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

\
 
 \ /
  Last update: 2017-01-08 22:42    [W:0.167 / U:29.676 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site