On 18-10-25, 18:03, Alice Ryhl wrote:
> From: Tamir Duberstein <[email protected]>
> 
> Replace the use of `as_ptr` which works through `<CStr as
> Deref<Target=&[u8]>::deref()` in preparation for replacing
> `kernel::str::CStr` with `core::ffi::CStr` as the latter does not
> implement `Deref<Target=&[u8]>`.
> 
> Signed-off-by: Tamir Duberstein <[email protected]>
> Signed-off-by: Alice Ryhl <[email protected]>
> ---
>  rust/kernel/clk.rs | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Acked-by: Viresh Kumar <[email protected]>

-- 
viresh

Reply via email to