aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2025-01-16 10:56:21 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-01-16 11:07:27 +0100
commite1cd24af8ff2ad7e26e1711be3d7bd72eef24279 (patch)
treec49c3cd6e934a973ebd892b60ac01235bfeab231 /net/lapb/lapb_timer.c
parentdevcoredump: Constify 'struct bin_attribute' (diff)
downloadwireguard-linux-e1cd24af8ff2ad7e26e1711be3d7bd72eef24279.tar.xz
wireguard-linux-e1cd24af8ff2ad7e26e1711be3d7bd72eef24279.zip
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>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions