[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20151226074859.GA905@tetsubishi>
Date: Sat, 26 Dec 2015 08:48:59 +0100
From: Wolfram Sang <wsa@...-dreams.de>
To: SF Markus Elfring <elfring@...rs.sourceforge.net>
Cc: linux-i2c@...r.kernel.org, kbuild-all@...org,
LKML <linux-kernel@...r.kernel.org>,
kernel-janitors@...r.kernel.org,
Julia Lawall <julia.lawall@...6.fr>
Subject: Re: [PATCH v2] i2c-core: One function call less in
acpi_i2c_space_handler() after error detection
> The kfree() function was called in one case by the
> acpi_i2c_space_handler() function during error handling
> even if the passed variable "client" contained a null pointer.
This is OK. kfree() is known to be NULL-tolerant and we rely on it in
various places to keep the code simpler.
Download attachment "signature.asc" of type "application/pgp-signature" (820 bytes)
Powered by blists - more mailing lists