Re: [PATCH v2 1/8] thermal: Add Remote Proc cooling driver

From: Krzysztof Kozlowski

Date: Wed Jan 28 2026 - 06:41:45 EST


On Tue, Jan 27, 2026 at 09:27:15PM +0530, Gaurav Kohli wrote:
> + if (!name || !ops)
> + return ERR_PTR(-EINVAL);
> +
> + rproc_cdev = kzalloc(sizeof(*rproc_cdev), GFP_KERNEL);
> + if (!rproc_cdev)
> + return ERR_PTR(-ENOMEM);
> +
> + rproc_cdev->ops = ops;
> + rproc_cdev->devdata = devdata;
> + mutex_init(&rproc_cdev->lock);
> +
> + char *rproc_name __free(kfree) =
> + kasprintf(GFP_KERNEL, REMOTEPROC_PREFIX "%s", name);

Ah, you keep ignoring review and sending the same buggy code.

There is no point to spend any time here. It's also fastest way to get
your future contributions ignored or NAKed.

Well, ignoring review is obviously:
NAK

Best regards,
Krzysztof