lkml.org 
[lkml]   [2017]   [Aug]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] netxen: fix incorrect loop counter decrement
From
From: Colin King <colin.king@canonical.com>
Date: Fri, 18 Aug 2017 14:12:06 +0100

> From: Colin Ian King <colin.king@canonical.com>
>
> The loop counter k is currently being decremented from zero which
> is incorrect. Fix this by incrementing k instead
>
> Detected by CoverityScan, CID#401847 ("Infinite loop")
>
> Fixes: 83f18a557c6d ("netxen_nic: fw dump support")
> Signed-off-by: Colin Ian King <colin.king@canonical.com>

Applied.

\
 
 \ /
  Last update: 2017-08-18 19:59    [W:0.050 / U:41.024 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site