Re: [tpmdd-devel] [PATCH v4 6/8] tpm: remove printk error messages

2016-10-12 Thread Nayna
On 10/10/2016 04:52 AM, Jason Gunthorpe wrote: > On Sun, Oct 09, 2016 at 07:25:30AM +0530, Nayna wrote: > >>> diff --git a/drivers/char/tpm/tpm_of.c b/drivers/char/tpm/tpm_of.c >>> index 22b8f81..1464cae 100644 >>> +++ b/drivers/char/tpm/tpm_of.c >>> @@ -31,40 +31,34 @@ int read_log_of(struct

[tpmdd-devel] [PATCH v4 6/8] tpm: remove printk error messages

2016-09-28 Thread Nayna Jain
This patch removes the unnecessary messages for failure to allocate memory. It also replaces pr_err/printk with dev_dbg. Suggested-by: Jason Gunthorpe Signed-off-by: Nayna Jain --- drivers/char/tpm/tpm_acpi.c | 17 +