Re: [PATCH v1] tty: n_tty: use kvzalloc/kvfree for line discipline data
Greg KH <[email protected]>
| Newsgroups | org.kernel.vger.linux-serial,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <2026081744-vision-coherent-8b62@gregkh> |
On Mon, Aug 17, 2026 at 09:55:26PM +0800, Xin Chen wrote: > Note: checkpatch warns "Prefer kvzalloc_obj over kvzalloc with > sizeof", but kvzalloc_obj() was introduced after v6.6 and is not > available in the target kernel, so kvzalloc(sizeof(*ldata), > GFP_KERNEL) is used intentionally. What do you mean "target kernel"? This is for 7.3-final, right? confused, greg k-h