Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1372779
| From | James Simmons <jsimmons@infradead.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 01/24] staging: lustre: selftest: convert srpc_event_type to proper enum |
| Date | 2016-04-06 21:40 +0200 |
| Message-ID | <rl1t1-n7-25@gated-at.bofh.it> (permalink) |
| References | <rl1jk-i0-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Turn tyepdef srpc_event_type to proper enum
Signed-off-by: James Simmons <uja.ornl@gmail.com>
---
drivers/staging/lustre/lnet/selftest/selftest.h | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/lustre/lnet/selftest/selftest.h b/drivers/staging/lustre/lnet/selftest/selftest.h
index f50580e..00d73a1 100644
--- a/drivers/staging/lustre/lnet/selftest/selftest.h
+++ b/drivers/staging/lustre/lnet/selftest/selftest.h
@@ -134,7 +134,7 @@ srpc_service2reply(int service)
return srpc_service2request(service) + 1;
}
-typedef enum {
+enum srpc_event_type {
SRPC_BULK_REQ_RCVD = 1, /* passive bulk request(PUT sink/GET source)
* received */
SRPC_BULK_PUT_SENT = 2, /* active bulk PUT sent (source) */
@@ -143,11 +143,11 @@ typedef enum {
SRPC_REPLY_SENT = 5, /* outgoing reply sent */
SRPC_REQUEST_RCVD = 6, /* incoming request received */
SRPC_REQUEST_SENT = 7, /* outgoing request sent */
-} srpc_event_type_t;
+};
/* RPC event */
typedef struct {
- srpc_event_type_t ev_type; /* what's up */
+ enum srpc_event_type ev_type; /* what's up */
lnet_event_kind_t ev_lnet; /* LNet event type */
int ev_fired; /* LNet event fired? */
int ev_status; /* LNet event status */
--
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