[GIT PULL] regmap fix for v4.2
From: Mark Brown
Date: Wed Aug 12 2015 - 08:27:50 EST
The following changes since commit d770e558e21961ad6cfdf0ff7df0eb5d7d4f0754:
Linux 4.2-rc1 (2015-07-05 11:01:52 -0700)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git tags/regmap-fix-v4.2-rc6
for you to fetch changes up to 8ef9724bf9718af81cfc5132253372f79c71b7e2:
regmap: regcache-rbtree: Clean new present bits on present bitmap resize (2015-07-29 15:10:13 +0100)
----------------------------------------------------------------
regmap: Fix handling of present bits on rbtree cache block resize
When expanding a cache block we use krealloc() to resize the register
present bitmap without initialising the newly allocated data (the
original code was written for kzalloc()). Add an appropraite memset()
to fix that.
----------------------------------------------------------------
Guenter Roeck (1):
regmap: regcache-rbtree: Clean new present bits on present bitmap resize
drivers/base/regmap/regcache-rbtree.c | 19 ++++++++++++++-----
1 file changed, 14 insertions(+), 5 deletions(-)
Attachment:
signature.asc
Description: Digital signature