Re: [PATCH 2/2] i2c-parport: start using pr_fmt

From: Wolfram Sang
Date: Thu Jul 09 2015 - 16:05:05 EST


On Thu, Jun 18, 2015 at 06:33:47PM +0530, Sudip Mukherjee wrote:
> Start using pr_fmt and convert all remaining printk to use
> pr_* family of macros.
>
> Signed-off-by: Sudip Mukherjee <sudip@xxxxxxxxxxxxxxx>

Applied to for-next, thanks!

One modification:

> adapter = kzalloc(sizeof(struct i2c_par), GFP_KERNEL);
> if (adapter == NULL) {
> - printk(KERN_ERR "i2c-parport: Failed to kzalloc\n");
> + pr_err("Failed to kzalloc\n");

I removed this printout, since we get a dump in this case anyhow.

Attachment: signature.asc
Description: Digital signature