lkml.org 
[lkml]   [2012]   [Apr]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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]
\
 
 \ /
  Last update: 2012-04-05 00:27    [W:0.064 / U:0.140 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site