forked from MIrrors/gasket-driver
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:
committed by
Alex Van Damme
parent
dbd32599d2
commit
b27f5c2e98
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user