]> git.baikalelectronics.ru Git - kernel.git/commit
device-dax: remove redundant __func__ in dev_dbg
authorDan Williams <dan.j.williams@intel.com>
Tue, 6 Mar 2018 00:40:05 +0000 (16:40 -0800)
committerDan Williams <dan.j.williams@intel.com>
Tue, 6 Mar 2018 16:50:23 +0000 (08:50 -0800)
commit26b9a2a17cbb4594718366aeb2ddb20eb9b03505
treed26edaf0c6706d62d1a1f106c7e256326a4170f6
parent24a7e5e532df1a13a2d94dcd9a065fe976bfe4a8
device-dax: remove redundant __func__ in dev_dbg

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 dax modules to
do it again. If a user decides to add the +f switch for the dax modules'
dynamic debug this results in double prints of the function name.

Reported-by: Johannes Thumshirn <jthumshirn@suse.de>
Reported-by: Ross Zwisler <ross.zwisler@linux.intel.com>
Reviewed-by: Ross Zwisler <ross.zwisler@linux.intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/dax/device.c
drivers/dax/pmem.c