Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1280483

Re: [RESEND] scsi: mvsas: fix misleading indentation

From "Martin K. Petersen" <martin.petersen@oracle.com>
Newsgroups linux.kernel
Subject Re: [RESEND] scsi: mvsas: fix misleading indentation
Date 2015-12-01 03:00 +0100
Message-ID <qAIoy-360-13@gated-at.bofh.it> (permalink)
References <qAxMt-4Or-7@gated-at.bofh.it>
Organization Oracle Corporation

Show all headers | View raw


>>>>> "Luis" == Luis de Bethencourt <luisbg@osg.samsung.com> writes:

Luis> Fix a smatch warning: drivers/scsi/mvsas/mv_sas.c:740
Luis> mvs_task_prep() warn: curly braces intended?

Luis> The code is correct, the indention is misleading. When the device
Luis> is not ready we want to return SAS_PHY_DOWN. But current
Luis> indentation makes it look like we only do so in the else branch of
Luis> if (mvi_dev).

Applied to 4.5/scsi-queue.

Thank you!

-- 
Martin K. Petersen	Oracle Linux Engineering
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[RESEND] scsi: mvsas: fix misleading indentation Luis de Bethencourt <luisbg@osg.samsung.com> - 2015-11-30 15:40 +0100
  Re: [RESEND] scsi: mvsas: fix misleading indentation "Martin K. Petersen" <martin.petersen@oracle.com> - 2015-12-01 03:00 +0100

csiph-web