Patch "mvsas: fix misleading indentation" has been added to the 4.4-stable tree
Subsystems (2)
This is a note to let you know that I've just added the patch titled
mvsas: fix misleading indentation
to the 4.4-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
mvsas-fix-misleading-indentation.patch
and it can be found in the queue-4.4 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
7789cd39274c51bf475411fe22a8ee7255082809Mon Sep 17 00:00:00 2001
From: Luis de Bethencourt <[email protected]>
Date: Mon, 30 Nov 2015 14:32:17 +0000
Subject: mvsas: fix misleading indentation
From: Luis de Bethencourt <[email protected]>
commit 7789cd39274c51bf475411fe22a8ee7255082809 upstream.
Fix a smatch warning:drivers/scsi/mvsas/mv_sas.c:740 mvs_task_prep() warn: curly braces intended?
The code is correct, the indention is misleading. When the device is not ready we want to return SAS_PHY_DOWN. But current indentation makes it look like we only do so in the else branch of if (mvi_dev).
--- drivers/scsi/mvsas/mv_sas.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/scsi/mvsas/mv_sas.c +2 -2
@@ -737,8 +737,8 @@ static int mvs_task_prep(struct sas_taskmv_dprintk ("device %016llx not ready.\n" ,SAS_ADDR (dev->sas_addr)); - rc =SAS_PHY_DOWN ; -return rc; + rc =SAS_PHY_DOWN ; +return rc; } tei.port = dev->port->lldd_port;if (tei.port && !tei.port->port_attached && !tmf) {
Patches currently in stable-queue which might be from [email protected] are
queue-4.4/mvsas-fix-misleading-indentation.patch