mirror of
https://github.com/torvalds/linux.git
synced 2024-11-18 10:01:43 +00:00
c04c1b9ee8
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 |
||
---|---|---|
.. | ||
internal.h | ||
Kconfig | ||
Makefile | ||
regcache-lzo.c | ||
regcache-rbtree.c | ||
regcache.c | ||
regmap-debugfs.c | ||
regmap-i2c.c | ||
regmap-irq.c | ||
regmap-spi.c | ||
regmap.c |