Hi Luc, On 20 August 2017 at 23:16, Luc Van Oostenryck <luc.vanoostenryck@xxxxxxxxx> wrote: > During the expansion of a dereference, it's if the initializer > which corrrespond to the offset we're interested is a constant. > In which case this dereference can be avoided and the value > given in the initializer can be used instead. > > However, it's not enough to check for the offset since for bitfields > several are placed at the same offset. > Currently, the first initializer matching the offset is selected. > > Fix this by refusing such expansion if the constant value correspond > to a bitfield. > Thanks very much for the fix! Regards Dibyendu -- To unsubscribe from this list: send the line "unsubscribe linux-sparse" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html