Messages in this thread | | | Subject | Re: [PATCH 3/7] devcg: Added infrastructure for rdma device cgroup. | From | Haggai Eran <> | Date | Tue, 8 Sep 2015 08:31:35 +0300 |
| |
On 07/09/2015 23:38, Parav Pandit wrote: > diff --git a/include/linux/device_cgroup.h b/include/linux/device_cgroup.h > index 8b64221..cdbdd60 100644 > --- a/include/linux/device_cgroup.h > +++ b/include/linux/device_cgroup.h > @@ -1,6 +1,57 @@ > +#ifndef _DEVICE_CGROUP > +#define _DEVICE_CGROUP > + > #include <linux/fs.h> > +#include <linux/cgroup.h> > +#include <linux/device_rdma_cgroup.h>
You cannot add this include line before adding the device_rdma_cgroup.h (added in patch 5). You should reorder the patches so that after each patch the kernel builds correctly.
I also noticed in patch 2 you add device_rdma_cgroup.o to the Makefile before it was added to the kernel.
Regards, Haggai
| |