On 11/17/21 10:37, Christoph Hellwig wrote: >> + pgmap = devm_kzalloc( >> + dev, struct_size(pgmap, ranges, dev_dax->nr_range - >> 1), >> + GFP_KERNEL); > > Keeping the dev argument on the previous line would not only make this > much more readable but also avoid the overly long line. > Fixed.
- [PATCH v5 0/8] mm, dax: Introduce compound pages in devm... Joao Martins
- [PATCH v5 3/8] mm/page_alloc: refactor memmap_init_... Joao Martins
- [PATCH v5 2/8] mm/page_alloc: split prep_compound_p... Joao Martins
- [PATCH v5 1/8] memory-failure: fetch compound_head ... Joao Martins
- [PATCH v5 4/8] mm/memremap: add ZONE_DEVICE support... Joao Martins
- [PATCH v5 6/8] device-dax: use struct_size() Joao Martins
- Re: [PATCH v5 6/8] device-dax: use struct_size(... Christoph Hellwig
- Re: [PATCH v5 6/8] device-dax: use struct_s... Joao Martins
- [PATCH v5 5/8] device-dax: use ALIGN() for determin... Joao Martins
- [PATCH v5 7/8] device-dax: ensure dev_dax->pgmap... Joao Martins
- Re: [PATCH v5 7/8] device-dax: ensure dev_dax-&... Christoph Hellwig
- Re: [PATCH v5 7/8] device-dax: ensure dev_d... Joao Martins
- [PATCH v5 8/8] device-dax: compound devmap support Joao Martins
- Re: [PATCH v5 8/8] device-dax: compound devmap ... Jason Gunthorpe
- Re: [PATCH v5 8/8] device-dax: compound dev... Joao Martins
- Re: [PATCH v5 8/8] device-dax: compound... Jason Gunthorpe
- Re: [PATCH v5 8/8] device-dax: com... Joao Martins
- Re: [PATCH v5 8/8] device-dax:... Joao Martins
