projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
072fc8f
)
sysdev: Fixup warning message
author
Borislav Petkov
<borislav.petkov@amd.com>
Tue, 1 Feb 2011 16:19:57 +0000
(17:19 +0100)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Thu, 3 Feb 2011 23:39:17 +0000
(15:39 -0800)
Use gcc's __func__ instead of the function name.
Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/sys.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/base/sys.c
b/drivers/base/sys.c
index 1667aaf4fde683724bf44e0653233dfa348a4362..b094e0d6139fa4f85b56206340d027a5e5a7d8ef 100644
(file)
--- a/
drivers/base/sys.c
+++ b/
drivers/base/sys.c
@@
-181,8
+181,8
@@
int sysdev_driver_register(struct sysdev_class *cls, struct sysdev_driver *drv)
int err = 0;
if (!cls) {
- WARN(1, KERN_WARNING "sysdev: invalid class passed to
"
-
"sysdev_driver_register!\n"
);
+ WARN(1, KERN_WARNING "sysdev: invalid class passed to
%s!\n",
+
__func__
);
return -EINVAL;
}