Thread (31 messages) 31 messages, 5 authors, 2022-08-29

Re: [PATCH v12 02/10] btf: Handle dynamic pointer parameter in kfuncs

From: Alexei Starovoitov <hidden>
Date: 2022-08-26 05:16:35
Also in: bpf, keyrings, linux-kselftest, linux-security-module, lkml

On Thu, Aug 25, 2022 at 9:54 PM Jarkko Sakkinen [off-list ref] wrote:
quoted
-static bool is_dynptr_reg_valid_init(struct bpf_verifier_env *env, struct bpf_reg_state *reg,
-                                  enum bpf_arg_type arg_type)
+bool is_dynptr_reg_valid_init(struct bpf_verifier_env *env, struct bpf_reg_state *reg,
+                           enum bpf_arg_type arg_type)
 {
      struct bpf_func_state *state = func(env, reg);
      int spi = get_spi(reg->off);
--
2.25.1
Might be niticking but generally I'd consider splitting
exports as commits of their own.
-static bool
+bool

into a separate commit?

I guess it makes sense for people whose salary depends on
number of commits.
We don't play these games.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help