Thread (16 messages) 16 messages, 3 authors, 2024-06-26

Re: [PATCH v2 2/7] error-injection: support static keys around injectable functions

From: Steven Rostedt <rostedt@goodmis.org>
Date: 2024-06-25 14:41:41
Also in: bpf, linux-mm, lkml

On Thu, 20 Jun 2024 00:48:56 +0200
Vlastimil Babka [off-list ref] wrote:
quoted hunk ↗ jump to hunk
@@ -86,6 +104,7 @@ static void populate_error_injection_list(struct error_injection_entry *start,
 		ent->start_addr = entry;
 		ent->end_addr = entry + size;
 		ent->etype = iter->etype;
+		ent->key = (struct static_key *) iter->static_key_addr;
Nit, should there be a space between the typecast and the "iter"?
 		ent->priv = priv;
 		INIT_LIST_HEAD(&ent->list);
 		list_add_tail(&ent->list, &error_injection_list);
Reviewed-by: Steven Rostedt (Google) <rostedt@goodmis.org>

-- Steve
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help