Skip to content

Commit 5c7f436

Browse files
Fix C code formatting (#1750)
1 parent 5c214d4 commit 5c7f436

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

bpf/bpf_dbg.h

+3-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,9 @@ enum bpf_func_id___x { BPF_FUNC_snprintf___x = 42 /* avoid zero */ };
7272
bpf_dbg_helper(fmt, ##args); \
7373
}
7474
#define bpf_d_printk(fmt, args...) \
75-
{ bpf_printk(fmt, ##args); }
75+
{ \
76+
bpf_printk(fmt, ##args); \
77+
}
7678
#else
7779
#define bpf_dbg_printk(fmt, args...)
7880
#define bpf_d_printk(fmt, args...)

bpf/headers/vmlinux_amd64.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -40508,7 +40508,7 @@ struct filter_pred {
4050840508
short unsigned int *ops;
4050940509
struct ftrace_event_field *field;
4051040510
int offset;
40511-
int not ;
40511+
int not;
4051240512
int op;
4051340513
};
4051440514

@@ -52942,7 +52942,7 @@ struct io_kiocb {
5294252942
struct io_mkdir mkdir;
5294352943
struct io_symlink symlink;
5294452944
struct io_hardlink hardlink;
52945-
struct io_completion compl ;
52945+
struct io_completion compl;
5294652946
};
5294752947
void *async_data;
5294852948
u8 opcode;

bpf/headers/vmlinux_arm64.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -30092,7 +30092,7 @@ struct filter_pred {
3009230092
short unsigned int *ops;
3009330093
struct ftrace_event_field *field;
3009430094
int offset;
30095-
int not ;
30095+
int not;
3009630096
int op;
3009730097
};
3009830098

@@ -65262,7 +65262,7 @@ struct io_kiocb {
6526265262
struct io_mkdir mkdir;
6526365263
struct io_symlink symlink;
6526465264
struct io_hardlink hardlink;
65265-
struct io_completion compl ;
65265+
struct io_completion compl;
6526665266
};
6526765267
void *async_data;
6526865268
u8 opcode;

0 commit comments

Comments
 (0)