Skip to content

Commit b94c949

Browse files
markhaywoodvijay-suman
authored andcommitted
uapi: Fix [rs]cq_vector data types in rds[6]_info_rdma_connection
Consistently use types from linux/types.h. Orabug: 34734344 Fixes: 03e15edb4a11 ("Adding support to print SCQ and RCQ completion vectors in rds-info.") Signed-off-by: Mark Haywood <mark.haywood@oracle.com> Reviewed-by: Alan Maguire <alan.maguire@oracle.com>
1 parent df7422f commit b94c949

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

include/uapi/linux/rds.h

+4-4
Original file line numberDiff line numberDiff line change
@@ -310,8 +310,8 @@ struct rds_info_rdma_connection {
310310
__u64 rx_poll_ts;
311311
__u64 tx_poll_cnt;
312312
__u64 rx_poll_cnt;
313-
int32_t scq_vector;
314-
int32_t rcq_vector;
313+
__s32 scq_vector;
314+
__s32 rcq_vector;
315315
};
316316

317317
struct rds6_info_rdma_connection {
@@ -345,8 +345,8 @@ struct rds6_info_rdma_connection {
345345
__u64 rx_poll_ts;
346346
__u64 tx_poll_cnt;
347347
__u64 rx_poll_cnt;
348-
int32_t scq_vector;
349-
int32_t rcq_vector;
348+
__s32 scq_vector;
349+
__s32 rcq_vector;
350350
};
351351

352352
struct rds_path_info {

0 commit comments

Comments
 (0)