aboutsummaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorPaul Chaignon <paul.chaignon@orange.com>2019-10-25 11:39:12 +0200
committerDmitry Vyukov <dvyukov@google.com>2019-10-25 18:16:59 +0200
commit618d98cd48f3ce4b19e9f266e62cf0cd402a13fd (patch)
tree35bbb3b73fa11a4385fe39bc08cb8a63f2941da5 /sys
parent018e59bad08fd11109c322f43c122450aee190bd (diff)
sys/linux: fix int should be const in InfiniBand description
Diffstat (limited to 'sys')
-rw-r--r--sys/linux/dev_infiniband_rdma.txt2
-rw-r--r--sys/linux/gen/386.go4
-rw-r--r--sys/linux/gen/amd64.go4
-rw-r--r--sys/linux/gen/arm.go4
-rw-r--r--sys/linux/gen/arm64.go4
-rw-r--r--sys/linux/gen/ppc64le.go4
6 files changed, 11 insertions, 11 deletions
diff --git a/sys/linux/dev_infiniband_rdma.txt b/sys/linux/dev_infiniband_rdma.txt
index 6dd96d766..38857a5c5 100644
--- a/sys/linux/dev_infiniband_rdma.txt
+++ b/sys/linux/dev_infiniband_rdma.txt
@@ -872,7 +872,7 @@ create_rwq_ind_table_cmd {
provider_out_words const[0x0, int16]
cmd_hdr_reserved const[0x0, int32]
comp_mask const[0x0, int32]
- log_ind_tbl_size int32[1]
+ log_ind_tbl_size const[0x1, int32]
wq_handles array[wq_handle, 2]
}
diff --git a/sys/linux/gen/386.go b/sys/linux/gen/386.go
index 5f2c3f71c..e8001c366 100644
--- a/sys/linux/gen/386.go
+++ b/sys/linux/gen/386.go
@@ -2494,7 +2494,7 @@ var structDescs_386 = []*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{
@@ -55311,4 +55311,4 @@ var consts_386 = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_386 = "f8497be4858df68263de8a8392658799673de1ce"
+const revision_386 = "07d86c3f647f9f23764e76ca3b6358da485b0edf"
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"
diff --git a/sys/linux/gen/arm.go b/sys/linux/gen/arm.go
index 3cea2ec71..09fb7f93d 100644
--- a/sys/linux/gen/arm.go
+++ b/sys/linux/gen/arm.go
@@ -2494,7 +2494,7 @@ var structDescs_arm = []*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{
@@ -54888,4 +54888,4 @@ var consts_arm = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_arm = "c4d4d6b1fe5360da928205e08b8dfa6f5cc09e25"
+const revision_arm = "008d84593d74a8baa23360409ccf2f4e8d3ccb88"
diff --git a/sys/linux/gen/arm64.go b/sys/linux/gen/arm64.go
index 782374aa8..da74d6900 100644
--- a/sys/linux/gen/arm64.go
+++ b/sys/linux/gen/arm64.go
@@ -2505,7 +2505,7 @@ var structDescs_arm64 = []*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{
@@ -55216,4 +55216,4 @@ var consts_arm64 = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_arm64 = "6a03eb9a94f27effa9df05bafd73335bf86497a4"
+const revision_arm64 = "7af507d1c0859392a0b22965950b9036e835c058"
diff --git a/sys/linux/gen/ppc64le.go b/sys/linux/gen/ppc64le.go
index 18728c3f6..cd975d7e9 100644
--- a/sys/linux/gen/ppc64le.go
+++ b/sys/linux/gen/ppc64le.go
@@ -2504,7 +2504,7 @@ var structDescs_ppc64le = []*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{
@@ -55181,4 +55181,4 @@ var consts_ppc64le = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_ppc64le = "86f79785ac857fa1ea459582613469dd1c17b686"
+const revision_ppc64le = "4b60aa3d6a89c24150c24d466057ea8e974cc9ac"