summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2009-07-29 23:29:08 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2009-07-29 23:29:08 +0400
commitccf5675a82a72bc1599b9b29cf33f7e391658485 (patch)
tree9a049faa35cdf3eee14005402d03ae3201b2d5fe /lib
parentb7ebbb77f183061eb34dd210372d016c04371c26 (diff)
parenta39ea210ec8c8f6ed381f8dafbe755c57b8f30c3 (diff)
downloadlinux-ccf5675a82a72bc1599b9b29cf33f7e391658485.tar.xz
Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core-2.6: driver core: documentation: make it clear that sysfs is optional driver core: sysdev: do not send KOBJ_ADD uevent if kobject_init_and_add fails Dynamic debug: fix typo: -/-> driver core: firmware_class:fix memory leak of page pointers array sysfs: fix hardlink count on device_move
Diffstat (limited to 'lib')
-rw-r--r--lib/dynamic_debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dynamic_debug.c b/lib/dynamic_debug.c
index 833139ce1e22..e22c148e4b7f 100644
--- a/lib/dynamic_debug.c
+++ b/lib/dynamic_debug.c
@@ -164,7 +164,7 @@ static void ddebug_change(const struct ddebug_query *query,
if (!newflags)
dt->num_enabled--;
- else if (!dp-flags)
+ else if (!dp->flags)
dt->num_enabled++;
dp->flags = newflags;
if (newflags) {