Messages in this thread | | | Date | Tue, 26 Jun 2012 21:23:05 -0700 (PDT) | From | David Rientjes <> | Subject | Re: [PATCH 5/8] don't print message if request_resource() failed |
| |
On Tue, 26 Jun 2012, Wen Congyang wrote:
> If register_memory_resource() fails, the caller(add_memory()) will > return -EEXIST, and add_memory() returns -EEXIST only when > register_memory_resource() fails. The function acpi_memory_enable_device() > doesn't treat such erro as a fetal error, and don't want this message. > The function that calls add_memory() has printed message if add_memory() > failed, so don't print message in register_memory_resource(). >
That may be true for acpi_memory_enable_device(), but have you checked other callers to add_memory()?
| |