android_kernel_lge_bullhead/drivers/scsi/mvsas
Luis de Bethencourt 57f208211a mvsas: fix misleading indentation
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).

Signed-off-by: Luis de Bethencourt <luisbg@osg.samsung.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Willy Tarreau <w@1wt.eu>
2017-06-20 14:04:29 +02:00
..
Kconfig [SCSI] mvsas: Add support for interrupt tasklet 2011-07-26 12:59:55 +04:00
Makefile [SCSI] mvsas: add support for Task collector mode and fixed relative bugs 2011-05-01 12:08:03 -05:00
mv_64xx.c Drivers: scsi: remove __dev* attributes. 2013-01-03 15:57:01 -08:00
mv_64xx.h [SCSI] mvsas: add support for Task collector mode and fixed relative bugs 2011-05-01 12:08:03 -05:00
mv_94xx.c scsi: mvsas: fix command_active typo 2017-06-08 00:46:53 +02:00
mv_94xx.h [SCSI] mvsas: fix undefined bit shift 2012-11-30 09:20:17 +00:00
mv_chips.h Drivers: scsi: remove __dev* attributes. 2013-01-03 15:57:01 -08:00
mv_defs.h [SCSI] mvsas: fixed SMP request watchdog timeout issue. 2011-10-02 13:18:01 -05:00
mv_init.c [SCSI] sas: unify the pointlessly separated enums sas_dev_type and sas_device_type 2013-05-10 07:47:52 -07:00
mv_sas.c mvsas: fix misleading indentation 2017-06-20 14:04:29 +02:00
mv_sas.h [SCSI] sas: unify the pointlessly separated enums sas_dev_type and sas_device_type 2013-05-10 07:47:52 -07:00