staging: gasket: Use __func__ instead of hardcoded string - Style

Changed logging statements to use %s and __func__ instead of hard coding
the function name in a string.

Signed-off-by: Felix Siegel <felix.siegel@posteo.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Felix Siegel
2018-07-13 00:58:49 +02:00
committed by Alex Van Damme
parent dbd32599d2
commit b27f5c2e98
4 changed files with 19 additions and 12 deletions

View File

@@ -178,7 +178,8 @@ static uint gasket_ioctl_check_permissions(struct file *filp, uint cmd)
alive = (gasket_dev->status == GASKET_STATUS_ALIVE);
if (!alive) {
gasket_nodev_error(
"gasket_ioctl_check_permissions alive %d status %d.",
"%s alive %d status %d.",
__func__,
alive, gasket_dev->status);
}