Files
i2som-imx-linux/drivers/base
Stephen Warren 7c31d609fd regmap: prevent division by zero in rbtree_show
commit c04c1b9ee8 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-04-13 09:13:55 -07:00
..