[PATCH v3 01/16] chardev: add helper function to register char devs with a struct device

Logan Gunthorpe logang at deltatee.com
Thu Mar 16 10:38:40 PDT 2017


> I don't know why kbuild didn't catch these before, but it looks like we
> really need to include device.h in cdev.h now to fix up these build
> warnings, right?

> I'll try that out and rebase the char-misc-testing tree in the morning
> to see if that fixes the build problems...


Yeah, I think the kbuild robot missed the series because the vger
mailing lists were dropping this series :(

I also don't know why my kernel config didn't catch this warning but
I reproduced and fixed it with the kbuild's config. I'll send an updated
patch which adds a include device.h line to cdev.h momentarily.

Logan



More information about the linux-mtd mailing list