Re: [PATCH] rpc_pipefs: Replace one label in bl_resolve_deviceid()

From: Benjamin Coddington
Date: Tue Jan 02 2024 - 07:33:08 EST


On 29 Dec 2023, at 7:45, Markus Elfring wrote:

> From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
> Date: Fri, 29 Dec 2023 13:18:56 +0100
>
> The kfree() function was called in one case by
> the bl_resolve_deviceid() function during error handling
> even if the passed data structure member contained a null pointer.
> This issue was detected by using the Coccinelle software.
>
> Thus use an other label.
>
> Signed-off-by: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>

Reviewed-by: Benjamin Coddington <bcodding@xxxxxxxxxx>

Ben