lkml.org 
[lkml]   [2017]   [Jan]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/5] s390/pci: Fine-tuning for three function implementations
Date
From: Markus Elfring <elfring@users.sourceforge.net>
Date: Sat, 21 Jan 2017 18:58:18 +0100

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

Markus Elfring (5):
Return directly after a failed parameter validation in clp_normal_command()
Return directly after a failed clp_alloc_block() in clp_normal_command()
Move three assignments for the variable "rc" in clp_normal_command()
Move an assignment for the variable "ret" in s390_pci_mmio_write()
Move two assignments for the variable "ret" in get_pfn()

arch/s390/pci/pci_clp.c | 20 +++++++++-----------
arch/s390/pci/pci_mmio.c | 19 ++++++++++---------
2 files changed, 19 insertions(+), 20 deletions(-)

--
2.11.0

\
 
 \ /
  Last update: 2017-01-21 19:09    [W:0.054 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site