* [PATCH][smartpqi-next] scsi: smartpqi: clean up indentation of a statement
@ 2019-08-31 7:39 Colin King
2019-10-01 2:36 ` Martin K. Petersen
0 siblings, 1 reply; 2+ messages in thread
From: Colin King @ 2019-08-31 7:39 UTC (permalink / raw)
To: Don Brace, James E . J . Bottomley, Martin K . Petersen,
esc.storagedev, linux-scsi
Cc: kernel-janitors, linux-kernel
From: Colin Ian King <colin.king@canonical.com>
There is a statement that is indented one level too deeply, remove
the tab, re-join broken line and remove some empty lines.
Addresses-Coverity: ("Indentation does not match nesting")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
drivers/scsi/smartpqi/smartpqi_init.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/drivers/scsi/smartpqi/smartpqi_init.c b/drivers/scsi/smartpqi/smartpqi_init.c
index ea5409bebf57..652d48224942 100644
--- a/drivers/scsi/smartpqi/smartpqi_init.c
+++ b/drivers/scsi/smartpqi/smartpqi_init.c
@@ -2175,10 +2175,7 @@ static int pqi_update_scsi_devices(struct pqi_ctrl_info *ctrl_info)
device->aio_handle phys_lun_ext_entry->aio_handle;
}
-
- pqi_get_physical_disk_info(ctrl_info,
- device, id_phys);
-
+ pqi_get_physical_disk_info(ctrl_info, device, id_phys);
} else {
memcpy(device->volume_id, log_lun_ext_entry->volume_id,
sizeof(device->volume_id));
--
2.20.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH][smartpqi-next] scsi: smartpqi: clean up indentation of a statement
2019-08-31 7:39 [PATCH][smartpqi-next] scsi: smartpqi: clean up indentation of a statement Colin King
@ 2019-10-01 2:36 ` Martin K. Petersen
0 siblings, 0 replies; 2+ messages in thread
From: Martin K. Petersen @ 2019-10-01 2:36 UTC (permalink / raw)
To: Colin King
Cc: Don Brace, James E . J . Bottomley, Martin K . Petersen,
esc.storagedev, linux-scsi, kernel-janitors, linux-kernel
Colin,
> There is a statement that is indented one level too deeply, remove the
> tab, re-join broken line and remove some empty lines.
Applied to 5.5/scsi-queue. Thanks!
--
Martin K. Petersen Oracle Linux Engineering
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-10-01 2:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-08-31 7:39 [PATCH][smartpqi-next] scsi: smartpqi: clean up indentation of a statement Colin King
2019-10-01 2:36 ` Martin K. Petersen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).