Re: [PATCH 6/6] regmap: prevent division by zero in rbtree_show

From: Mark Brown
Date: Wed Apr 04 2012 - 18:24:06 EST


On Wed, Apr 04, 2012 at 03:48:33PM -0600, Stephen Warren wrote:
> From: Stephen Warren <swarren@xxxxxxxxxx>
>
> If there are no nodes in the cache, nodes will be 0, so calculating
> "registers / nodes" will cause division by zero.

Applied, thanks. I'm not sure what this patch was generated against,
git am can't seem to find the blobs referenced.

Attachment: signature.asc
Description: Digital signature