[PATCH 0/4] alpha: Fine-tuning for five function implementations

From: SF Markus Elfring
Date: Wed Jan 18 2017 - 06:40:41 EST


From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 18 Jan 2017 12:26:38 +0100

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

Markus Elfring (4):
Return an error code only as a constant in osf_sigstack()
Move two assignments for the variable "error" in osf_utsname()
Return directly after a failed copy_from_user() or getname() in two functions
Move two assignments for the variable "res" in srm_env_proc_write()

arch/alpha/kernel/osf_sys.c | 51 ++++++++++++++-------------------------------
arch/alpha/kernel/srm_env.c | 10 +++++----
2 files changed, 22 insertions(+), 39 deletions(-)

--
2.11.0

--
To unsubscribe from this list: send the line "unsubscribe linux-alpha" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html