diff options
author | Felix Siegel <felix.siegel@posteo.de> | 2018-07-13 00:58:49 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-07-13 10:34:39 +0200 |
commit | 948fd537bd3d6f347ff1c87b82479873d1fcc77f (patch) | |
tree | 4b9a2c9d18b35592be4a99ccabab1781a0e8540d /drivers/staging/gasket/gasket_ioctl.c | |
parent | 792b260dafc33261444ca7d55bff30cf5e86a304 (diff) |
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>
Diffstat (limited to 'drivers/staging/gasket/gasket_ioctl.c')
-rw-r--r-- | drivers/staging/gasket/gasket_ioctl.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/gasket/gasket_ioctl.c b/drivers/staging/gasket/gasket_ioctl.c index 3c54542610f7..0c2f85cf5448 100644 --- a/drivers/staging/gasket/gasket_ioctl.c +++ b/drivers/staging/gasket/gasket_ioctl.c @@ -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); } |