Re: [RFC v2.1 07/12] powerpc: Use initializer for struct vm_unmapped_area_info

2024-03-05 Thread Edgecombe, Rick P
On Tue, 2024-03-05 at 11:51 +1100, Michael Ellerman wrote: > I gave it a quick boot test, all good. > > Acked-by: Michael Ellerman (powerpc) Thanks! Christophe was advocating for slight spin on this (not doing the member initializing in the declaration, but dropping the assignments that set 0):

Re: [RFC v2.1 07/12] powerpc: Use initializer for struct vm_unmapped_area_info

2024-03-04 Thread Michael Ellerman
Rick Edgecombe writes: > Future changes will need to add a new member to struct > vm_unmapped_area_info. This would cause trouble for any call site that > doesn't initialize the struct. Currently every caller sets each field > manually, so if new fields are added they will be unitialized and the c

[RFC v2.1 07/12] powerpc: Use initializer for struct vm_unmapped_area_info

2024-03-01 Thread Rick Edgecombe
Future changes will need to add a new member to struct vm_unmapped_area_info. This would cause trouble for any call site that doesn't initialize the struct. Currently every caller sets each field manually, so if new fields are added they will be unitialized and the core code parsing the struct will