aboutsummaryrefslogtreecommitdiff
path: root/drivers/char
diff options
context:
space:
mode:
authorOGAWA Hirofumi <hirofumi@mail.parknet.co.jp>2008-05-07 04:02:53 +0900
committerLinus Torvalds <torvalds@linux-foundation.org>2008-05-06 13:22:42 -0700
commitdb176c6ed8974fae94328ad5ac9e70b094ff22fd (patch)
tree652fea0622632fc91e7e6f0162aa754e03d6bba1 /drivers/char
parent6ce07c7b61e74af35a05060a2d6341f68fd92c9e (diff)
Fix bogus warning in sysdev_driver_register()
if ((drv->entry.next != drv->entry.prev) || (drv->entry.next != NULL)) { warns list_empty(&drv->entry). Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> Cc: Greg KH <gregkh@suse.de> Cc: Len Brown <lenb@kernel.org> [ Version 2 totally redone based on suggestions from Linus & Greg ] Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/char')
0 files changed, 0 insertions, 0 deletions