Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1372771
| From | James Simmons <jsimmons@infradead.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 24/24] staging: lustre: selftest: change srpc_state_t to proper enum |
| Date | 2016-04-06 21:30 +0200 |
| Message-ID | <rl1jl-i0-45@gated-at.bofh.it> (permalink) |
| References | <rl1jk-i0-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Turn typedef srpc_state_t to proper enum
Signed-off-by: James Simmons <uja.ornl@gmail.com>
---
drivers/staging/lustre/lnet/selftest/rpc.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/lustre/lnet/selftest/rpc.c b/drivers/staging/lustre/lnet/selftest/rpc.c
index 812b9a5..4a45904 100644
--- a/drivers/staging/lustre/lnet/selftest/rpc.c
+++ b/drivers/staging/lustre/lnet/selftest/rpc.c
@@ -46,19 +46,19 @@
#include "selftest.h"
-typedef enum {
+enum srpc_state {
SRPC_STATE_NONE,
SRPC_STATE_NI_INIT,
SRPC_STATE_EQ_INIT,
SRPC_STATE_RUNNING,
SRPC_STATE_STOPPING,
-} srpc_state_t;
+};
static struct smoketest_rpc {
spinlock_t rpc_glock; /* global lock */
struct srpc_service *rpc_services[SRPC_SERVICE_MAX_ID + 1];
lnet_handle_eq_t rpc_lnet_eq; /* _the_ LNet event queue */
- srpc_state_t rpc_state;
+ enum srpc_state rpc_state;
srpc_counters_t rpc_counters;
__u64 rpc_matchbits; /* matchbits counter */
} srpc_data;
--
1.7.1
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 00/24] staging: lustre: selftest: remove typedefs James Simmons <jsimmons@infradead.org> - 2016-04-06 21:30 +0200 [PATCH 18/24] staging: lustre: selftest: convert lstcon_group_t to proper struct James Simmons <jsimmons@infradead.org> - 2016-04-06 21:30 +0200 [PATCH 24/24] staging: lustre: selftest: change srpc_state_t to proper enum James Simmons <jsimmons@infradead.org> - 2016-04-06 21:30 +0200 [PATCH 15/24] staging: lustre: selftest: convert lstcon_rpc_trans_t to proper struct James Simmons <jsimmons@infradead.org> - 2016-04-06 21:30 +0200 [PATCH 05/24] staging: lustre: selftest: convert swi_workitem_t to proper struct James Simmons <jsimmons@infradead.org> - 2016-04-06 21:40 +0200 [PATCH 07/24] staging: lustre: selftest: convert srpc_service_t to proper struct James Simmons <jsimmons@infradead.org> - 2016-04-06 21:40 +0200 [PATCH 01/24] staging: lustre: selftest: convert srpc_event_type to proper enum James Simmons <jsimmons@infradead.org> - 2016-04-06 21:40 +0200 [PATCH 08/24] staging: lustre: selftest: convert sfw_session_t to proper struct James Simmons <jsimmons@infradead.org> - 2016-04-06 21:40 +0200 [PATCH 06/24] staging: lustre: selftest: convert srpc_client_rpc_t to proper struct James Simmons <jsimmons@infradead.org> - 2016-04-06 21:40 +0200 [PATCH 09/24] staging: lustre: selftest: convert sfw_batch_t to proper struct James Simmons <jsimmons@infradead.org> - 2016-04-06 21:40 +0200 [PATCH 10/24] staging: lustre: selftest: convert sfw_test_client_ops_t to proper struct James Simmons <jsimmons@infradead.org> - 2016-04-06 21:40 +0200 Re: [PATCH 00/24] staging: lustre: selftest: remove typedefs Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2016-04-12 06:20 +0200
csiph-web