Files
linux/rust/kernel
Viresh Kumar e1cd24af8f rust: device: Replace CString with CStr in property_present()
The property_present() method expects a &CString currently and will work
only with heap allocated C strings.

In order to make it work with compile-time string constants too, change
the argument type to &CStr.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Alice Ryhl <aliceryhl@google.com>
Link: https://lore.kernel.org/r/e97dcbe0418cc1053fb4bcfac65cc02a0afcdf78.1737005078.git.viresh.kumar@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-01-16 11:07:27 +01:00
..
2024-12-17 09:20:07 +01:00
2024-12-20 17:19:26 +01:00
2023-05-31 17:35:03 +02:00
2024-09-30 13:02:29 +02:00
2024-11-10 23:58:00 +01:00
2024-11-10 23:58:00 +01:00
2024-12-20 17:19:26 +01:00
2024-12-20 17:21:04 +01:00
2024-10-08 15:44:36 +02:00
2024-12-20 17:19:26 +01:00
2024-10-08 14:32:39 +02:00
2024-11-10 23:58:00 +01:00
2024-12-20 17:19:26 +01:00
2024-11-26 17:54:58 -08:00
2024-11-10 23:58:00 +01:00
2024-11-04 16:21:44 -05:00
2024-12-20 17:19:26 +01:00
2024-11-10 23:58:00 +01:00