Messages in this thread | | | Date | Wed, 4 Apr 2012 23:24:03 +0100 | From | Mark Brown <> | Subject | Re: [PATCH 6/6] regmap: prevent division by zero in rbtree_show |
| |
On Wed, Apr 04, 2012 at 03:48:33PM -0600, Stephen Warren wrote: > From: Stephen Warren <swarren@nvidia.com> > > 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. [unhandled content-type:application/pgp-signature] | |