[lkml]   [2015]   [Dec]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] posix-clock: Use an unsigned data type for a variable
>> Reuse the type from this poll call instead.
> Why use uint when the function return type it unsigned int?

Do you prefer to express the type modifier once more there?

> On the other hand, why is the function return type unsigned int
> when there is a return of a negative constant?

This implementation detail can trigger further software development
considerations, can't it?

This is a general issue for the exception handling in several functions.
Would you like to improve any more source code around it?


 \ /
  Last update: 2015-12-20 14:01    [W:0.056 / U:1.348 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site