Re: [PATCH 2/3] megaraid_sas: Convert printk to printk_

2015-10-27 Thread Joe Perches
On Tue, 2015-10-27 at 16:26 +0800, Weidong Wang wrote: > Reduce object size a little by using pr_ > calls instead of printk(KERN_. pr_debug does not behave the same as printk(KERN_DEBUG pr_debug is only active when DEBUG is #defined or dynamic_debug is enabled. printk(KERN_DEBUG is always emitte

Re: [PATCH 2/3] megaraid_sas: Convert printk to printk_

2015-10-27 Thread Johannes Thumshirn
On Tue, 2015-10-27 at 16:26 +0800, Weidong Wang wrote: > Reduce object size a little by using pr_ > calls instead of printk(KERN_. > > Signed-off-by: Weidong Wang > --- >  drivers/scsi/megaraid/megaraid_sas_base.c | 14 +++--- >  1 file changed, 7 insertions(+), 7 deletions(-) > > diff --

[PATCH 2/3] megaraid_sas: Convert printk to printk_

2015-10-27 Thread Weidong Wang
Reduce object size a little by using pr_ calls instead of printk(KERN_. Signed-off-by: Weidong Wang --- drivers/scsi/megaraid/megaraid_sas_base.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/scsi/megaraid/megaraid_sas_base.c b/drivers/scsi/megaraid/