Re: [PATCH v2] i2c-core: One function call less in acpi_i2c_space_handler() after error detection

Wolfram Sang
2015-12-26T07:49:09Z

[-- Attachment #1: Type: text/plain, Size: 289 bytes --]

> 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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]