Re: [PATCH] Fix the cleanup on alloc_mpc failure in atm_mpoa_mpoad_attach

From: Jakub Kicinski
Date: Wed Sep 24 2025 - 19:45:59 EST


On Wed, 24 Sep 2025 19:44:51 +0100 Simon Horman wrote:
> The preferred coding style is:
>
> if (mpc == NULL) {

Or better still:

if (!mpc)

we tend to avoid comparisons to zero and NULL.