Re: [PATCH] libnvdimm: remove redundant __func__ in dev_dbg

2018-03-08 Thread Johannes Thumshirn
On Tue, Mar 06, 2018 at 08:59:11AM -0800, Dan Williams wrote: > >> diff --git a/drivers/nvdimm/badrange.c b/drivers/nvdimm/badrange.c > >> index e068d72b4357..df17f1cd696d 100644 > >> --- a/drivers/nvdimm/badrange.c > >> +++ b/drivers/nvdimm/badrange.c > >> @@ -176,8 +176,7 @@ static void

Re: [PATCH] libnvdimm: remove redundant __func__ in dev_dbg

2018-03-06 Thread Ross Zwisler
On Tue, Mar 06, 2018 at 08:59:11AM -0800, Dan Williams wrote: > On Mon, Mar 5, 2018 at 7:54 PM, Ross Zwisler > wrote: > > On Mon, Mar 05, 2018 at 05:09:21PM -0800, Dan Williams wrote: > >> Dynamic debug can be instructed to add the function name to the debug > >>

Re: [PATCH] libnvdimm: remove redundant __func__ in dev_dbg

2018-03-06 Thread Dan Williams
On Mon, Mar 5, 2018 at 7:54 PM, Ross Zwisler wrote: > On Mon, Mar 05, 2018 at 05:09:21PM -0800, Dan Williams wrote: >> Dynamic debug can be instructed to add the function name to the debug >> output using the +f switch, so there is no need for the libnvdimm >>

Re: [PATCH] libnvdimm: remove redundant __func__ in dev_dbg

2018-03-05 Thread Ross Zwisler
On Mon, Mar 05, 2018 at 05:09:21PM -0800, Dan Williams wrote: > Dynamic debug can be instructed to add the function name to the debug > output using the +f switch, so there is no need for the libnvdimm > modules to do it again. If a user decides to add the +f switch for > libnvdimm's dynamic debug