Re: [PATCH] sched: use unsigned int for one-bit bitfield in sched_dl_entity
From: Xin Long
Date: Fri Nov 17 2017 - 03:36:12 EST
On Fri, Nov 17, 2017 at 4:20 PM, Luca Abeni <luca.abeni@xxxxxxxxxxxxxxx> wrote:
> Hi,
>
> On Fri, 17 Nov 2017 14:50:11 +0800
> Xin Long <lucien.xin@xxxxxxxxx> wrote:
>
>> This patch is to fix the 'dubious one-bit signed bitfield' error reported
>> by sparse, when using 'make C=2'.
>>
>> Fixes: 799ba82de01e ("sched/deadline: Use C bitfields for the state flags")
>> Signed-off-by: Xin Long <lucien.xin@xxxxxxxxx>
>
> I think this is very similar to patches already sent by Dan Carpenter
> and Matthew Wilcox. As for the previous patches, I think the change is
> ok.
okay then, just drop this one. Thanks for your reply.