Re: [PATCH] nvme: target: use struct_size() in kmalloc()
From:
Christoph Hellwig
Date:
Tue May 21 2019 - 02:56:39 EST
Next message:
Yang Shi: "Re: [v2 PATCH] mm: vmscan: correct nr_reclaimed for THP"
Previous message:
Christophe Leroy: "Re: [PATCH] powerpc/mm: mark more tlb functions as __always_inline"
In reply to:
Gustavo A. R. Silva: "Re: [PATCH] nvme: target: use struct_size() in kmalloc()"
Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Looks ok to me, although for a fixed size argument the whole overflow
detection thing in struct_size() is rather pointless..
Next message:
Yang Shi: "Re: [v2 PATCH] mm: vmscan: correct nr_reclaimed for THP"
Previous message:
Christophe Leroy: "Re: [PATCH] powerpc/mm: mark more tlb functions as __always_inline"
In reply to:
Gustavo A. R. Silva: "Re: [PATCH] nvme: target: use struct_size() in kmalloc()"
Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]