Re: [patch] leds: renesas-tpu: cleanup a small type issue

walter harms
2013-05-30T08:59:35Z

Am 29.05.2013 23:15, schrieb Dan Carpenter:
> On Wed, May 29, 2013 at 07:34:39PM +0200, walter harms wrote:
>
>> int would be a more "natural" choice.
>>
>
> You should never use signed types for a bit field. That's just
> asking for a sign expansion bug.

my idea was more to use unsigned int instead of u16.
Personally i try to avoid this (artificial) types as much as possible,

re,
wh