]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: Use '"%s:", __func__' instead of function name
authorEisha Chen-yen-su <chenyensu0@gmail.com>
Tue, 20 Feb 2018 09:05:25 +0000 (10:05 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 22 Feb 2018 13:53:05 +0000 (14:53 +0100)
commit23fe9631747bb6e7fcc95da65f68be999d7f12ef
tree309e1cd9b94b78f8e320c77926fdce77bfeb9a3f
parent810f302e853e61e597227edde07e0250b2840f9a
staging: comedi: Use '"%s:", __func__' instead of function name

Replace all occurrences of functions' names in strings by a reference
to __func__, to improve robustness. Problem found with checkpatch.

Signed-off-by: Eisha Chen-yen-su <chenyensu0@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/ni_mio_common.c
drivers/staging/comedi/drivers/quatech_daqp_cs.c