From 618d98cd48f3ce4b19e9f266e62cf0cd402a13fd Mon Sep 17 00:00:00 2001 From: Paul Chaignon Date: Fri, 25 Oct 2019 11:39:12 +0200 Subject: sys/linux: fix int should be const in InfiniBand description --- sys/linux/gen/amd64.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/linux/gen/amd64.go') diff --git a/sys/linux/gen/amd64.go b/sys/linux/gen/amd64.go index e2ef3a9ae..6a9bb9cba 100644 --- a/sys/linux/gen/amd64.go +++ b/sys/linux/gen/amd64.go @@ -2505,7 +2505,7 @@ var structDescs_amd64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_out_words", TypeSize: 2, ArgDir: 2}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd_hdr_reserved", TypeSize: 4, ArgDir: 2}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comp_mask", TypeSize: 4, ArgDir: 2}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "log_ind_tbl_size", TypeSize: 4, ArgDir: 2}}, Kind: 2, RangeBegin: 1, RangeEnd: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "log_ind_tbl_size", TypeSize: 4, ArgDir: 2}}, Val: 1}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "wq_handles", TypeSize: 8, ArgDir: 2}, Type: &ResourceType{TypeCommon: TypeCommon{TypeName: "wq_handle", TypeSize: 4, ArgDir: 2}}, Kind: 1, RangeBegin: 2, RangeEnd: 2}, }}}, {Key: StructKey{Name: "create_rwq_ind_table_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "create_rwq_ind_table_resp", TypeSize: 16, ArgDir: 1}, Fields: []Type{ @@ -55864,4 +55864,4 @@ var consts_amd64 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_amd64 = "89f749ff4b65471ffe24c278a8d76a87b4e7a9ce" +const revision_amd64 = "61cefedaffe10e3c08dc9bcfcf85397650bb5877" -- cgit mrf-deployment