提交 e4f857f7 编写于 作者: B Bryan Garza 提交者: Greg Kroah-Hartman

Staging: comedi: comedi_fops: fix dev_err() warning style

Changed dev_err() call to use function name constant instead of hardcoded
string. Issue found by checkpatch.
Signed-off-by: NBryan Garza <bry@riseup.net>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 737aed94
...@@ -745,7 +745,7 @@ static void do_become_nonbusy(struct comedi_device *dev, ...@@ -745,7 +745,7 @@ static void do_become_nonbusy(struct comedi_device *dev,
wake_up_interruptible_all(&async->wait_head); wake_up_interruptible_all(&async->wait_head);
} else { } else {
dev_err(dev->class_dev, dev_err(dev->class_dev,
"BUG: (?) do_become_nonbusy called with async=NULL\n"); "BUG: (?) %s called with async=NULL\n", __func__);
s->busy = NULL; s->busy = NULL;
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册