Re: [PATCH] rtlwifi: use s8 instead of char
From: Jes Sorensen
Date: Thu Jun 16 2016 - 12:07:38 EST
David Laight <David.Laight@xxxxxxxxxx> writes:
> From: Arnd Bergmann
>> On Wednesday, June 15, 2016 5:10:51 PM CEST Jes Sorensen wrote:
>> >
>> > Arnd,
>> >
>> > rtlwifi and rtl8xxxu are two distinct drivers managed by different
>> > people. I'd be really nice if you could split this into a per driver
>> > patch.
>> >
>> > That said, the use of char in rtl8xxxu is all as a flag indicator, so I
>> > don't think the s/char/s8/ conversion is justified. I used char rather
>> > than ugly bool to reduce the size of the struct.
>>
>> Makes sense, I'll resend without that change. If anything, the flag
>> should become u8, not s8 anyway.
>
> Does bool:8 work ?
Maybe, but bool is such an ugly datatype, so I'd rather use the other
ones.
Jes