Re: [PATCH v5 11/11] clk: Add KUnit tests for clks registered with struct clk_parent_data
From: Stephen Boyd
Date: Tue Jul 02 2024 - 18:34:20 EST
Quoting Stephen Boyd (2024-07-02 15:25:47)
> Quoting David Gow (2024-06-13 00:56:08)
> >
> > We should use an action wrapper here (KUNIT_DEFINE_ACTION_WRAPPER()),
> > as casting function pointers to kunit_action_t* breaks control-flow
> > integrity.
>
> Got it, thanks. Maybe there should be an of_node_put_kunit_exit() helper that
> does that and can be used anywhere.
>
Heh I already have that with of_node_put_kunit(). I could add exit to it
for clarity? I don't really care either way.