Commit a0cb1377 authored by Daniel Verkamp's avatar Daniel Verkamp
Browse files

Update existing fallthrough comments for GCC 7



The stricter warning levels (-Wimplicit-fallthrough=4) require all-caps
FALLTHROUGH, so update the existing comments to match.

Change-Id: I5f8608101cad31d8ea8e84d48604397f98400e87
Signed-off-by: default avatarDaniel Verkamp <daniel.verkamp@intel.com>
Reviewed-on: https://review.gerrithub.io/363491


Tested-by: default avatarSPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: default avatarBen Walker <benjamin.walker@intel.com>
parent aab3b1de
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -584,7 +584,7 @@ timeout_cb(void *cb_arg, struct spdk_nvme_ctrlr *ctrlr,
			SPDK_ERRLOG("Unable to send abort. Resetting.\n");
		}

	/* Fallthrough */
	/* FALLTHROUGH */
	case TIMEOUT_ACTION_RESET:
		rc = spdk_nvme_ctrlr_reset(ctrlr);
		if (rc) {
+1 −1
Original line number Diff line number Diff line
@@ -441,7 +441,7 @@ spdk_reactor_start(struct spdk_reactor *reactor)
		switch (rte_eal_get_lcore_state(reactor->lcore)) {
		case FINISHED:
			rte_eal_wait_lcore(reactor->lcore);
		/* drop through */
		/* FALLTHROUGH */
		case WAIT:
			rte_eal_remote_launch(_spdk_reactor_run, (void *)reactor, reactor->lcore);
			break;
+1 −1
Original line number Diff line number Diff line
@@ -184,7 +184,7 @@ retry:
						    "Verify IP address in config file "
						    "and make sure setup script is "
						    "run before starting spdk app.\n", ip);
				/* fallthrough */
				/* FALLTHROUGH */
				default:
					/* try next family */
					close(sock);