Skip to contentSkip to conversation

Convert some indenting spaces into tabs

PATCH In review [email protected] 2 participants 2 messages Jan 14, 2025 – Feb 26, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Convert some indenting spaces into tabs

From: Eugene Loh <[email protected]>

---
 libdtrace/dt_prov_uprobe.c | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)
libdtrace/dt_prov_uprobe.c +11 -11
index e96479963..5d9f74244 100644
@@ -593,7 +593,7 @@ static int populate_args(dtrace_hdl_t *dtp, const pid_probespec_t *psp,
 		upp->args[i].mapping = map_arg;
 		upp->args[i].flags = 0;
 
-                if (i != map_arg)
+		if (i != map_arg)
 			upp->flags |= PP_IS_MAPPED;
 	}
 
@@ -716,21 +716,21 @@ static dt_probe_t *create_underlying(dtrace_hdl_t *dtp,
 
 	switch (psp->pps_type) {
 	case DTPPT_RETURN:
-	    upp->flags |= PP_IS_RETURN;
-	    break;
+		upp->flags |= PP_IS_RETURN;
+		break;
 	case DTPPT_IS_ENABLED:
-	    upp->flags |= PP_IS_ENABLED;
-	    break;
+		upp->flags |= PP_IS_ENABLED;
+		break;
 	case DTPPT_USDT:
-	    upp->flags |= PP_IS_USDT;
-	    break;
+		upp->flags |= PP_IS_USDT;
+		break;
 	default: ;
-	    /*
-	     * No flags needed for other types.
-	     */
+		/*
+		 * No flags needed for other types.
+		 */
 	}
 
-        return uprp;
+	return uprp;
 
 fail:
 	dt_dprintf("Failed to instantiate %s:%s:%s:%s\n", psp->pps_prv,
Signature · 1 line
2.43.5
Reviewed-by on v1 1/1
#1 lore raw
Quoted 3 lines · On Tue, Jan 14, 2025 at 06:38:20PM -0500, [email protected] wrote:

From: Eugene Loh <[email protected]>

Quoted 52 lines
---
 libdtrace/dt_prov_uprobe.c | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)
libdtrace/dt_prov_uprobe.c +11 -11
index e96479963..5d9f74244 100644
@@ -593,7 +593,7 @@ static int populate_args(dtrace_hdl_t *dtp, const pid_probespec_t *psp,
 		upp->args[i].mapping = map_arg;
 		upp->args[i].flags = 0;
 
-                if (i != map_arg)
+		if (i != map_arg)
 			upp->flags |= PP_IS_MAPPED;
 	}
 
@@ -716,21 +716,21 @@ static dt_probe_t *create_underlying(dtrace_hdl_t *dtp,
 
 	switch (psp->pps_type) {
 	case DTPPT_RETURN:
-	    upp->flags |= PP_IS_RETURN;
-	    break;
+		upp->flags |= PP_IS_RETURN;
+		break;
 	case DTPPT_IS_ENABLED:
-	    upp->flags |= PP_IS_ENABLED;
-	    break;
+		upp->flags |= PP_IS_ENABLED;
+		break;
 	case DTPPT_USDT:
-	    upp->flags |= PP_IS_USDT;
-	    break;
+		upp->flags |= PP_IS_USDT;
+		break;
 	default: ;
-	    /*
-	     * No flags needed for other types.
-	     */
+		/*
+		 * No flags needed for other types.
+		 */
 	}
 
-        return uprp;
+	return uprp;
 
 fail:
 	dt_dprintf("Failed to instantiate %s:%s:%s:%s\n", psp->pps_prv,
Signature · 1 line
2.43.5