lkml.org 
[lkml]   [2017]   [Dec]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/3] UIO: Adjustments for two function implementations
Date
From: Markus Elfring <elfring@users.sourceforge.net>
Date: Wed, 6 Dec 2017 19:32:10 +0100

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

Markus Elfring (3):
Delete two error messages for a failed memory allocation
in uio_dmem_genirq_probe()
Return directly after a failed kzalloc() in uio_dmem_genirq_probe()
Delete two error messages for a failed memory allocation
in uio_pdrv_genirq_probe()

drivers/uio/uio_dmem_genirq.c | 11 ++++-------
drivers/uio/uio_pdrv_genirq.c | 9 +++------
2 files changed, 7 insertions(+), 13 deletions(-)

--
2.15.1

\
 
 \ /
  Last update: 2017-12-06 19:35    [W:0.028 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site