Re: [PATCH v2] xen-blkback: define pr_fmt macro to avoid the duplication of DRV_PFX

From: Roger Pau Monné
Date: Thu Apr 02 2015 - 07:45:55 EST


El 02/04/15 a les 3.32, Chentao (Boby) ha escrit:
>
>
> On 2015/4/1 23:04, Tao Chen wrote:
>> Define pr_fmt macro with {xen-blkback: } prefix, then remove all use
>> of DRV_PFX in the pr sentences. Replace all DPRINTK with pr sentences,
>> and get rid of DPRINTK macro. It will simplify the code.
>>
>> And if the pr sentences miss a \n, add it in the end. If the DPRINTK
>> sentences have redundant \n, remove it. It will format the code.
>>
>
> I'm sorry, I made a mistake in this patch log. It must be changed as below.
>
> And if the pr sentences miss a \n, add it in the end. It will format the
> code.
>
> I apologize for the disturb of wrong patch log. Very looking forward
> to your reply.
>
>> These all make the readability of the code become better.
>>
>> Signed-off-by: Tao Chen <boby.chen@xxxxxxxxxx>

Thanks, with the commit message amended:

Acked-by: Roger Pau Monné <roger.pau@xxxxxxxxxx>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/