aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dma-debug.c
diff options
context:
space:
mode:
authorStephen Warren <[email protected]>2012-04-04 21:48:33 +0000
committerMark Brown <[email protected]>2012-04-04 22:22:15 +0000
commitc04c1b9ee8f30c7a3a25e20e406247003f634ebe (patch)
treec8f1de34051bce402ee5be5d6dfadc4bc7e47ae1 /lib/dma-debug.c
parentregmap: Export regcache_sync_region() (diff)
downloadkernel-c04c1b9ee8f30c7a3a25e20e406247003f634ebe.tar.gz
kernel-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 <[email protected]> Signed-off-by: Mark Brown <[email protected]> Cc: [email protected]
Diffstat (limited to 'lib/dma-debug.c')
0 files changed, 0 insertions, 0 deletions