Re: checkpatch warnings in sched.h
From: Luc Van Oostenryck
Date: Mon Sep 30 2019 - 12:30:58 EST
On Fri, Sep 20, 2019 at 02:34:46AM -0500, Steve French wrote:
> Any hints to get rid of the noisy warnings in sched.h that make it
> hard to spot real warnings:
>
> /include/linux/sched.h:609:43: error: bad integer constant expression
> /include/linux/sched.h:609:73: error: invalid named zero-width bitfield `value'
>
> I noticed mention of this on lkml but didn't see any suggested
> solution to this distracting warning
Hi,
This is now fixed in sparse's upstream.
Best regards,
-- Luc