diff options
author | Matthew Wilcox <matthew@wil.cx> | 2006-06-30 02:31:24 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-09-26 17:43:52 -0700 |
commit | d33b6fba2c4350651f3f61ff2ab858a2f116e9a4 (patch) | |
tree | fa4fa45fd6cc3bf177e13c2e9544b3e8134e1456 /drivers | |
parent | b278240839e20fa9384ea430df463b367b90e04e (diff) | |
download | linux-stable-d33b6fba2c4350651f3f61ff2ab858a2f116e9a4.tar.gz linux-stable-d33b6fba2c4350651f3f61ff2ab858a2f116e9a4.tar.bz2 linux-stable-d33b6fba2c4350651f3f61ff2ab858a2f116e9a4.zip |
Resources: insert identical resources above existing resources
If you have two resources which aree exactly the same size,
insert_resource() currently inserts the new one below the existing one.
This is wrong because there's no way to insert a resource of the same size
above an existing one.
I took this opportunity to rewrite the initial loop to be a for-loop
instead of a goto-loop and fix the documentation.
Signed-off-by: Matthew Wilcox <matthew@wil.cx>
Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Cc: Dominik Brodowski <linux@dominikbrodowski.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions