[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <df72e6dc-5d4a-4101-9366-24a9166ec9ba@web.de>
Date: Fri, 29 Dec 2023 10:00:28 +0100
From: Markus Elfring <Markus.Elfring@....de>
To: Dmitry Torokhov <dmitry.torokhov@...il.com>, linux-input@...r.kernel.org
Cc: kernel-janitors@...r.kernel.org, Henrik Rydberg <rydberg@...math.org>,
LKML <linux-kernel@...r.kernel.org>, cocci@...ia.fr
Subject: Re: Input: MT - Return directly after a failed kzalloc() in
input_mt_init_slots()
>> Thus return directly after a call of the function “kzalloc” failed
>> at the beginning.
>
> This is not needed. The same arguments as on the patch to
> usbtouchscreen.c.
I suggest to avoid redundant data processing a bit more.
Regards,
Markus
Powered by blists - more mailing lists