summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2012-04-04 23:48:33 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-04-05 00:22:15 +0200
commitc04c1b9ee8f30c7a3a25e20e406247003f634ebe (patch)
treec8f1de34051bce402ee5be5d6dfadc4bc7e47ae1 /security
parentregmap: Export regcache_sync_region() (diff)
downloadlinux-c04c1b9ee8f30c7a3a25e20e406247003f634ebe.tar.xz
linux-c04c1b9ee8f30c7a3a25e20e406247003f634ebe.zip
regmap: prevent division by zero in rbtree_show
If there are no nodes in the cache, nodes will be 0, so calculating "registers / nodes" will cause division by zero. Signed-off-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Cc: stable@vger.kernel.org
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions