Re: [PATCH] regmap: regcache-rbtree: Fixed node range check on sync

2013-06-01 Thread Mark Brown
On Fri, May 31, 2013 at 04:45:13PM +0200, Maarten ter Huurne wrote: > A node starting before the minimum register is no reason to reject it, > since its end could be in range. The check for the end already exists > two lines lower, so we can just remove the incorrect check. Applied, thanks. sign

[PATCH] regmap: regcache-rbtree: Fixed node range check on sync

2013-05-31 Thread Maarten ter Huurne
A node starting before the minimum register is no reason to reject it, since its end could be in range. The check for the end already exists two lines lower, so we can just remove the incorrect check. Signed-off-by: Maarten ter Huurne --- drivers/base/regmap/regcache-rbtree.c |2 -- 1 file c

[PATCH] regmap: regcache-rbtree: Fixed node range check on sync

2013-05-31 Thread Maarten ter Huurne
Hi, This patch fixes what I think is a bug in regcache_rbtree_sync(). It is something I noticed when reading the code, I don't have a test scenario for it. So please review it carefully. Bye, Maarten -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the