diff options
author | Eisha Chen-yen-su <chenyensu0@gmail.com> | 2018-02-18 14:27:07 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-02-19 17:57:43 +0100 |
commit | c318bb0835ca7c744892ed5881c04862b771b3cf (patch) | |
tree | a0d8ea0ad960a1aca8357cf4a5cf145428d4ca29 | |
parent | c4ac54079300026120bec3beaf95e3d642a1e771 (diff) |
staging: comedi: Use '"%s:", __func__' instead of function name
Replace an occurrence of the function name in a string by a reference
to __func__, to improve robustness. Problem found with checkpatch.
Signed-off-by: Eisha Chen-yen-su <chenyensu0@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/comedi/drivers/s626.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/comedi/drivers/s626.c b/drivers/staging/comedi/drivers/s626.c index 0b3cfe934e14..ec54dc3e9ad6 100644 --- a/drivers/staging/comedi/drivers/s626.c +++ b/drivers/staging/comedi/drivers/s626.c @@ -1700,7 +1700,7 @@ static int s626_ai_cmd(struct comedi_device *dev, struct comedi_subdevice *s) if (devpriv->ai_cmd_running) { dev_err(dev->class_dev, - "s626_ai_cmd: Another ai_cmd is running\n"); + "%s: Another ai_cmd is running\n", __func__); return -EBUSY; } /* disable interrupt */ |