lkml.org 
[lkml]   [2017]   [Apr]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/3] SATA: Fine-tuning for two function implementations
Date
From: Markus Elfring <elfring@users.sourceforge.net>
Date: Tue, 18 Apr 2017 21:54:32 +0200

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

Markus Elfring (3):
Use kcalloc() in ahci_platform_get_resources()
Use devm_kcalloc() in ahci_platform_get_resources()
Use devm_kcalloc() in mv_platform_probe()

drivers/ata/libahci_platform.c | 11 ++++++-----
drivers/ata/sata_mv.c | 10 ++++++----
2 files changed, 12 insertions(+), 9 deletions(-)

--
2.12.2

\
 
 \ /
  Last update: 2017-04-18 22:02    [W:0.361 / U:0.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site