All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Add break for switch-case in prin_do_scsi_ioctl().
@ 2016-10-25  6:56 ding.yemin
  0 siblings, 0 replies; 2+ messages in thread
From: ding.yemin @ 2016-10-25  6:56 UTC (permalink / raw)
  To: Christophe Varoqui; +Cc: tang.junhui, zhang.kai16, ding.yemin, dm-devel

From: "ding.yemin" <ding.yemin@zte.com.cn>

Add break for switch-case in prin_do_scsi_ioctl().

Signed-off-by: ding.yemin <ding.yemin@zte.com.cn>
---
 libmpathpersist/mpath_pr_ioctl.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libmpathpersist/mpath_pr_ioctl.c b/libmpathpersist/mpath_pr_ioctl.c
index 8b9ac3d..ffe7468 100644
--- a/libmpathpersist/mpath_pr_ioctl.c
+++ b/libmpathpersist/mpath_pr_ioctl.c
@@ -392,6 +392,7 @@ retry :
 			break;
 		case MPATH_PRIN_RFSTAT_SA :
 			mpath_format_readfullstatus(resp, got, noisy);
+			break;
 	}
 
 out:
-- 
2.8.1.windows.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH] Add break for switch-case in prin_do_scsi_ioctl().
@ 2016-10-25  6:41 ding.yemin
  0 siblings, 0 replies; 2+ messages in thread
From: ding.yemin @ 2016-10-25  6:41 UTC (permalink / raw)
  To: Christophe Varoqui; +Cc: tang.junhui, zhang.kai16, ding.yemin, dm-devel

From: "ding.yemin" <ding.yemin@zte.com.cn>

Add break for switch-case in prin_do_scsi_ioctl().
---
 libmpathpersist/mpath_pr_ioctl.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libmpathpersist/mpath_pr_ioctl.c b/libmpathpersist/mpath_pr_ioctl.c
index 8b9ac3d..ffe7468 100644
--- a/libmpathpersist/mpath_pr_ioctl.c
+++ b/libmpathpersist/mpath_pr_ioctl.c
@@ -392,6 +392,7 @@ retry :
 			break;
 		case MPATH_PRIN_RFSTAT_SA :
 			mpath_format_readfullstatus(resp, got, noisy);
+			break;
 	}
 
 out:
-- 
2.8.1.windows.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-10-25  6:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-25  6:56 [PATCH] Add break for switch-case in prin_do_scsi_ioctl() ding.yemin
  -- strict thread matches above, loose matches on Subject: below --
2016-10-25  6:41 ding.yemin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.