Skip to content
Commit 77387b82 authored by Tao Chen's avatar Tao Chen Committed by Konrad Rzeszutek Wilk
Browse files

xen-blkback: define pr_fmt macro to avoid the duplication of DRV_PFX



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.

These all make the readability of the code become better.

Signed-off-by: default avatarTao Chen <boby.chen@huawei.com>
Signed-off-by: default avatarKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Acked-by: default avatarRoger Pau Monné <roger.pau@citrix.com>
parent 1375590d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment