Huang Shijie 5de1cb2d0f kernel/resource.c: handle reinsertion of an already-inserted resource
If the same resource is inserted to the resource tree (maybe not on
purpose), a dead loop will be created.  In this situation, The kernel does
not report any warning or error :(

  The command below will show a endless print.
  #cat /proc/iomem

[akpm@linux-foundation.org: add WARN_ON()]
Signed-off-by: Huang Shijie <shijie8@gmail.com>
Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
Cc: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-10-27 18:03:18 -07:00
..
2010-09-09 20:48:37 +02:00
2010-08-09 16:48:42 -04:00
2010-07-14 11:29:46 +02:00
2010-07-28 09:58:19 -04:00
2010-08-11 00:28:20 -04:00
2009-09-18 09:48:52 -07:00
2010-10-25 21:26:11 -04:00
2010-10-01 10:50:58 -07:00
2010-06-29 10:07:09 +02:00
2010-10-18 18:44:26 +02:00
2010-08-11 23:04:20 +09:30
2010-08-19 17:18:02 -07:00
2010-08-20 08:55:00 -07:00
2010-10-27 18:03:17 -07:00
2010-07-27 12:40:54 +02:00
2009-09-23 18:13:10 -07:00
2009-06-18 13:03:55 -07:00
2010-10-26 16:52:14 -07:00