Re: [PATCH 1/4] rust: drm: gem: Use NonNull for Object::dev

2025-05-12 Thread Danilo Krummrich
On Thu, May 01, 2025 at 02:33:16PM -0400, Lyude Paul wrote: > There is usually not much of a reason to use a raw pointer in a data > struct, so move this to NonNull instead. > > Signed-off-by: Lyude Paul Reviewed-by: Danilo Krummrich

Re: [PATCH 1/4] rust: drm: gem: Use NonNull for Object::dev

2025-05-09 Thread Daniel Almeida
Hi Lyude, > On 1 May 2025, at 15:33, Lyude Paul wrote: > > There is usually not much of a reason to use a raw pointer in a data > struct, so move this to NonNull instead. > > Signed-off-by: Lyude Paul > --- > rust/kernel/drm/gem/mod.rs | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(