[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <25ecfd6e-5dc8-a8d1-fe22-5de49136c956@web.de>
Date: Fri, 5 Apr 2019 10:50:33 +0200
From: Markus Elfring <Markus.Elfring@....de>
To: Wen Yang <wen.yang99@....com.cn>, linuxppc-dev@...ts.ozlabs.org,
kernel-janitors@...r.kernel.org
Cc: linux-kernel@...r.kernel.org,
Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Michael Ellerman <mpe@...erman.id.au>,
Paul Mackerras <paulus@...ba.org>,
Yi Wang <wang.yi59@....com.cn>
Subject: Re: [1/5] powerpc/sparse: fix possible object reference leak
> @@ -131,7 +131,7 @@ static int drc_index_to_cpu(u32 drc_index)
>
> of_read_drc_info_cell(&info, &value, &drc);
> if (strncmp(drc.drc_type, "CPU", 3))
> - goto err;
> + goto err_of_node_put;
>
> if (drc_index > drc.last_drc_index) {
Can the jump label “put_node” be nicer here?
Regards,
Markus
Powered by blists - more mailing lists