lkml.org 
[lkml]   [2014]   [Nov]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 20/26 v5] seq_buf: Add seq_buf_can_fit() helper function
On Mon, 17 Nov 2014 16:35:32 -0800
Joe Perches <joe@perches.com> wrote:


> What "logic" does it place in one place and
> how does it matter?

Look at the next patch.

>
> I don't see it making mistakes more or less
> likely, I just see it being used to avoid
> setting the overflow state which seems like
> more of an error than anything else.
>
> Why avoid setting overflow at all?
>

It has nothing to do with overflow. Where did you get that from?

It has to do with updating the seq->len value or not.

-- Steve



\
 
 \ /
  Last update: 2014-11-18 02:41    [W:0.091 / U:1.344 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site