On Sun, Sep 14, 2014 at 3:56 PM, Fabian Frederick <f...@skynet.be> wrote:
> Use container_of instead of casting first structure member. > > Signed-off-by: Fabian Frederick <f...@skynet.be> > --- > Compiled but untested. Patch applied. The existing code is unintelligible, so thanks a lot. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/