[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5676A399.4080007@users.sourceforge.net>
Date: Sun, 20 Dec 2015 13:48:25 +0100
From: SF Markus Elfring <elfring@...rs.sourceforge.net>
To: Julia Lawall <julia.lawall@...6.fr>
Cc: LKML <linux-kernel@...r.kernel.org>,
kernel-janitors@...r.kernel.org,
Richard Cochran <richardcochran@...il.com>
Subject: Re: [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?
Regards,
Markus
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists