* [PATCH] Staging: unisys: virthba: fixed a brace coding style issue
@ 2015-06-05 11:17 Mariusz Masztalerczuk
2015-06-05 11:35 ` Sudip Mukherjee
0 siblings, 1 reply; 2+ messages in thread
From: Mariusz Masztalerczuk @ 2015-06-05 11:17 UTC (permalink / raw)
To: benjamin.romer; +Cc: devel, linux-kernel, Mariusz Masztalerczuk
Fixed a coding style issue.
Signed-off-by: Mariusz Masztalerczuk <mmasztalerczuk@gmail.com>
---
drivers/staging/unisys/virthba/virthba.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/unisys/virthba/virthba.c b/drivers/staging/unisys/virthba/virthba.c
index d9001cc..9892c63 100644
--- a/drivers/staging/unisys/virthba/virthba.c
+++ b/drivers/staging/unisys/virthba/virthba.c
@@ -868,9 +868,8 @@ virthba_queue_command_lck(struct scsi_cmnd *scsicmd,
/* The following code does NOT make that assumption. */
/* convert buffer to phys information */
if (scsi_sg_count(scsicmd) == 0) {
- if (scsi_bufflen(scsicmd) > 0) {
+ if (scsi_bufflen(scsicmd) > 0)
BUG_ON(scsi_sg_count(scsicmd) == 0);
- }
} else {
/* buffer is scatterlist - copy it out */
sgl = scsi_sglist(scsicmd);
@@ -1068,9 +1067,8 @@ do_scsi_nolinuxstat(struct uiscmdrsp *cmdrsp, struct scsi_cmnd *scsicmd)
if (atomic_read(&vdisk->ios_threshold) > 0) {
atomic_dec(&vdisk->ios_threshold);
- if (atomic_read(&vdisk->ios_threshold) == 0) {
+ if (atomic_read(&vdisk->ios_threshold) == 0)
atomic_set(&vdisk->error_count, 0);
- }
}
}
}
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Staging: unisys: virthba: fixed a brace coding style issue
2015-06-05 11:17 [PATCH] Staging: unisys: virthba: fixed a brace coding style issue Mariusz Masztalerczuk
@ 2015-06-05 11:35 ` Sudip Mukherjee
0 siblings, 0 replies; 2+ messages in thread
From: Sudip Mukherjee @ 2015-06-05 11:35 UTC (permalink / raw)
To: Mariusz Masztalerczuk; +Cc: benjamin.romer, devel, linux-kernel
On Fri, Jun 05, 2015 at 01:17:32PM +0200, Mariusz Masztalerczuk wrote:
> Fixed a coding style issue.
>
> Signed-off-by: Mariusz Masztalerczuk <mmasztalerczuk@gmail.com>
> ---
> drivers/staging/unisys/virthba/virthba.c | 6 ++----
> 1 file changed, 2 insertions(+), 4 deletions(-)
i think you need to update your tree. virthba folder has been removed
by commit 3d3fb181309c ('staging: unisys: remove virthba driver for rewrite')
regards
sudip
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-06-05 11:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-05 11:17 [PATCH] Staging: unisys: virthba: fixed a brace coding style issue Mariusz Masztalerczuk
2015-06-05 11:35 ` Sudip Mukherjee
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox