lkml.org 
[lkml]   [2014]   [Nov]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v5 2/2] tracing: add additional marks to signal very large time
On Thu, 20 Nov 2014 15:38:46 +0900
Byungchul Park <byungchul.park@lge.com> wrote:


> > I think it's impossible since it's always true that 'd >= 0'.
> >
>
> If someone won't define "MARK(0ULL, ' ')", then i think it can happen. :)
>

Actually, remove the "MARK(0ULL, ' ')" and keep the return value as is.
But clean it up a little like this:

return (i == size) ? ' ' : mark[i].sym;

Notice the space between "size)" and "?"

-- Steve


\
 
 \ /
  Last update: 2014-11-20 15:21    [W:0.452 / U:0.120 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site