Re: [PATCH] ptp: chardev: Fix confusing cleanup.h syntax

From: Jakub Kicinski

Date: Tue Dec 09 2025 - 02:53:40 EST


On Mon, 8 Dec 2025 03:08:20 +0100 Krzysztof Kozlowski wrote:
> Code does not have a bug, but is less readable and uses discouraged
> coding practice, so fix that by moving declaration to the place of
> assignment.

I disagree, you're making this code look much worse.
Also, kfree() handles error pointers now?
--
pw-bot: reject