Re: [PATCH v2] i2c-core: One function call less in acpi_i2c_space_handler() after error detection
From: Wolfram Sang
Date: Sat Dec 26 2015 - 02:49:21 EST
> 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.
Attachment:
signature.asc
Description: PGP signature