Re: [Xen-devel] [PATCH] xen-scsiback: use DRV_PFX in the pr macros

2015-03-03 Thread David Vrabel
On 03/03/15 08:37, Tao Chen wrote: > Replace the string of {xen-pvscsi:} in the pr sentences with DRV_PFX, > it makes the code easier to read. You need to #define pr_fmt(fmt) to add a prefix like this. > struct ids_tuple v; /* translate from */ > - struct scsiback_tpg *tpg;

Re: [Xen-devel] [PATCH] xen-scsiback: use DRV_PFX in the pr macros

2015-03-03 Thread David Vrabel
On 03/03/15 08:37, Tao Chen wrote: Replace the string of {xen-pvscsi:} in the pr sentences with DRV_PFX, it makes the code easier to read. You need to #define pr_fmt(fmt) to add a prefix like this. struct ids_tuple v; /* translate from */ - struct scsiback_tpg *tpg;